#2B571A#2B571A
#2B571A is a dark, moderate green. Relative luminance 0.074; OKLCH L 41.1% C 0.103 H 138.2°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2B571A |
|---|---|
| RGB | rgb(43, 87, 26) |
| HSL | hsl(103, 54%, 22%) |
| HSV | hsv(103, 70%, 34%) |
| CMYK | cmyk(50.6%, 0%, 70.1%, 65.9%) |
| CIE-LAB | lab(32.71, -27.87, 29.81) |
| CIE-LCH | lch(32.71, 40.80, 133.07°) |
| OKLab | oklab(41.06% -0.0768 0.0688) |
| OKLCH | oklch(41.06% 0.103 138.2) |
| XYZ | xyz(4.5908, 7.4043, 2.1643) |
| Luminance | 0.0741 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.58
Forest
#0B5509
ΔE00 3.76
Navy Green
#35530A
ΔE00 4.15
Deep Green
#02590F
ΔE00 4.23
Bottle Green
#044A05
ΔE00 5.39
Darkgreen (survey)
#054907
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B571A #461A57
analogous
#4A571A #2B571A #1A5728
triadic
#2B571A #1A2B57 #571A2B
tetradic
#2B571A #1A4A57 #461A57 #57281A
square
#2B571A #1A4A57 #461A57 #57281A
split-complementary
#2B571A #281A57 #571A4A
monochromatic
#0C1807 #14280C #2B571A #428628 #5AB536
Accessibility & contrast
On white
8.46
#2B571A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#2B571A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B571A
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B571A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B571A | 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)
#5A4F12
Deuteranopia (green-blind)
#544C1F
Tritanopia (blue-blind)
#28544A
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2b571a; /* rgb */ color: rgb(43, 87, 26); /* oklch */ color: oklch(41.1% 0.103 138.2);
Tailwind
colors: {
custom: {
50: '#69875a',
500: '#2b571a',
950: '#000000',
},
}SCSS
$custom: #2b571a; $custom-light: #69875a; $custom-dark: #000000;
JSON
{
"hex": "#2b571a",
"rgb": {
"r": 43,
"g": 87,
"b": 26
},
"hsl": {
"h": 103.279,
"s": 53.982,
"l": 22.157
},
"oklch": {
"l": 0.41056,
"c": 0.10312,
"h": 138.2
},
"luminance": 0.07405
}Semantic roles & 50–950 ramp
primary
#2B571A
secondary
#78408D
accent
#4ADDB4
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79