#2E7917#2E7917
#2E7917 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.149 H 139.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2E7917 |
|---|---|
| RGB | rgb(46, 121, 23) |
| HSL | hsl(106, 68%, 28%) |
| HSV | hsv(106, 81%, 47%) |
| CMYK | cmyk(62%, 0%, 81%, 52.5%) |
| CIE-LAB | lab(44.68, -41.37, 43.26) |
| CIE-LCH | lch(44.68, 59.85, 133.72°) |
| OKLab | oklab(50.95% -0.1137 0.0965) |
| OKLCH | oklch(50.95% 0.149 139.7) |
| XYZ | xyz(8.1184, 14.3167, 3.1460) |
| Luminance | 0.1432 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.78
Dark Grass Green
#388004
ΔE00 3.55
Green
#008000
ΔE00 3.55
Darkish Green
#287C37
ΔE00 5.20
Forestgreen (CSS)
#228B22
ΔE00 6.41
Darkgreen
#006400
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E7917 #621779
analogous
#5F7917 #2E7917 #177931
triadic
#2E7917 #172E79 #79172E
tetradic
#2E7917 #175F79 #621779 #793117
square
#2E7917 #175F79 #621779 #793117
split-complementary
#2E7917 #311779 #79175F
monochromatic
#0A1A05 #1A460D #2E7917 #42AC21 #59D832
Accessibility & contrast
On white
5.44
#2E7917 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#2E7917 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E7917
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E7917 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E7917 | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D6D00
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#257567
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #2e7917; /* rgb */ color: rgb(46, 121, 23); /* oklch */ color: oklch(50.9% 0.149 139.7);
Tailwind
colors: {
custom: {
50: '#71a05d',
500: '#2e7917',
950: '#000000',
},
}SCSS
$custom: #2e7917; $custom-light: #71a05d; $custom-dark: #000000;
JSON
{
"hex": "#2e7917",
"rgb": {
"r": 46,
"g": 121,
"b": 23
},
"hsl": {
"h": 105.918,
"s": 68.056,
"l": 28.235
},
"oklch": {
"l": 0.50949,
"c": 0.14912,
"h": 139.7
},
"luminance": 0.14317
}Semantic roles & 50–950 ramp
primary
#2E7917
secondary
#943EAE
accent
#3DEBC2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F04
muted
#7B7E79