#2A522D#2A522D
#2A522D is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.9% C 0.076 H 145.6°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2A522D |
|---|---|
| RGB | rgb(42, 82, 45) |
| HSL | hsl(125, 32%, 24%) |
| HSV | hsv(125, 49%, 32%) |
| CMYK | cmyk(48.8%, 0%, 45.1%, 67.8%) |
| CIE-LAB | lab(31.15, -23.09, 17.44) |
| CIE-LCH | lch(31.15, 28.93, 142.94°) |
| OKLab | oklab(39.85% -0.0628 0.043) |
| OKLCH | oklch(39.85% 0.076 145.6) |
| XYZ | xyz(4.4456, 6.7160, 3.5442) |
| Luminance | 0.0672 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.70
Hunter Green
#355E3B
ΔE00 4.14
Forest Green
#2D5A27
ΔE00 4.19
Pine Green
#0A481E
ΔE00 4.82
Evergreen
#05472A
ΔE00 5.83
Spruce
#0A5F38
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A522D #522A4F
analogous
#3B522A #2A522D #2A5241
triadic
#2A522D #2D2A52 #522D2A
tetradic
#2A522D #2A3B52 #522A4F #52412A
square
#2A522D #2A3B52 #522A4F #52412A
split-complementary
#2A522D #412A52 #522A3B
monochromatic
#0A140B #152A17 #2A522D #3F7A43 #53A359
Accessibility & contrast
On white
8.96
#2A522D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#2A522D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A522D
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A522D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A522D | 1.00 | 8.96 | 2.34 | 8.96 |
| #FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534C2A
Deuteranopia (green-blind)
#4D482F
Tritanopia (blue-blind)
#245049
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2a522d; /* rgb */ color: rgb(42, 82, 45); /* oklch */ color: oklch(39.9% 0.076 145.6);
Tailwind
colors: {
custom: {
50: '#668366',
500: '#2a522d',
950: '#000000',
},
}SCSS
$custom: #2a522d; $custom-light: #668366; $custom-dark: #000000;
JSON
{
"hex": "#2a522d",
"rgb": {
"r": 42,
"g": 82,
"b": 45
},
"hsl": {
"h": 124.5,
"s": 32.258,
"l": 24.314
},
"oklch": {
"l": 0.39852,
"c": 0.07613,
"h": 145.6
},
"luminance": 0.06716
}Semantic roles & 50–950 ramp
primary
#2A522D
secondary
#845481
accent
#5FC1C8
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060A06
muted
#7A7C7A