#2E5F17#2E5F17
#2E5F17 is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.5% C 0.115 H 137.5°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2E5F17 |
|---|---|
| RGB | rgb(46, 95, 23) |
| HSL | hsl(101, 61%, 23%) |
| HSV | hsv(101, 76%, 37%) |
| CMYK | cmyk(51.6%, 0%, 75.8%, 62.7%) |
| CIE-LAB | lab(35.65, -30.72, 34.32) |
| CIE-LCH | lch(35.65, 46.06, 131.83°) |
| OKLab | oklab(43.5% -0.085 0.0778) |
| OKLCH | oklch(43.5% 0.115 137.5) |
| XYZ | xyz(5.3734, 8.8268, 2.2310) |
| Luminance | 0.0883 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 4.29
Deep Green
#02590F
ΔE00 4.44
Forest
#0B5509
ΔE00 4.59
Darkgreen
#006400
ΔE00 4.61
Navy Green
#35530A
ΔE00 4.99
Camouflage Green
#4B6113
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E5F17 #48175F
analogous
#525F17 #2E5F17 #175F24
triadic
#2E5F17 #172E5F #5F172E
tetradic
#2E5F17 #17525F #48175F #5F2417
square
#2E5F17 #17525F #48175F #5F2417
split-complementary
#2E5F17 #24175F #5F1752
monochromatic
#0C1906 #162E0B #2E5F17 #469023 #5EC22F
Accessibility & contrast
On white
7.59
#2E5F17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#2E5F17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E5F17
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E5F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E5F17 | 1.00 | 7.59 | 2.77 | 7.59 |
| #FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#62560B
Deuteranopia (green-blind)
#5C521E
Tritanopia (blue-blind)
#2B5B51
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2e5f17; /* rgb */ color: rgb(46, 95, 23); /* oklch */ color: oklch(43.5% 0.115 137.5);
Tailwind
colors: {
custom: {
50: '#6c8d59',
500: '#2e5f17',
950: '#000000',
},
}SCSS
$custom: #2e5f17; $custom-light: #6c8d59; $custom-dark: #000000;
JSON
{
"hex": "#2e5f17",
"rgb": {
"r": 46,
"g": 95,
"b": 23
},
"hsl": {
"h": 100.833,
"s": 61.017,
"l": 23.137
},
"oklch": {
"l": 0.43499,
"c": 0.11524,
"h": 137.5
},
"luminance": 0.08827
}Semantic roles & 50–950 ramp
primary
#2E5F17
secondary
#793C96
accent
#44E4B1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79