#2B571F#2B571F
#2B571F is a dark, moderate green. Relative luminance 0.074; OKLCH L 41.1% C 0.099 H 139.4°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2B571F |
|---|---|
| RGB | rgb(43, 87, 31) |
| HSL | hsl(107, 47%, 23%) |
| HSV | hsv(107, 64%, 34%) |
| CMYK | cmyk(50.6%, 0%, 64.4%, 65.9%) |
| CIE-LAB | lab(32.76, -27.30, 27.35) |
| CIE-LCH | lch(32.76, 38.64, 134.95°) |
| OKLab | oklab(41.12% -0.0749 0.0641) |
| OKLCH | oklch(41.12% 0.099 139.4) |
| XYZ | xyz(4.6516, 7.4286, 2.4848) |
| Luminance | 0.0743 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.65
Forest
#0B5509
ΔE00 4.24
Deep Green
#02590F
ΔE00 4.53
Pine
#2B5D34
ΔE00 4.80
Navy Green
#35530A
ΔE00 4.96
Bottle Green
#044A05
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B571F #4B1F57
analogous
#47571F #2B571F #1F572F
triadic
#2B571F #1F2B57 #571F2B
tetradic
#2B571F #1F4757 #4B1F57 #572F1F
square
#2B571F #1F4757 #4B1F57 #572F1F
split-complementary
#2B571F #2F1F57 #571F47
monochromatic
#0B1708 #152A0F #2B571F #41842F #58B13F
Accessibility & contrast
On white
8.45
#2B571F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#2B571F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B571F
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B571F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B571F | 1.00 | 8.45 | 2.49 | 8.45 |
| #FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A4F19
Deuteranopia (green-blind)
#544C23
Tritanopia (blue-blind)
#27544B
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2b571f; /* rgb */ color: rgb(43, 87, 31); /* oklch */ color: oklch(41.1% 0.099 139.4);
Tailwind
colors: {
custom: {
50: '#68875d',
500: '#2b571f',
950: '#000000',
},
}SCSS
$custom: #2b571f; $custom-light: #68875d; $custom-dark: #000000;
JSON
{
"hex": "#2b571f",
"rgb": {
"r": 43,
"g": 87,
"b": 31
},
"hsl": {
"h": 107.143,
"s": 47.458,
"l": 23.137
},
"oklch": {
"l": 0.41117,
"c": 0.09862,
"h": 139.4
},
"luminance": 0.07429
}Semantic roles & 50–950 ramp
primary
#2B571F
secondary
#7D468C
accent
#51D7BA
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79