#2B581B#2B581B
#2B581B is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.4% C 0.104 H 138.5°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2B581B |
|---|---|
| RGB | rgb(43, 88, 27) |
| HSL | hsl(104, 53%, 23%) |
| HSV | hsv(104, 69%, 35%) |
| CMYK | cmyk(51.1%, 0%, 69.3%, 65.5%) |
| CIE-LAB | lab(33.07, -28.22, 29.72) |
| CIE-LCH | lch(33.07, 40.98, 133.52°) |
| OKLab | oklab(41.36% -0.0777 0.0687) |
| OKLCH | oklch(41.36% 0.104 138.5) |
| XYZ | xyz(4.6836, 7.5719, 2.2514) |
| Luminance | 0.0757 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.41
Forest
#0B5509
ΔE00 3.77
Deep Green
#02590F
ΔE00 4.11
Navy Green
#35530A
ΔE00 4.38
Bottle Green
#044A05
ΔE00 5.58
Pine
#2B5D34
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B581B #481B58
analogous
#4A581B #2B581B #1B5829
triadic
#2B581B #1B2B58 #581B2B
tetradic
#2B581B #1B4A58 #481B58 #58291B
square
#2B581B #1B4A58 #481B58 #58291B
split-complementary
#2B581B #291B58 #581B4A
monochromatic
#0B1707 #14290D #2B581B #428729 #59B638
Accessibility & contrast
On white
8.35
#2B581B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#2B581B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B581B
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B581B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B581B | 1.00 | 8.35 | 2.51 | 8.35 |
| #FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5013
Deuteranopia (green-blind)
#554C20
Tritanopia (blue-blind)
#28554B
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2b581b; /* rgb */ color: rgb(43, 88, 27); /* oklch */ color: oklch(41.4% 0.104 138.5);
Tailwind
colors: {
custom: {
50: '#69875a',
500: '#2b581b',
950: '#000000',
},
}SCSS
$custom: #2b581b; $custom-light: #69875a; $custom-dark: #000000;
JSON
{
"hex": "#2b581b",
"rgb": {
"r": 43,
"g": 88,
"b": 27
},
"hsl": {
"h": 104.262,
"s": 53.043,
"l": 22.549
},
"oklch": {
"l": 0.41359,
"c": 0.10374,
"h": 138.5
},
"luminance": 0.07572
}Semantic roles & 50–950 ramp
primary
#2B581B
secondary
#7A418E
accent
#4BDCB6
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79