#2A582E#2A582E
#2A582E is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.6% C 0.085 H 145.6°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2A582E |
|---|---|
| RGB | rgb(42, 88, 46) |
| HSL | hsl(125, 35%, 25%) |
| HSV | hsv(125, 52%, 35%) |
| CMYK | cmyk(52.3%, 0%, 47.7%, 65.5%) |
| CIE-LAB | lab(33.28, -25.86, 19.59) |
| CIE-LCH | lch(33.28, 32.44, 142.86°) |
| OKLab | oklab(41.6% -0.0703 0.048) |
| OKLCH | oklch(41.6% 0.085 145.6) |
| XYZ | xyz(4.9374, 7.6686, 3.8042) |
| Luminance | 0.0767 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 1.78
Forest Green
#2D5A27
ΔE00 2.46
Hunter Green
#355E3B
ΔE00 3.21
Spruce
#0A5F38
ΔE00 4.85
Pine Green
#0A481E
ΔE00 5.76
Deep Green
#02590F
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A582E #582A54
analogous
#3D582A #2A582E #2A5845
triadic
#2A582E #2E2A58 #582E2A
tetradic
#2A582E #2A3D58 #582A54 #58452A
square
#2A582E #2A3D58 #582A54 #58452A
split-complementary
#2A582E #452A58 #582A3D
monochromatic
#0A150B #162F18 #2A582E #3E8144 #52AB59
Accessibility & contrast
On white
8.29
#2A582E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#2A582E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A582E
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A582E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A582E | 1.00 | 8.29 | 2.53 | 8.29 |
| #FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#59512B
Deuteranopia (green-blind)
#534D31
Tritanopia (blue-blind)
#23564E
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2a582e; /* rgb */ color: rgb(42, 88, 46); /* oklch */ color: oklch(41.6% 0.085 145.6);
Tailwind
colors: {
custom: {
50: '#678767',
500: '#2a582e',
950: '#000000',
},
}SCSS
$custom: #2a582e; $custom-light: #678767; $custom-dark: #000000;
JSON
{
"hex": "#2a582e",
"rgb": {
"r": 42,
"g": 88,
"b": 46
},
"hsl": {
"h": 125.217,
"s": 35.385,
"l": 25.49
},
"oklch": {
"l": 0.41599,
"c": 0.08511,
"h": 145.6
},
"luminance": 0.07669
}Semantic roles & 50–950 ramp
primary
#2A582E
secondary
#8A5386
accent
#5CC2CB
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060B06
muted
#7A7C7A