#2C881F#2C881F
#2C881F is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.2% C 0.164 H 141.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2C881F |
|---|---|
| RGB | rgb(44, 136, 31) |
| HSL | hsl(113, 63%, 33%) |
| HSV | hsv(113, 77%, 53%) |
| CMYK | cmyk(67.6%, 0%, 77.2%, 46.7%) |
| CIE-LAB | lab(49.79, -46.82, 45.40) |
| CIE-LCH | lch(49.79, 65.22, 135.89°) |
| OKLab | oklab(55.17% -0.1278 0.1021) |
| OKLCH | oklch(55.17% 0.164 141.4) |
| XYZ | xyz(10.0897, 18.2417, 4.2853) |
| Luminance | 0.1824 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.30
Emerald Green
#028F1E
ΔE00 2.91
Tree Green
#2A7E19
ΔE00 3.56
Green
#008000
ΔE00 3.88
Dark Grass Green
#388004
ΔE00 3.88
True Green
#089404
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C881F #7B1F88
analogous
#61881F #2C881F #1F8846
triadic
#2C881F #1F2C88 #881F2C
tetradic
#2C881F #1F6188 #7B1F88 #88461F
square
#2C881F #1F6188 #7B1F88 #88461F
split-complementary
#2C881F #461F88 #881F61
monochromatic
#0C2408 #1C5614 #2C881F #3CBA2A #5DD64B
Accessibility & contrast
On white
4.52
#2C881F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#2C881F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2C881F
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C881F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2C881F | 1.00 | 4.52 | 4.65 | 4.65 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B08
Deuteranopia (green-blind)
#81742A
Tritanopia (blue-blind)
#1A8474
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #2c881f; /* rgb */ color: rgb(44, 136, 31); /* oklch */ color: oklch(55.2% 0.164 141.4);
Tailwind
colors: {
custom: {
50: '#73ac63',
500: '#2c881f',
950: '#000000',
},
}SCSS
$custom: #2c881f; $custom-light: #73ac63; $custom-dark: #000000;
JSON
{
"hex": "#2c881f",
"rgb": {
"r": 44,
"g": 136,
"b": 31
},
"hsl": {
"h": 112.571,
"s": 62.874,
"l": 32.745
},
"oklch": {
"l": 0.55173,
"c": 0.16363,
"h": 141.4
},
"luminance": 0.18243
}Semantic roles & 50–950 ramp
primary
#2C881F
secondary
#AB4AB9
accent
#42E6D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A