#2A581B#2A581B
#2A581B is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.3% C 0.104 H 138.9°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2A581B |
|---|---|
| RGB | rgb(42, 88, 27) |
| HSL | hsl(105, 53%, 23%) |
| HSV | hsv(105, 69%, 35%) |
| CMYK | cmyk(52.3%, 0%, 69.3%, 65.5%) |
| CIE-LAB | lab(33.03, -28.56, 29.65) |
| CIE-LCH | lch(33.03, 41.17, 133.93°) |
| OKLab | oklab(41.31% -0.0786 0.0686) |
| OKLCH | oklch(41.31% 0.104 138.9) |
| XYZ | xyz(4.6422, 7.5505, 2.2495) |
| Luminance | 0.0755 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.37
Forest
#0B5509
ΔE00 3.64
Deep Green
#02590F
ΔE00 3.96
Navy Green
#35530A
ΔE00 4.53
Bottle Green
#044A05
ΔE00 5.48
Pine
#2B5D34
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A581B #491B58
analogous
#48581B #2A581B #1B582B
triadic
#2A581B #1B2A58 #581B2A
tetradic
#2A581B #1B4858 #491B58 #582B1B
square
#2A581B #1B4858 #491B58 #582B1B
split-complementary
#2A581B #2B1B58 #581B48
monochromatic
#0B1707 #14290D #2A581B #408729 #57B638
Accessibility & contrast
On white
8.37
#2A581B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#2A581B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A581B
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A581B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A581B | 1.00 | 8.37 | 2.51 | 8.37 |
| #FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5013
Deuteranopia (green-blind)
#554C20
Tritanopia (blue-blind)
#26554B
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2a581b; /* rgb */ color: rgb(42, 88, 27); /* oklch */ color: oklch(41.3% 0.104 138.9);
Tailwind
colors: {
custom: {
50: '#68875a',
500: '#2a581b',
950: '#000000',
},
}SCSS
$custom: #2a581b; $custom-light: #68875a; $custom-dark: #000000;
JSON
{
"hex": "#2a581b",
"rgb": {
"r": 42,
"g": 88,
"b": 27
},
"hsl": {
"h": 105.246,
"s": 53.043,
"l": 22.549
},
"oklch": {
"l": 0.41308,
"c": 0.1043,
"h": 138.9
},
"luminance": 0.07551
}Semantic roles & 50–950 ramp
primary
#2A581B
secondary
#7B418E
accent
#4BDCB9
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79