#2E7319#2E7319
#2E7319 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.3% C 0.141 H 139.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2E7319 |
|---|---|
| RGB | rgb(46, 115, 25) |
| HSL | hsl(106, 64%, 27%) |
| HSV | hsv(106, 78%, 45%) |
| CMYK | cmyk(60%, 0%, 78.3%, 54.9%) |
| CIE-LAB | lab(42.63, -38.90, 40.55) |
| CIE-LCH | lch(42.63, 56.19, 133.81°) |
| OKLab | oklab(49.26% -0.107 0.0911) |
| OKLCH | oklch(49.26% 0.141 139.6) |
| XYZ | xyz(7.4326, 12.9119, 3.0201) |
| Luminance | 0.1291 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.87
Green
#008000
ΔE00 5.37
Darkish Green
#287C37
ΔE00 5.43
Dark Grass Green
#388004
ΔE00 5.49
Darkgreen
#006400
ΔE00 5.81
Darkolivegreen
#556B2F
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E7319 #5E1973
analogous
#5B7319 #2E7319 #197331
triadic
#2E7319 #192E73 #73192E
tetradic
#2E7319 #195B73 #5E1973 #733119
square
#2E7319 #195B73 #5E1973 #733119
split-complementary
#2E7319 #311973 #73195B
monochromatic
#0A1905 #1A410E #2E7319 #42A524 #59D334
Accessibility & contrast
On white
5.86
#2E7319 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#2E7319 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E7319
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E7319 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E7319 | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766806
Deuteranopia (green-blind)
#6E6223
Tritanopia (blue-blind)
#266F62
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2e7319; /* rgb */ color: rgb(46, 115, 25); /* oklch */ color: oklch(49.3% 0.141 139.6);
Tailwind
colors: {
custom: {
50: '#709c5d',
500: '#2e7319',
950: '#000000',
},
}SCSS
$custom: #2e7319; $custom-light: #709c5d; $custom-dark: #000000;
JSON
{
"hex": "#2e7319",
"rgb": {
"r": 46,
"g": 115,
"b": 25
},
"hsl": {
"h": 106,
"s": 64.286,
"l": 27.451
},
"oklch": {
"l": 0.49256,
"c": 0.1405,
"h": 139.6
},
"luminance": 0.12912
}Semantic roles & 50–950 ramp
primary
#2E7319
secondary
#9040A8
accent
#41E7C0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79