#2E571F#2E571F
#2E571F is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.3% C 0.097 H 138.2°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2E571F |
|---|---|
| RGB | rgb(46, 87, 31) |
| HSL | hsl(104, 47%, 23%) |
| HSV | hsv(104, 64%, 34%) |
| CMYK | cmyk(47.1%, 0%, 64.4%, 65.9%) |
| CIE-LAB | lab(32.91, -26.23, 27.55) |
| CIE-LCH | lch(32.91, 38.04, 133.60°) |
| OKLab | oklab(41.28% -0.0722 0.0645) |
| OKLCH | oklch(41.28% 0.097 138.2) |
| XYZ | xyz(4.7821, 7.4959, 2.4909) |
| Luminance | 0.0750 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.86
Navy Green
#35530A
ΔE00 4.54
Forest
#0B5509
ΔE00 4.60
Deep Green
#02590F
ΔE00 4.96
Pine
#2B5D34
ΔE00 5.03
Bottle Green
#044A05
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E571F #481F57
analogous
#4A571F #2E571F #1F572C
triadic
#2E571F #1F2E57 #571F2E
tetradic
#2E571F #1F4A57 #481F57 #572C1F
square
#2E571F #1F4A57 #481F57 #572C1F
split-complementary
#2E571F #2C1F57 #571F4A
monochromatic
#0C1708 #162A0F #2E571F #46842F #5EB13F
Accessibility & contrast
On white
8.40
#2E571F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#2E571F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E571F
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E571F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E571F | 1.00 | 8.40 | 2.50 | 8.40 |
| #FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5019
Deuteranopia (green-blind)
#544C23
Tritanopia (blue-blind)
#2B544B
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2e571f; /* rgb */ color: rgb(46, 87, 31); /* oklch */ color: oklch(41.3% 0.097 138.2);
Tailwind
colors: {
custom: {
50: '#6a875d',
500: '#2e571f',
950: '#000000',
},
}SCSS
$custom: #2e571f; $custom-light: #6a875d; $custom-dark: #000000;
JSON
{
"hex": "#2e571f",
"rgb": {
"r": 46,
"g": 87,
"b": 31
},
"hsl": {
"h": 103.929,
"s": 47.458,
"l": 23.137
},
"oklch": {
"l": 0.41278,
"c": 0.09686,
"h": 138.2
},
"luminance": 0.07496
}Semantic roles & 50–950 ramp
primary
#2E571F
secondary
#79468C
accent
#51D7B3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79