#2C862A#2C862A
#2C862A is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.154 H 142.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2C862A |
|---|---|
| RGB | rgb(44, 134, 42) |
| HSL | hsl(119, 52%, 35%) |
| HSV | hsv(119, 69%, 53%) |
| CMYK | cmyk(67.2%, 0%, 68.7%, 47.5%) |
| CIE-LAB | lab(49.19, -45.11, 40.35) |
| CIE-LCH | lch(49.19, 60.53, 138.19°) |
| OKLab | oklab(54.71% -0.1226 0.093) |
| OKLCH | oklch(54.71% 0.154 142.8) |
| XYZ | xyz(9.9811, 17.7518, 5.0905) |
| Luminance | 0.1775 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.18
Tree Green
#2A7E19
ΔE00 3.27
Emerald Green
#028F1E
ΔE00 3.77
Green
#008000
ΔE00 4.21
Dark Grass Green
#388004
ΔE00 4.67
Darkish Green
#287C37
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C862A #842A86
analogous
#5A862A #2C862A #2A8656
triadic
#2C862A #2A2C86 #862A2C
tetradic
#2C862A #2A5A86 #842A86 #86562A
square
#2C862A #2A5A86 #842A86 #86562A
split-complementary
#2C862A #562A86 #862A5A
monochromatic
#0D290D #1D571B #2C862A #3BB539 #60CD5E
Accessibility & contrast
On white
4.61
#2C862A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#2C862A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2C862A
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C862A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C862A | 1.00 | 4.61 | 4.55 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89791E
Deuteranopia (green-blind)
#7E7232
Tritanopia (blue-blind)
#188273
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #2c862a; /* rgb */ color: rgb(44, 134, 42); /* oklch */ color: oklch(54.7% 0.154 142.8);
Tailwind
colors: {
custom: {
50: '#72aa68',
500: '#2c862a',
950: '#000000',
},
}SCSS
$custom: #2c862a; $custom-light: #72aa68; $custom-dark: #000000;
JSON
{
"hex": "#2c862a",
"rgb": {
"r": 44,
"g": 134,
"b": 42
},
"hsl": {
"h": 118.696,
"s": 52.273,
"l": 34.51
},
"oklch": {
"l": 0.54707,
"c": 0.15392,
"h": 142.8
},
"luminance": 0.17753
}Semantic roles & 50–950 ramp
primary
#2C862A
secondary
#B05AB2
accent
#4CDCD9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A