#2A571D#2A571D
#2A571D is a dark, moderate green. Relative luminance 0.074; OKLCH L 41.0% C 0.101 H 139.3°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2A571D |
|---|---|
| RGB | rgb(42, 87, 29) |
| HSL | hsl(107, 50%, 23%) |
| HSV | hsv(107, 67%, 34%) |
| CMYK | cmyk(51.7%, 0%, 66.7%, 65.9%) |
| CIE-LAB | lab(32.69, -27.88, 28.28) |
| CIE-LCH | lch(32.69, 39.72, 134.59°) |
| OKLab | oklab(41.04% -0.0766 0.0659) |
| OKLCH | oklch(41.04% 0.101 139.3) |
| XYZ | xyz(4.5846, 7.3970, 2.3483) |
| Luminance | 0.0740 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.98
Forest
#0B5509
ΔE00 3.89
Deep Green
#02590F
ΔE00 4.24
Navy Green
#35530A
ΔE00 4.76
Pine
#2B5D34
ΔE00 5.14
Bottle Green
#044A05
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A571D #4A1D57
analogous
#47571D #2A571D #1D572D
triadic
#2A571D #1D2A57 #571D2A
tetradic
#2A571D #1D4757 #4A1D57 #572D1D
square
#2A571D #1D4757 #4A1D57 #572D1D
split-complementary
#2A571D #2D1D57 #571D47
monochromatic
#0B1708 #14290E #2A571D #40852C #56B33C
Accessibility & contrast
On white
8.47
#2A571D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#2A571D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A571D
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A571D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A571D | 1.00 | 8.47 | 2.48 | 8.47 |
| #FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A4F16
Deuteranopia (green-blind)
#544B22
Tritanopia (blue-blind)
#26544B
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2a571d; /* rgb */ color: rgb(42, 87, 29); /* oklch */ color: oklch(41.0% 0.101 139.3);
Tailwind
colors: {
custom: {
50: '#68875b',
500: '#2a571d',
950: '#000000',
},
}SCSS
$custom: #2a571d; $custom-light: #68875b; $custom-dark: #000000;
JSON
{
"hex": "#2a571d",
"rgb": {
"r": 42,
"g": 87,
"b": 29
},
"hsl": {
"h": 106.552,
"s": 50,
"l": 22.745
},
"oklch": {
"l": 0.4104,
"c": 0.10104,
"h": 139.3
},
"luminance": 0.07397
}Semantic roles & 50–950 ramp
primary
#2A571D
secondary
#7C448C
accent
#4EDABA
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79