#2E971F#2E971F
#2E971F is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.4% C 0.180 H 141.4°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2E971F |
|---|---|
| RGB | rgb(46, 151, 31) |
| HSL | hsl(113, 66%, 36%) |
| HSV | hsv(113, 79%, 59%) |
| CMYK | cmyk(69.5%, 0%, 79.5%, 40.8%) |
| CIE-LAB | lab(54.88, -51.65, 50.38) |
| CIE-LCH | lch(54.88, 72.15, 135.71°) |
| OKLab | oklab(59.41% -0.141 0.1125) |
| OKLCH | oklch(59.41% 0.18 141.4) |
| XYZ | xyz(12.4400, 22.8117, 5.0436) |
| Luminance | 0.2281 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
True Green
#089404
ΔE00 2.23
Irish Green
#019529
ΔE00 2.80
Grass Green
#3F9B0B
ΔE00 2.96
Grassy Green
#419C03
ΔE00 3.55
Emerald Green
#028F1E
ΔE00 3.66
Forestgreen (CSS)
#228B22
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E971F #881F97
analogous
#6A971F #2E971F #1F974C
triadic
#2E971F #1F2E97 #971F2E
tetradic
#2E971F #1F6A97 #881F97 #974C1F
square
#2E971F #1F6A97 #881F97 #974C1F
split-complementary
#2E971F #4C1F97 #971F6A
monochromatic
#0F310A #1F6415 #2E971F #3DCA29 #65DC54
Accessibility & contrast
On white
3.78
#2E971F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.56
#2E971F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2E971F
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E971F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2E971F | 1.00 | 3.78 | 5.56 | 5.56 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#8F802D
Tritanopia (blue-blind)
#169281
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #2e971f; /* rgb */ color: rgb(46, 151, 31); /* oklch */ color: oklch(59.4% 0.180 141.4);
Tailwind
colors: {
custom: {
50: '#77b765',
500: '#2e971f',
950: '#000000',
},
}SCSS
$custom: #2e971f; $custom-light: #77b765; $custom-dark: #000000;
JSON
{
"hex": "#2e971f",
"rgb": {
"r": 46,
"g": 151,
"b": 31
},
"hsl": {
"h": 112.5,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.59407,
"c": 0.18037,
"h": 141.4
},
"luminance": 0.22813
}Semantic roles & 50–950 ramp
primary
#2E971F
secondary
#B252BF
accent
#3FE9D4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A