#2C8D1F#2C8D1F
#2C8D1F is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.170 H 141.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2C8D1F |
|---|---|
| RGB | rgb(44, 141, 31) |
| HSL | hsl(113, 64%, 34%) |
| HSV | hsv(113, 78%, 55%) |
| CMYK | cmyk(68.8%, 0%, 78%, 44.7%) |
| CIE-LAB | lab(51.48, -48.60, 47.06) |
| CIE-LCH | lch(51.48, 67.65, 135.92°) |
| OKLab | oklab(56.57% -0.1326 0.1056) |
| OKLCH | oklch(56.57% 0.17 141.5) |
| XYZ | xyz(10.8103, 19.6830, 4.5256) |
| Luminance | 0.1968 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.28
Emerald Green
#028F1E
ΔE00 1.92
True Green
#089404
ΔE00 3.14
Irish Green
#019529
ΔE00 3.36
Kelley Green
#009337
ΔE00 4.33
Dark Grass Green
#388004
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C8D1F #801F8D
analogous
#638D1F #2C8D1F #1F8D49
triadic
#2C8D1F #1F2C8D #8D1F2C
tetradic
#2C8D1F #1F638D #801F8D #8D491F
square
#2C8D1F #1F638D #801F8D #8D491F
split-complementary
#2C8D1F #491F8D #8D1F63
monochromatic
#0D2909 #1C5B14 #2C8D1F #3CBF2A #5FD84E
Accessibility & contrast
On white
4.25
#2C8D1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#2C8D1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2C8D1F
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C8D1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2C8D1F | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#917F05
Deuteranopia (green-blind)
#85782B
Tritanopia (blue-blind)
#178878
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #2c8d1f; /* rgb */ color: rgb(44, 141, 31); /* oklch */ color: oklch(56.6% 0.170 141.5);
Tailwind
colors: {
custom: {
50: '#74af63',
500: '#2c8d1f',
950: '#000000',
},
}SCSS
$custom: #2c8d1f; $custom-light: #74af63; $custom-dark: #000000;
JSON
{
"hex": "#2c8d1f",
"rgb": {
"r": 44,
"g": 141,
"b": 31
},
"hsl": {
"h": 112.909,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.56573,
"c": 0.16954,
"h": 141.5
},
"luminance": 0.19684
}Semantic roles & 50–950 ramp
primary
#2C8D1F
secondary
#AE4DBB
accent
#41E7D3
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091006
muted
#7B7F7A