#2B581A#2B581A
#2B581A is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.3% C 0.105 H 138.3°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2B581A |
|---|---|
| RGB | rgb(43, 88, 26) |
| HSL | hsl(104, 54%, 22%) |
| HSV | hsv(104, 70%, 35%) |
| CMYK | cmyk(51.1%, 0%, 70.5%, 65.5%) |
| CIE-LAB | lab(33.06, -28.33, 30.19) |
| CIE-LCH | lch(33.06, 41.40, 133.17°) |
| OKLab | oklab(41.35% -0.0781 0.0696) |
| OKLCH | oklch(41.35% 0.105 138.3) |
| XYZ | xyz(4.6723, 7.5673, 2.1915) |
| Luminance | 0.0757 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.60
Forest
#0B5509
ΔE00 3.70
Deep Green
#02590F
ΔE00 4.08
Navy Green
#35530A
ΔE00 4.24
Bottle Green
#044A05
ΔE00 5.56
Darkgreen (survey)
#054907
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B581A #471A58
analogous
#4A581A #2B581A #1A5828
triadic
#2B581A #1A2B58 #581A2B
tetradic
#2B581A #1A4A58 #471A58 #58281A
square
#2B581A #1A4A58 #471A58 #58281A
split-complementary
#2B581A #281A58 #581A4A
monochromatic
#0C1807 #14290C #2B581A #428728 #59B636
Accessibility & contrast
On white
8.35
#2B581A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#2B581A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B581A
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B581A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B581A | 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)
#5B5012
Deuteranopia (green-blind)
#554C1F
Tritanopia (blue-blind)
#28554B
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2b581a; /* rgb */ color: rgb(43, 88, 26); /* oklch */ color: oklch(41.3% 0.105 138.3);
Tailwind
colors: {
custom: {
50: '#69875a',
500: '#2b581a',
950: '#000000',
},
}SCSS
$custom: #2b581a; $custom-light: #69875a; $custom-dark: #000000;
JSON
{
"hex": "#2b581a",
"rgb": {
"r": 43,
"g": 88,
"b": 26
},
"hsl": {
"h": 103.548,
"s": 54.386,
"l": 22.353
},
"oklch": {
"l": 0.41348,
"c": 0.10459,
"h": 138.3
},
"luminance": 0.07568
}Semantic roles & 50–950 ramp
primary
#2B581A
secondary
#79408E
accent
#4ADEB5
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79