#2E571B#2E571B
#2E571B is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.2% C 0.101 H 137.2°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2E571B |
|---|---|
| RGB | rgb(46, 87, 27) |
| HSL | hsl(101, 53%, 22%) |
| HSV | hsv(101, 69%, 34%) |
| CMYK | cmyk(47.1%, 0%, 69%, 65.9%) |
| CIE-LAB | lab(32.87, -26.69, 29.53) |
| CIE-LCH | lch(32.87, 39.80, 132.11°) |
| OKLab | oklab(41.23% -0.0738 0.0683) |
| OKLCH | oklch(41.23% 0.101 137.2) |
| XYZ | xyz(4.7326, 7.4761, 2.2304) |
| Luminance | 0.0748 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.61
Navy Green
#35530A
ΔE00 3.85
Forest
#0B5509
ΔE00 4.27
Deep Green
#02590F
ΔE00 4.75
Bottle Green
#044A05
ΔE00 5.76
Pine
#2B5D34
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E571B #441B57
analogous
#4C571B #2E571B #1B5726
triadic
#2E571B #1B2E57 #571B2E
tetradic
#2E571B #1B4C57 #441B57 #57261B
square
#2E571B #1B4C57 #441B57 #57261B
split-complementary
#2E571B #261B57 #571B4C
monochromatic
#0C1707 #15280D #2E571B #478629 #5FB438
Accessibility & contrast
On white
8.42
#2E571B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#2E571B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E571B
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E571B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E571B | 1.00 | 8.42 | 2.50 | 8.42 |
| #FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A4F14
Deuteranopia (green-blind)
#544C20
Tritanopia (blue-blind)
#2C544A
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2e571b; /* rgb */ color: rgb(46, 87, 27); /* oklch */ color: oklch(41.2% 0.101 137.2);
Tailwind
colors: {
custom: {
50: '#6b875a',
500: '#2e571b',
950: '#000000',
},
}SCSS
$custom: #2e571b; $custom-light: #6b875a; $custom-dark: #000000;
JSON
{
"hex": "#2e571b",
"rgb": {
"r": 46,
"g": 87,
"b": 27
},
"hsl": {
"h": 101,
"s": 52.632,
"l": 22.353
},
"oklch": {
"l": 0.41229,
"c": 0.10052,
"h": 137.2
},
"luminance": 0.07476
}Semantic roles & 50–950 ramp
primary
#2E571B
secondary
#75418D
accent
#4CDCAE
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79