#2C862B#2C862B
#2C862B is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.153 H 143.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2C862B |
|---|---|
| RGB | rgb(44, 134, 43) |
| HSL | hsl(119, 51%, 35%) |
| HSV | hsv(119, 68%, 53%) |
| CMYK | cmyk(67.2%, 0%, 67.9%, 47.5%) |
| CIE-LAB | lab(49.20, -45.01, 39.92) |
| CIE-LCH | lch(49.20, 60.16, 138.43°) |
| OKLab | oklab(54.72% -0.1223 0.0922) |
| OKLCH | oklch(54.72% 0.153 143) |
| XYZ | xyz(9.9993, 17.7591, 5.1859) |
| Luminance | 0.1776 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.27
Tree Green
#2A7E19
ΔE00 3.35
Emerald Green
#028F1E
ΔE00 3.83
Green
#008000
ΔE00 4.32
Dark Grass Green
#388004
ΔE00 4.79
Darkish Green
#287C37
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C862B #852B86
analogous
#59862B #2C862B #2B8658
triadic
#2C862B #2B2C86 #862B2C
tetradic
#2C862B #2B5986 #852B86 #86582B
square
#2C862B #2B5986 #852B86 #86582B
split-complementary
#2C862B #582B86 #862B59
monochromatic
#0E290D #1D581C #2C862B #3BB43A #61CC60
Accessibility & contrast
On white
4.61
#2C862B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#2C862B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2C862B
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C862B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C862B | 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)
#89791F
Deuteranopia (green-blind)
#7E7233
Tritanopia (blue-blind)
#188273
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #2c862b; /* rgb */ color: rgb(44, 134, 43); /* oklch */ color: oklch(54.7% 0.153 143.0);
Tailwind
colors: {
custom: {
50: '#72aa69',
500: '#2c862b',
950: '#000000',
},
}SCSS
$custom: #2c862b; $custom-light: #72aa69; $custom-dark: #000000;
JSON
{
"hex": "#2c862b",
"rgb": {
"r": 44,
"g": 134,
"b": 43
},
"hsl": {
"h": 119.341,
"s": 51.412,
"l": 34.706
},
"oklch": {
"l": 0.54717,
"c": 0.15316,
"h": 143
},
"luminance": 0.1776
}Semantic roles & 50–950 ramp
primary
#2C862B
secondary
#B15BB2
accent
#4DDBD9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A