#2A571A#2A571A
#2A571A is a dark, moderate green. Relative luminance 0.074; OKLCH L 41.0% C 0.104 H 138.5°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2A571A |
|---|---|
| RGB | rgb(42, 87, 26) |
| HSL | hsl(104, 54%, 22%) |
| HSV | hsv(104, 70%, 34%) |
| CMYK | cmyk(51.7%, 0%, 70.1%, 65.9%) |
| CIE-LAB | lab(32.66, -28.22, 29.74) |
| CIE-LCH | lch(32.66, 41.00, 133.49°) |
| OKLab | oklab(41.01% -0.0777 0.0686) |
| OKLCH | oklch(41.01% 0.104 138.5) |
| XYZ | xyz(4.5493, 7.3829, 2.1624) |
| Luminance | 0.0738 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.54
Forest
#0B5509
ΔE00 3.63
Deep Green
#02590F
ΔE00 4.07
Navy Green
#35530A
ΔE00 4.30
Bottle Green
#044A05
ΔE00 5.29
Darkgreen (survey)
#054907
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A571A #471A57
analogous
#49571A #2A571A #1A5729
triadic
#2A571A #1A2A57 #571A2A
tetradic
#2A571A #1A4957 #471A57 #57291A
square
#2A571A #1A4957 #471A57 #57291A
split-complementary
#2A571A #291A57 #571A49
monochromatic
#0B1807 #13280C #2A571A #418628 #57B536
Accessibility & contrast
On white
8.48
#2A571A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#2A571A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A571A
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A571A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A571A | 1.00 | 8.48 | 2.48 | 8.48 |
| #FFFFFF | 8.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A4F12
Deuteranopia (green-blind)
#544B1F
Tritanopia (blue-blind)
#27544A
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2a571a; /* rgb */ color: rgb(42, 87, 26); /* oklch */ color: oklch(41.0% 0.104 138.5);
Tailwind
colors: {
custom: {
50: '#68875a',
500: '#2a571a',
950: '#000000',
},
}SCSS
$custom: #2a571a; $custom-light: #68875a; $custom-dark: #000000;
JSON
{
"hex": "#2a571a",
"rgb": {
"r": 42,
"g": 87,
"b": 26
},
"hsl": {
"h": 104.262,
"s": 53.982,
"l": 22.157
},
"oklch": {
"l": 0.41005,
"c": 0.10368,
"h": 138.5
},
"luminance": 0.07383
}Semantic roles & 50–950 ramp
primary
#2A571A
secondary
#79408D
accent
#4ADDB7
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79