#2D571F#2D571F
#2D571F is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.2% C 0.097 H 138.6°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2D571F |
|---|---|
| RGB | rgb(45, 87, 31) |
| HSL | hsl(105, 47%, 23%) |
| HSV | hsv(105, 64%, 34%) |
| CMYK | cmyk(48.3%, 0%, 64.4%, 65.9%) |
| CIE-LAB | lab(32.86, -26.59, 27.48) |
| CIE-LCH | lch(32.86, 38.24, 134.06°) |
| OKLab | oklab(41.22% -0.0731 0.0644) |
| OKLCH | oklch(41.22% 0.097 138.6) |
| XYZ | xyz(4.7375, 7.4729, 2.4888) |
| Luminance | 0.0747 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.77
Forest
#0B5509
ΔE00 4.47
Navy Green
#35530A
ΔE00 4.68
Deep Green
#02590F
ΔE00 4.81
Pine
#2B5D34
ΔE00 4.95
Bottle Green
#044A05
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D571F #491F57
analogous
#49571F #2D571F #1F572D
triadic
#2D571F #1F2D57 #571F2D
tetradic
#2D571F #1F4957 #491F57 #572D1F
square
#2D571F #1F4957 #491F57 #572D1F
split-complementary
#2D571F #2D1F57 #571F49
monochromatic
#0C1708 #162A0F #2D571F #44842F #5CB13F
Accessibility & contrast
On white
8.42
#2D571F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#2D571F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D571F
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D571F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D571F | 1.00 | 8.42 | 2.49 | 8.42 |
| #FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5019
Deuteranopia (green-blind)
#544C23
Tritanopia (blue-blind)
#2A544B
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2d571f; /* rgb */ color: rgb(45, 87, 31); /* oklch */ color: oklch(41.2% 0.097 138.6);
Tailwind
colors: {
custom: {
50: '#6a875d',
500: '#2d571f',
950: '#000000',
},
}SCSS
$custom: #2d571f; $custom-light: #6a875d; $custom-dark: #000000;
JSON
{
"hex": "#2d571f",
"rgb": {
"r": 45,
"g": 87,
"b": 31
},
"hsl": {
"h": 105,
"s": 47.458,
"l": 23.137
},
"oklch": {
"l": 0.41223,
"c": 0.09744,
"h": 138.6
},
"luminance": 0.07473
}Semantic roles & 50–950 ramp
primary
#2D571F
secondary
#7A468C
accent
#51D7B5
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79