Scroll for details

Green Pea

Hex Color

Green Pea Color Values & Conversions

HEX

#286850

RGB

rgb(40, 104, 80)

HSL

hsl(158°, 44%, 28%)

CMYK

cmyk(62%, 0%, 23%, 59%)

Code Snippets

CSS Click to copy
background-color: #286850;
Tailwind CSS Click to copy
className="bg-[#286850]"
SCSS Variable Click to copy
$primary-color: #286850;
JavaScript Click to copy
const color = '#286850';
Flutter Click to copy
Color(0xFF286850)
Swift (UIKit) Click to copy
UIColor(hex: "#286850")
Swift (SwiftUI) Click to copy
Color(hex: "#286850")
Android (Kotlin) Click to copy
Color.parseColor("#286850")

Accessibility (WCAG)

On White Background PASS

6.59

AA Normal Text

On Black Background FAIL

3.18

AA Large Text

Shades & Tints

Frequently Asked Questions About Green Pea

What is the RGB for Green Pea?

The RGB value for Green Pea is 40, 104, 80. In CSS, you can use it as rgb(40, 104, 80) or the hex code #286850.

What is the Hex code for Green Pea?

The Hex code for Green Pea is #286850. Hex codes are widely used in web design and are the most common way to represent colors in HTML and CSS.

How to convert Green Pea RGB to CMYK?

The CMYK value for Green Pea (RGB 40, 104, 80) is 62, 0, 23, 59. This conversion is essential when preparing designs for print, as printers use CMYK ink instead of RGB light.

What is the HSL value for Green Pea?

The HSL value for Green Pea is 158°, 44%, 28%. HSL (Hue, Saturation, Lightness) is often more intuitive for designers as it represents colors in a way that's closer to human perception.

What does RGB stand for?

RGB stands for Red, Green, and Blue. It's an additive color model used in digital displays where colors are created by combining different intensities of red, green, and blue light. The color Green Pea (#286850) is composed of RGB values: 40, 104, 80, where each value ranges from 0 to 255, representing the intensity of each color channel.

What is the difference between RGB and CMYK?

RGB is an additive color model used for digital screens (monitors, TVs, smartphones), where colors are created by adding light. CMYK (Cyan, Magenta, Yellow, Key/Black) is a subtractive color model used for printing, where colors are created by absorbing light with ink.

For printing Green Pea, you should use the CMYK value (62, 0, 23, 59) instead of RGB (40, 104, 80) to ensure color accuracy. RGB colors may appear different when printed because screens emit light while paper reflects it.

When should I use RGB vs CMYK?

Use RGB for:
  • • Website design
  • • Digital graphics
  • • Social media images
  • • Screen presentations
  • • Mobile apps
Use CMYK for:
  • • Print materials
  • • Business cards
  • • Brochures & flyers
  • • Magazines
  • • Product packaging

Related Colors & Complementary Palette

Complementary Color

The complementary color sits opposite on the color wheel and creates maximum contrast.

#67283F

Click to view details

Analogous Colors

Colors adjacent on the color wheel that create harmonious combinations.

Triadic Colors

Three colors evenly spaced on the color wheel for vibrant, balanced palettes.

© 2025 ViewRGB.com - The fastest way to view any color

Made with ❤️ for designers and developers