#2E7916#2E7916
#2E7916 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.150 H 139.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2E7916 |
|---|---|
| RGB | rgb(46, 121, 22) |
| HSL | hsl(105, 69%, 28%) |
| HSV | hsv(105, 82%, 47%) |
| CMYK | cmyk(62%, 0%, 81.8%, 52.5%) |
| CIE-LAB | lab(44.68, -41.43, 43.59) |
| CIE-LCH | lch(44.68, 60.14, 133.55°) |
| OKLab | oklab(50.94% -0.1139 0.097) |
| OKLCH | oklch(50.94% 0.15 139.6) |
| XYZ | xyz(8.1086, 14.3128, 3.0942) |
| Luminance | 0.1431 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.79
Dark Grass Green
#388004
ΔE00 3.47
Green
#008000
ΔE00 3.52
Darkish Green
#287C37
ΔE00 5.31
Forestgreen (CSS)
#228B22
ΔE00 6.42
Darkgreen
#006400
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E7916 #611679
analogous
#5F7916 #2E7916 #167930
triadic
#2E7916 #162E79 #79162E
tetradic
#2E7916 #165F79 #611679 #793016
square
#2E7916 #165F79 #611679 #793016
split-complementary
#2E7916 #301679 #79165F
monochromatic
#0A1A05 #1A450D #2E7916 #42AD1F #59D930
Accessibility & contrast
On white
5.44
#2E7916 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#2E7916 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E7916
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E7916 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E7916 | 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: #2e7916; /* rgb */ color: rgb(46, 121, 22); /* oklch */ color: oklch(50.9% 0.150 139.6);
Tailwind
colors: {
custom: {
50: '#71a05c',
500: '#2e7916',
950: '#000000',
},
}SCSS
$custom: #2e7916; $custom-light: #71a05c; $custom-dark: #000000;
JSON
{
"hex": "#2e7916",
"rgb": {
"r": 46,
"g": 121,
"b": 22
},
"hsl": {
"h": 105.455,
"s": 69.231,
"l": 28.039
},
"oklch": {
"l": 0.50943,
"c": 0.14964,
"h": 139.6
},
"luminance": 0.14314
}Semantic roles & 50–950 ramp
primary
#2E7916
secondary
#933DAE
accent
#3CECC1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F04
muted
#7B7E79