#2C8F1F#2C8F1F
#2C8F1F is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.1% C 0.172 H 141.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2C8F1F |
|---|---|
| RGB | rgb(44, 143, 31) |
| HSL | hsl(113, 64%, 34%) |
| HSV | hsv(113, 78%, 56%) |
| CMYK | cmyk(69.2%, 0%, 78.3%, 43.9%) |
| CIE-LAB | lab(52.15, -49.30, 47.72) |
| CIE-LCH | lch(52.15, 68.61, 135.93°) |
| OKLab | oklab(57.13% -0.1345 0.107) |
| OKLCH | oklch(57.13% 0.172 141.5) |
| XYZ | xyz(11.1079, 20.2782, 4.6247) |
| Luminance | 0.2028 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.84
Emerald Green
#028F1E
ΔE00 1.89
True Green
#089404
ΔE00 2.61
Irish Green
#019529
ΔE00 2.92
Kelley Green
#009337
ΔE00 4.17
Grass Green
#3F9B0B
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C8F1F #821F8F
analogous
#648F1F #2C8F1F #1F8F4A
triadic
#2C8F1F #1F2C8F #8F1F2C
tetradic
#2C8F1F #1F648F #821F8F #8F4A1F
square
#2C8F1F #1F648F #821F8F #8F4A1F
split-complementary
#2C8F1F #4A1F8F #8F1F64
monochromatic
#0D2A09 #1D5D14 #2C8F1F #3BC12A #5FD94F
Accessibility & contrast
On white
4.15
#2C8F1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#2C8F1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2C8F1F
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C8F1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2C8F1F | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938104
Deuteranopia (green-blind)
#87792C
Tritanopia (blue-blind)
#168A7A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #2c8f1f; /* rgb */ color: rgb(44, 143, 31); /* oklch */ color: oklch(57.1% 0.172 141.5);
Tailwind
colors: {
custom: {
50: '#74b164',
500: '#2c8f1f',
950: '#000000',
},
}SCSS
$custom: #2c8f1f; $custom-light: #74b164; $custom-dark: #000000;
JSON
{
"hex": "#2c8f1f",
"rgb": {
"r": 44,
"g": 143,
"b": 31
},
"hsl": {
"h": 113.036,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.57131,
"c": 0.17187,
"h": 141.5
},
"luminance": 0.20279
}Semantic roles & 50–950 ramp
primary
#2C8F1F
secondary
#AF4EBC
accent
#40E7D4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A