#2E5D17#2E5D17
#2E5D17 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.9% C 0.112 H 137.3°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2E5D17 |
|---|---|
| RGB | rgb(46, 93, 23) |
| HSL | hsl(100, 60%, 23%) |
| HSV | hsv(100, 75%, 36%) |
| CMYK | cmyk(50.5%, 0%, 75.3%, 63.5%) |
| CIE-LAB | lab(34.95, -29.83, 33.60) |
| CIE-LCH | lch(34.95, 44.93, 131.60°) |
| OKLab | oklab(42.92% -0.0826 0.0763) |
| OKLCH | oklch(42.92% 0.112 137.3) |
| XYZ | xyz(5.1956, 8.4711, 2.1718) |
| Luminance | 0.0847 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.89
Forest
#0B5509
ΔE00 4.29
Deep Green
#02590F
ΔE00 4.33
Navy Green
#35530A
ΔE00 4.46
Darkgreen
#006400
ΔE00 5.07
Camouflage Green
#4B6113
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E5D17 #46175D
analogous
#515D17 #2E5D17 #175D23
triadic
#2E5D17 #172E5D #5D172E
tetradic
#2E5D17 #17515D #46175D #5D2317
square
#2E5D17 #17515D #46175D #5D2317
split-complementary
#2E5D17 #23175D #5D1751
monochromatic
#0C1906 #162C0B #2E5D17 #468E23 #5FBF2F
Accessibility & contrast
On white
7.79
#2E5D17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#2E5D17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E5D17
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E5D17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E5D17 | 1.00 | 7.79 | 2.69 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#60550C
Deuteranopia (green-blind)
#5A511E
Tritanopia (blue-blind)
#2B594F
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2e5d17; /* rgb */ color: rgb(46, 93, 23); /* oklch */ color: oklch(42.9% 0.112 137.3);
Tailwind
colors: {
custom: {
50: '#6c8b59',
500: '#2e5d17',
950: '#000000',
},
}SCSS
$custom: #2e5d17; $custom-light: #6c8b59; $custom-dark: #000000;
JSON
{
"hex": "#2e5d17",
"rgb": {
"r": 46,
"g": 93,
"b": 23
},
"hsl": {
"h": 100.286,
"s": 60.345,
"l": 22.745
},
"oklch": {
"l": 0.42922,
"c": 0.11245,
"h": 137.3
},
"luminance": 0.08471
}Semantic roles & 50–950 ramp
primary
#2E5D17
secondary
#773C94
accent
#44E3AF
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79