#2B571B#2B571B
#2B571B is a dark, moderate green. Relative luminance 0.074; OKLCH L 41.1% C 0.102 H 138.4°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2B571B |
|---|---|
| RGB | rgb(43, 87, 27) |
| HSL | hsl(104, 53%, 22%) |
| HSV | hsv(104, 69%, 34%) |
| CMYK | cmyk(50.6%, 0%, 69%, 65.9%) |
| CIE-LAB | lab(32.72, -27.76, 29.33) |
| CIE-LCH | lch(32.72, 40.38, 133.43°) |
| OKLab | oklab(41.07% -0.0765 0.0679) |
| OKLCH | oklch(41.07% 0.102 138.4) |
| XYZ | xyz(4.6021, 7.4088, 2.2242) |
| Luminance | 0.0741 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.40
Forest
#0B5509
ΔE00 3.83
Deep Green
#02590F
ΔE00 4.27
Navy Green
#35530A
ΔE00 4.30
Bottle Green
#044A05
ΔE00 5.41
Darkgreen (survey)
#054907
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B571B #471B57
analogous
#49571B #2B571B #1B5729
triadic
#2B571B #1B2B57 #571B2B
tetradic
#2B571B #1B4957 #471B57 #57291B
square
#2B571B #1B4957 #471B57 #57291B
split-complementary
#2B571B #291B57 #571B49
monochromatic
#0C1707 #14280D #2B571B #428629 #59B438
Accessibility & contrast
On white
8.46
#2B571B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#2B571B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B571B
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B571B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B571B | 1.00 | 8.46 | 2.48 | 8.46 |
| #FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A4F14
Deuteranopia (green-blind)
#544C20
Tritanopia (blue-blind)
#28544A
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2b571b; /* rgb */ color: rgb(43, 87, 27); /* oklch */ color: oklch(41.1% 0.102 138.4);
Tailwind
colors: {
custom: {
50: '#69875a',
500: '#2b571b',
950: '#000000',
},
}SCSS
$custom: #2b571b; $custom-light: #69875a; $custom-dark: #000000;
JSON
{
"hex": "#2b571b",
"rgb": {
"r": 43,
"g": 87,
"b": 27
},
"hsl": {
"h": 104,
"s": 52.632,
"l": 22.353
},
"oklch": {
"l": 0.41068,
"c": 0.10225,
"h": 138.4
},
"luminance": 0.07409
}Semantic roles & 50–950 ramp
primary
#2B571B
secondary
#79418D
accent
#4CDCB6
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79