#2A522A#2A522A
#2A522A is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.8% C 0.080 H 143.9°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2A522A |
|---|---|
| RGB | rgb(42, 82, 42) |
| HSL | hsl(120, 32%, 24%) |
| HSV | hsv(120, 49%, 32%) |
| CMYK | cmyk(48.8%, 0%, 48.8%, 67.8%) |
| CIE-LAB | lab(31.10, -23.62, 19.16) |
| CIE-LCH | lch(31.10, 30.42, 140.95°) |
| OKLab | oklab(39.79% -0.0643 0.0469) |
| OKLCH | oklch(39.79% 0.08 143.9) |
| XYZ | xyz(4.3898, 6.6937, 3.2507) |
| Luminance | 0.0669 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.53
Pine
#2B5D34
ΔE00 3.73
Hunter Green
#355E3B
ΔE00 4.46
Pine Green
#0A481E
ΔE00 4.68
British Racing Green
#05480D
ΔE00 6.27
Evergreen
#05472A
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A522A #522A52
analogous
#3E522A #2A522A #2A523E
triadic
#2A522A #2A2A52 #522A2A
tetradic
#2A522A #2A3E52 #522A52 #523E2A
square
#2A522A #2A3E52 #522A52 #523E2A
split-complementary
#2A522A #3E2A52 #522A3E
monochromatic
#0A140A #152A15 #2A522A #3F7A3F #53A353
Accessibility & contrast
On white
8.98
#2A522A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#2A522A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A522A
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A522A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A522A | 1.00 | 8.98 | 2.34 | 8.98 |
| #FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544B27
Deuteranopia (green-blind)
#4E482D
Tritanopia (blue-blind)
#255048
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2a522a; /* rgb */ color: rgb(42, 82, 42); /* oklch */ color: oklch(39.8% 0.080 143.9);
Tailwind
colors: {
custom: {
50: '#668364',
500: '#2a522a',
950: '#000000',
},
}SCSS
$custom: #2a522a; $custom-light: #668364; $custom-dark: #000000;
JSON
{
"hex": "#2a522a",
"rgb": {
"r": 42,
"g": 82,
"b": 42
},
"hsl": {
"h": 120,
"s": 32.258,
"l": 24.314
},
"oklch": {
"l": 0.39792,
"c": 0.07957,
"h": 143.9
},
"luminance": 0.06694
}Semantic roles & 50–950 ramp
primary
#2A522A
secondary
#845484
accent
#5FC8C8
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060A05
muted
#7A7C7A