#2A591B#2A591B
#2A591B is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.6% C 0.106 H 139.0°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2A591B |
|---|---|
| RGB | rgb(42, 89, 27) |
| HSL | hsl(105, 53%, 23%) |
| HSV | hsv(105, 70%, 35%) |
| CMYK | cmyk(52.8%, 0%, 69.7%, 65.1%) |
| CIE-LAB | lab(33.38, -29.02, 30.04) |
| CIE-LCH | lch(33.38, 41.77, 134.00°) |
| OKLab | oklab(41.6% -0.0798 0.0694) |
| OKLCH | oklch(41.6% 0.106 139) |
| XYZ | xyz(4.7249, 7.7158, 2.2770) |
| Luminance | 0.0772 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.44
Forest
#0B5509
ΔE00 3.61
Deep Green
#02590F
ΔE00 3.83
Navy Green
#35530A
ΔE00 4.63
Pine
#2B5D34
ΔE00 5.57
Bottle Green
#044A05
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A591B #4A1B59
analogous
#49591B #2A591B #1B592B
triadic
#2A591B #1B2A59 #591B2A
tetradic
#2A591B #1B4959 #4A1B59 #592B1B
square
#2A591B #1B4959 #4A1B59 #592B1B
split-complementary
#2A591B #2B1B59 #591B49
monochromatic
#0B1707 #142A0D #2A591B #408829 #56B737
Accessibility & contrast
On white
8.26
#2A591B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#2A591B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A591B
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A591B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A591B | 1.00 | 8.26 | 2.54 | 8.26 |
| #FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5113
Deuteranopia (green-blind)
#564D20
Tritanopia (blue-blind)
#26564C
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2a591b; /* rgb */ color: rgb(42, 89, 27); /* oklch */ color: oklch(41.6% 0.106 139.0);
Tailwind
colors: {
custom: {
50: '#68885a',
500: '#2a591b',
950: '#000000',
},
}SCSS
$custom: #2a591b; $custom-light: #68885a; $custom-dark: #000000;
JSON
{
"hex": "#2a591b",
"rgb": {
"r": 42,
"g": 89,
"b": 27
},
"hsl": {
"h": 105.484,
"s": 53.448,
"l": 22.745
},
"oklch": {
"l": 0.416,
"c": 0.10577,
"h": 139
},
"luminance": 0.07716
}Semantic roles & 50–950 ramp
primary
#2A591B
secondary
#7C418F
accent
#4BDDBA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79