#2A591F#2A591F
#2A591F is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.6% C 0.102 H 140.0°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2A591F |
|---|---|
| RGB | rgb(42, 89, 31) |
| HSL | hsl(109, 48%, 24%) |
| HSV | hsv(109, 65%, 35%) |
| CMYK | cmyk(52.8%, 0%, 65.2%, 65.1%) |
| CIE-LAB | lab(33.43, -28.56, 28.09) |
| CIE-LCH | lch(33.43, 40.06, 135.47°) |
| OKLab | oklab(41.65% -0.0783 0.0657) |
| OKLCH | oklch(41.65% 0.102 140) |
| XYZ | xyz(4.7744, 7.7356, 2.5376) |
| Luminance | 0.0774 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.64
Forest
#0B5509
ΔE00 3.99
Deep Green
#02590F
ΔE00 4.08
Pine
#2B5D34
ΔE00 4.77
Navy Green
#35530A
ΔE00 5.20
Bottle Green
#044A05
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A591F #4E1F59
analogous
#47591F #2A591F #1F5931
triadic
#2A591F #1F2A59 #591F2A
tetradic
#2A591F #1F4759 #4E1F59 #59311F
square
#2A591F #1F4759 #4E1F59 #59311F
split-complementary
#2A591F #311F59 #591F47
monochromatic
#0B1708 #152C0F #2A591F #3F862F #55B43F
Accessibility & contrast
On white
8.24
#2A591F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#2A591F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A591F
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A591F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A591F | 1.00 | 8.24 | 2.55 | 8.24 |
| #FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5119
Deuteranopia (green-blind)
#554D24
Tritanopia (blue-blind)
#26564D
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2a591f; /* rgb */ color: rgb(42, 89, 31); /* oklch */ color: oklch(41.6% 0.102 140.0);
Tailwind
colors: {
custom: {
50: '#68885d',
500: '#2a591f',
950: '#000000',
},
}SCSS
$custom: #2a591f; $custom-light: #68885d; $custom-dark: #000000;
JSON
{
"hex": "#2a591f",
"rgb": {
"r": 42,
"g": 89,
"b": 31
},
"hsl": {
"h": 108.621,
"s": 48.333,
"l": 23.529
},
"oklch": {
"l": 0.41648,
"c": 0.10222,
"h": 140
},
"luminance": 0.07736
}Semantic roles & 50–950 ramp
primary
#2A591F
secondary
#80468E
accent
#50D8BE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79