#2D5F17#2D5F17
#2D5F17 is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.5% C 0.116 H 137.9°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2D5F17 |
|---|---|
| RGB | rgb(45, 95, 23) |
| HSL | hsl(102, 61%, 23%) |
| HSV | hsv(102, 76%, 37%) |
| CMYK | cmyk(52.6%, 0%, 75.8%, 62.7%) |
| CIE-LAB | lab(35.60, -31.06, 34.26) |
| CIE-LCH | lch(35.60, 46.25, 132.20°) |
| OKLab | oklab(43.45% -0.0859 0.0777) |
| OKLCH | oklch(43.45% 0.116 137.9) |
| XYZ | xyz(5.3289, 8.8038, 2.2289) |
| Luminance | 0.0880 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 4.25
Deep Green
#02590F
ΔE00 4.29
Forest
#0B5509
ΔE00 4.47
Darkgreen
#006400
ΔE00 4.50
Navy Green
#35530A
ΔE00 5.09
Camouflage Green
#4B6113
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D5F17 #49175F
analogous
#515F17 #2D5F17 #175F25
triadic
#2D5F17 #172D5F #5F172D
tetradic
#2D5F17 #17515F #49175F #5F2517
square
#2D5F17 #17515F #49175F #5F2517
split-complementary
#2D5F17 #25175F #5F1751
monochromatic
#0C1906 #162E0B #2D5F17 #449023 #5CC22F
Accessibility & contrast
On white
7.61
#2D5F17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#2D5F17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D5F17
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D5F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D5F17 | 1.00 | 7.61 | 2.76 | 7.61 |
| #FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#62560B
Deuteranopia (green-blind)
#5C521E
Tritanopia (blue-blind)
#295B51
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2d5f17; /* rgb */ color: rgb(45, 95, 23); /* oklch */ color: oklch(43.5% 0.116 137.9);
Tailwind
colors: {
custom: {
50: '#6b8d59',
500: '#2d5f17',
950: '#000000',
},
}SCSS
$custom: #2d5f17; $custom-light: #6b8d59; $custom-dark: #000000;
JSON
{
"hex": "#2d5f17",
"rgb": {
"r": 45,
"g": 95,
"b": 23
},
"hsl": {
"h": 101.667,
"s": 61.017,
"l": 23.137
},
"oklch": {
"l": 0.4345,
"c": 0.11579,
"h": 137.9
},
"luminance": 0.08804
}Semantic roles & 50–950 ramp
primary
#2D5F17
secondary
#7A3C96
accent
#44E4B3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79