#2D5D1F#2D5D1F
#2D5D1F is a dark, moderate green. Relative luminance 0.085; OKLCH L 43.0% C 0.106 H 139.3°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2D5D1F |
|---|---|
| RGB | rgb(45, 93, 31) |
| HSL | hsl(106, 50%, 24%) |
| HSV | hsv(106, 67%, 36%) |
| CMYK | cmyk(51.6%, 0%, 66.7%, 63.5%) |
| CIE-LAB | lab(34.97, -29.37, 29.87) |
| CIE-LCH | lch(34.97, 41.89, 134.52°) |
| OKLab | oklab(42.96% -0.0807 0.0695) |
| OKLCH | oklch(42.96% 0.107 139.3) |
| XYZ | xyz(5.2437, 8.4852, 2.6575) |
| Luminance | 0.0849 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.44
Deep Green
#02590F
ΔE00 4.20
Forest
#0B5509
ΔE00 4.39
Pine
#2B5D34
ΔE00 5.26
Navy Green
#35530A
ΔE00 5.33
Darkgreen
#006400
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D5D1F #4F1F5D
analogous
#4C5D1F #2D5D1F #1F5D30
triadic
#2D5D1F #1F2D5D #5D1F2D
tetradic
#2D5D1F #1F4C5D #4F1F5D #5D301F
square
#2D5D1F #1F4C5D #4F1F5D #5D301F
split-complementary
#2D5D1F #301F5D #5D1F4C
monochromatic
#0B1708 #172F10 #2D5D1F #438B2E #59B93E
Accessibility & contrast
On white
7.79
#2D5D1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#2D5D1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D5D1F
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D5D1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D5D1F | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605518
Deuteranopia (green-blind)
#595124
Tritanopia (blue-blind)
#295A50
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2d5d1f; /* rgb */ color: rgb(45, 93, 31); /* oklch */ color: oklch(43.0% 0.106 139.3);
Tailwind
colors: {
custom: {
50: '#6b8b5d',
500: '#2d5d1f',
950: '#000000',
},
}SCSS
$custom: #2d5d1f; $custom-light: #6b8b5d; $custom-dark: #000000;
JSON
{
"hex": "#2d5d1f",
"rgb": {
"r": 45,
"g": 93,
"b": 31
},
"hsl": {
"h": 106.452,
"s": 50,
"l": 24.314
},
"oklch": {
"l": 0.42956,
"c": 0.1065,
"h": 139.3
},
"luminance": 0.08486
}Semantic roles & 50–950 ramp
primary
#2D5D1F
secondary
#814692
accent
#4EDABA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79