#2A552F#2A552F
#2A552F is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.8% C 0.079 H 146.5°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2A552F |
|---|---|
| RGB | rgb(42, 85, 47) |
| HSL | hsl(127, 34%, 25%) |
| HSV | hsv(127, 51%, 33%) |
| CMYK | cmyk(50.6%, 0%, 44.7%, 66.7%) |
| CIE-LAB | lab(32.24, -24.22, 17.66) |
| CIE-LCH | lch(32.24, 29.97, 143.91°) |
| OKLab | oklab(40.76% -0.0658 0.0436) |
| OKLCH | oklch(40.76% 0.079 146.5) |
| XYZ | xyz(4.7162, 7.1941, 3.8289) |
| Luminance | 0.0719 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 2.68
Hunter Green
#355E3B
ΔE00 3.36
Forest Green
#2D5A27
ΔE00 3.63
Pine Green
#0A481E
ΔE00 5.26
Spruce
#0A5F38
ΔE00 5.30
Evergreen
#05472A
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A552F #552A50
analogous
#3A552A #2A552F #2A5545
triadic
#2A552F #2F2A55 #552F2A
tetradic
#2A552F #2A3A55 #552A50 #55452A
square
#2A552F #2A3A55 #552A50 #55452A
split-complementary
#2A552F #452A55 #552A3A
monochromatic
#0A140B #162C18 #2A552F #3E7E46 #52A75C
Accessibility & contrast
On white
8.61
#2A552F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#2A552F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A552F
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A552F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A552F | 1.00 | 8.61 | 2.44 | 8.61 |
| #FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564E2C
Deuteranopia (green-blind)
#504A31
Tritanopia (blue-blind)
#23534C
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2a552f; /* rgb */ color: rgb(42, 85, 47); /* oklch */ color: oklch(40.8% 0.079 146.5);
Tailwind
colors: {
custom: {
50: '#678568',
500: '#2a552f',
950: '#000000',
},
}SCSS
$custom: #2a552f; $custom-light: #678568; $custom-dark: #000000;
JSON
{
"hex": "#2a552f",
"rgb": {
"r": 42,
"g": 85,
"b": 47
},
"hsl": {
"h": 126.977,
"s": 33.858,
"l": 24.902
},
"oklch": {
"l": 0.40756,
"c": 0.07895,
"h": 146.5
},
"luminance": 0.07194
}Semantic roles & 50–950 ramp
primary
#2A552F
secondary
#875381
accent
#5EBDCA
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060B06
muted
#7A7C7A