#2D5F18#2D5F18
#2D5F18 is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.5% C 0.115 H 138.0°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2D5F18 |
|---|---|
| RGB | rgb(45, 95, 24) |
| HSL | hsl(102, 60%, 23%) |
| HSV | hsv(102, 75%, 37%) |
| CMYK | cmyk(52.6%, 0%, 74.7%, 62.7%) |
| CIE-LAB | lab(35.61, -30.97, 33.84) |
| CIE-LCH | lch(35.61, 45.87, 132.47°) |
| OKLab | oklab(43.46% -0.0856 0.0769) |
| OKLCH | oklch(43.46% 0.115 138) |
| XYZ | xyz(5.3391, 8.8079, 2.2827) |
| Luminance | 0.0881 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 4.10
Deep Green
#02590F
ΔE00 4.26
Forest
#0B5509
ΔE00 4.46
Darkgreen
#006400
ΔE00 4.56
Navy Green
#35530A
ΔE00 5.15
Camouflage Green
#4B6113
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D5F18 #4A185F
analogous
#505F18 #2D5F18 #185F26
triadic
#2D5F18 #182D5F #5F182D
tetradic
#2D5F18 #18505F #4A185F #5F2618
square
#2D5F18 #18505F #4A185F #5F2618
split-complementary
#2D5F18 #26185F #5F1850
monochromatic
#0C1806 #162E0C #2D5F18 #449024 #5BC131
Accessibility & contrast
On white
7.60
#2D5F18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#2D5F18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D5F18
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D5F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D5F18 | 1.00 | 7.60 | 2.76 | 7.60 |
| #FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#62560D
Deuteranopia (green-blind)
#5C521F
Tritanopia (blue-blind)
#295B51
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2d5f18; /* rgb */ color: rgb(45, 95, 24); /* oklch */ color: oklch(43.5% 0.115 138.0);
Tailwind
colors: {
custom: {
50: '#6b8d59',
500: '#2d5f18',
950: '#000000',
},
}SCSS
$custom: #2d5f18; $custom-light: #6b8d59; $custom-dark: #000000;
JSON
{
"hex": "#2d5f18",
"rgb": {
"r": 45,
"g": 95,
"b": 24
},
"hsl": {
"h": 102.254,
"s": 59.664,
"l": 23.333
},
"oklch": {
"l": 0.43459,
"c": 0.11507,
"h": 138
},
"luminance": 0.08808
}Semantic roles & 50–950 ramp
primary
#2D5F18
secondary
#7B3D95
accent
#45E3B4
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79