#2A591A#2A591A
#2A591A is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.6% C 0.107 H 138.8°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2A591A |
|---|---|
| RGB | rgb(42, 89, 26) |
| HSL | hsl(105, 55%, 23%) |
| HSV | hsv(105, 71%, 35%) |
| CMYK | cmyk(52.8%, 0%, 70.8%, 65.1%) |
| CIE-LAB | lab(33.37, -29.12, 30.51) |
| CIE-LCH | lch(33.37, 42.18, 133.66°) |
| OKLab | oklab(41.59% -0.0802 0.0703) |
| OKLCH | oklch(41.59% 0.107 138.8) |
| XYZ | xyz(4.7135, 7.7112, 2.2171) |
| Luminance | 0.0771 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.63
Forest
#0B5509
ΔE00 3.55
Deep Green
#02590F
ΔE00 3.80
Navy Green
#35530A
ΔE00 4.50
Bottle Green
#044A05
ΔE00 5.66
Pine
#2B5D34
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A591A #491A59
analogous
#49591A #2A591A #1A5929
triadic
#2A591A #1A2A59 #591A2A
tetradic
#2A591A #1A4959 #491A59 #59291A
square
#2A591A #1A4959 #491A59 #59291A
split-complementary
#2A591A #291A59 #591A49
monochromatic
#0B1807 #142A0C #2A591A #408828 #57B836
Accessibility & contrast
On white
8.26
#2A591A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#2A591A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A591A
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A591A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A591A | 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)
#5C5112
Deuteranopia (green-blind)
#564D1F
Tritanopia (blue-blind)
#26564C
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2a591a; /* rgb */ color: rgb(42, 89, 26); /* oklch */ color: oklch(41.6% 0.107 138.8);
Tailwind
colors: {
custom: {
50: '#68885a',
500: '#2a591a',
950: '#000000',
},
}SCSS
$custom: #2a591a; $custom-light: #68885a; $custom-dark: #000000;
JSON
{
"hex": "#2a591a",
"rgb": {
"r": 42,
"g": 89,
"b": 26
},
"hsl": {
"h": 104.762,
"s": 54.783,
"l": 22.549
},
"oklch": {
"l": 0.41589,
"c": 0.10661,
"h": 138.8
},
"luminance": 0.07712
}Semantic roles & 50–950 ramp
primary
#2A591A
secondary
#7B408F
accent
#4ADEB8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79