#2C862F#2C862F
#2C862F is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.8% C 0.150 H 143.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2C862F |
|---|---|
| RGB | rgb(44, 134, 47) |
| HSL | hsl(122, 51%, 35%) |
| HSV | hsv(122, 67%, 53%) |
| CMYK | cmyk(67.2%, 0%, 64.9%, 47.5%) |
| CIE-LAB | lab(49.24, -44.57, 38.14) |
| CIE-LCH | lch(49.24, 58.66, 139.44°) |
| OKLab | oklab(54.76% -0.1209 0.0889) |
| OKLCH | oklch(54.76% 0.15 143.7) |
| XYZ | xyz(10.0763, 17.7899, 5.5915) |
| Luminance | 0.1779 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.68
Tree Green
#2A7E19
ΔE00 3.72
Emerald Green
#028F1E
ΔE00 4.13
Darkish Green
#287C37
ΔE00 4.45
Green
#008000
ΔE00 4.77
Kelley Green
#009337
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C862F #862C83
analogous
#56862C #2C862F #2C865C
triadic
#2C862F #2F2C86 #862F2C
tetradic
#2C862F #2C5686 #862C83 #865C2C
square
#2C862F #2C5686 #862C83 #865C2C
split-complementary
#2C862F #5C2C86 #862C56
monochromatic
#0E2A0F #1D581F #2C862F #3BB43F #61CB65
Accessibility & contrast
On white
4.61
#2C862F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#2C862F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2C862F
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C862F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C862F | 1.00 | 4.61 | 4.56 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897A25
Deuteranopia (green-blind)
#7E7236
Tritanopia (blue-blind)
#168274
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #2c862f; /* rgb */ color: rgb(44, 134, 47); /* oklch */ color: oklch(54.8% 0.150 143.7);
Tailwind
colors: {
custom: {
50: '#71aa6b',
500: '#2c862f',
950: '#000000',
},
}SCSS
$custom: #2c862f; $custom-light: #71aa6b; $custom-dark: #000000;
JSON
{
"hex": "#2c862f",
"rgb": {
"r": 44,
"g": 134,
"b": 47
},
"hsl": {
"h": 122,
"s": 50.562,
"l": 34.902
},
"oklch": {
"l": 0.54761,
"c": 0.15006,
"h": 143.7
},
"luminance": 0.17791
}Semantic roles & 50–950 ramp
primary
#2C862F
secondary
#B15CAF
accent
#4ED5DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A