#2D5F2D#2D5F2D
#2D5F2D is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.7% C 0.096 H 143.7°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2D5F2D |
|---|---|
| RGB | rgb(45, 95, 45) |
| HSL | hsl(120, 36%, 27%) |
| HSV | hsv(120, 53%, 37%) |
| CMYK | cmyk(52.6%, 0%, 52.6%, 62.7%) |
| CIE-LAB | lab(35.85, -28.39, 23.42) |
| CIE-LCH | lch(35.85, 36.80, 140.47°) |
| OKLab | oklab(43.73% -0.0772 0.0567) |
| OKLCH | oklch(43.73% 0.096 143.7) |
| XYZ | xyz(5.6478, 8.9313, 3.9084) |
| Luminance | 0.0893 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.82
Pine
#2B5D34
ΔE00 2.44
Hunter Green
#355E3B
ΔE00 4.09
Spruce
#0A5F38
ΔE00 5.27
Deep Green
#02590F
ΔE00 5.73
Forest
#0B5509
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D5F2D #5F2D5F
analogous
#465F2D #2D5F2D #2D5F46
triadic
#2D5F2D #2D2D5F #5F2D2D
tetradic
#2D5F2D #2D465F #5F2D5F #5F462D
square
#2D5F2D #2D465F #5F2D5F #5F462D
split-complementary
#2D5F2D #462D5F #5F2D46
monochromatic
#0A150A #193519 #2D5F2D #418941 #57AF57
Accessibility & contrast
On white
7.54
#2D5F2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#2D5F2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D5F2D
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D5F2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D5F2D | 1.00 | 7.54 | 2.79 | 7.54 |
| #FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615729
Deuteranopia (green-blind)
#5A5330
Tritanopia (blue-blind)
#265D53
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2d5f2d; /* rgb */ color: rgb(45, 95, 45); /* oklch */ color: oklch(43.7% 0.096 143.7);
Tailwind
colors: {
custom: {
50: '#6a8d67',
500: '#2d5f2d',
950: '#000000',
},
}SCSS
$custom: #2d5f2d; $custom-light: #6a8d67; $custom-dark: #000000;
JSON
{
"hex": "#2d5f2d",
"rgb": {
"r": 45,
"g": 95,
"b": 45
},
"hsl": {
"h": 120,
"s": 35.714,
"l": 27.451
},
"oklch": {
"l": 0.43734,
"c": 0.09578,
"h": 143.7
},
"luminance": 0.08932
}Semantic roles & 50–950 ramp
primary
#2D5F2D
secondary
#915791
accent
#5CCCCC
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070C06
muted
#7A7D7A