#2E7719#2E7719
#2E7719 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.4% C 0.146 H 139.8°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2E7719 |
|---|---|
| RGB | rgb(46, 119, 25) |
| HSL | hsl(107, 65%, 28%) |
| HSV | hsv(107, 79%, 47%) |
| CMYK | cmyk(61.3%, 0%, 79%, 53.3%) |
| CIE-LAB | lab(44.01, -40.46, 41.90) |
| CIE-LCH | lch(44.01, 58.25, 134.00°) |
| OKLab | oklab(50.4% -0.1112 0.0939) |
| OKLCH | oklch(50.4% 0.146 139.8) |
| XYZ | xyz(7.8987, 13.8440, 3.1754) |
| Luminance | 0.1384 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.48
Green
#008000
ΔE00 4.17
Dark Grass Green
#388004
ΔE00 4.27
Darkish Green
#287C37
ΔE00 5.04
Darkgreen
#006400
ΔE00 6.96
Forestgreen (CSS)
#228B22
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E7719 #621977
analogous
#5D7719 #2E7719 #197733
triadic
#2E7719 #192E77 #77192E
tetradic
#2E7719 #195D77 #621977 #773319
square
#2E7719 #195D77 #621977 #773319
split-complementary
#2E7719 #331977 #77195D
monochromatic
#0A1905 #1A440E #2E7719 #42AA24 #59D536
Accessibility & contrast
On white
5.57
#2E7719 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#2E7719 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E7719
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E7719 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E7719 | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6C04
Deuteranopia (green-blind)
#716623
Tritanopia (blue-blind)
#257365
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #2e7719; /* rgb */ color: rgb(46, 119, 25); /* oklch */ color: oklch(50.4% 0.146 139.8);
Tailwind
colors: {
custom: {
50: '#709f5d',
500: '#2e7719',
950: '#000000',
},
}SCSS
$custom: #2e7719; $custom-light: #709f5d; $custom-dark: #000000;
JSON
{
"hex": "#2e7719",
"rgb": {
"r": 46,
"g": 119,
"b": 25
},
"hsl": {
"h": 106.596,
"s": 65.278,
"l": 28.235
},
"oklch": {
"l": 0.50395,
"c": 0.14554,
"h": 139.8
},
"luminance": 0.13845
}Semantic roles & 50–950 ramp
primary
#2E7719
secondary
#9440AC
accent
#40E8C3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79