#2A552B#2A552B
#2A552B is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.7% C 0.083 H 144.3°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2A552B |
|---|---|
| RGB | rgb(42, 85, 43) |
| HSL | hsl(121, 34%, 25%) |
| HSV | hsv(121, 51%, 33%) |
| CMYK | cmyk(50.6%, 0%, 49.4%, 66.7%) |
| CIE-LAB | lab(32.18, -24.93, 19.94) |
| CIE-LCH | lch(32.18, 31.92, 141.34°) |
| OKLab | oklab(40.68% -0.0678 0.0487) |
| OKLCH | oklch(40.68% 0.083 144.3) |
| XYZ | xyz(4.6392, 7.1633, 3.4232) |
| Luminance | 0.0716 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.64
Pine
#2B5D34
ΔE00 2.81
Hunter Green
#355E3B
ΔE00 3.92
Pine Green
#0A481E
ΔE00 5.13
Spruce
#0A5F38
ΔE00 5.68
British Racing Green
#05480D
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A552B #552A54
analogous
#3F552A #2A552B #2A5540
triadic
#2A552B #2B2A55 #552B2A
tetradic
#2A552B #2A3F55 #552A54 #55402A
square
#2A552B #2A3F55 #552A54 #55402A
split-complementary
#2A552B #402A55 #552A3F
monochromatic
#0A140A #162C16 #2A552B #3E7E40 #52A754
Accessibility & contrast
On white
8.63
#2A552B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#2A552B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A552B
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A552B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A552B | 1.00 | 8.63 | 2.43 | 8.63 |
| #FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574E28
Deuteranopia (green-blind)
#504A2E
Tritanopia (blue-blind)
#24534B
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2a552b; /* rgb */ color: rgb(42, 85, 43); /* oklch */ color: oklch(40.7% 0.083 144.3);
Tailwind
colors: {
custom: {
50: '#678565',
500: '#2a552b',
950: '#000000',
},
}SCSS
$custom: #2a552b; $custom-light: #678565; $custom-dark: #000000;
JSON
{
"hex": "#2a552b",
"rgb": {
"r": 42,
"g": 85,
"b": 43
},
"hsl": {
"h": 121.395,
"s": 33.858,
"l": 24.902
},
"oklch": {
"l": 0.40678,
"c": 0.08348,
"h": 144.3
},
"luminance": 0.07164
}Semantic roles & 50–950 ramp
primary
#2A552B
secondary
#875386
accent
#5EC7CA
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060B05
muted
#7A7C7A