#2A552D#2A552D
#2A552D is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.7% C 0.081 H 145.3°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2A552D |
|---|---|
| RGB | rgb(42, 85, 45) |
| HSL | hsl(124, 34%, 25%) |
| HSV | hsv(124, 51%, 33%) |
| CMYK | cmyk(50.6%, 0%, 47.1%, 66.7%) |
| CIE-LAB | lab(32.21, -24.58, 18.80) |
| CIE-LCH | lch(32.21, 30.95, 142.59°) |
| OKLab | oklab(40.72% -0.0668 0.0462) |
| OKLCH | oklch(40.72% 0.081 145.3) |
| XYZ | xyz(4.6767, 7.1784, 3.6212) |
| Luminance | 0.0718 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 2.69
Forest Green
#2D5A27
ΔE00 3.11
Hunter Green
#355E3B
ΔE00 3.61
Pine Green
#0A481E
ΔE00 5.16
Spruce
#0A5F38
ΔE00 5.46
Evergreen
#05472A
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A552D #552A52
analogous
#3D552A #2A552D #2A5543
triadic
#2A552D #2D2A55 #552D2A
tetradic
#2A552D #2A3D55 #552A52 #55432A
square
#2A552D #2A3D55 #552A52 #55432A
split-complementary
#2A552D #432A55 #552A3D
monochromatic
#0A140B #162C17 #2A552D #3E7E43 #52A758
Accessibility & contrast
On white
8.62
#2A552D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#2A552D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A552D
8.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A552D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A552D | 1.00 | 8.62 | 2.44 | 8.62 |
| #FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564E2A
Deuteranopia (green-blind)
#504A30
Tritanopia (blue-blind)
#24534B
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2a552d; /* rgb */ color: rgb(42, 85, 45); /* oklch */ color: oklch(40.7% 0.081 145.3);
Tailwind
colors: {
custom: {
50: '#678566',
500: '#2a552d',
950: '#000000',
},
}SCSS
$custom: #2a552d; $custom-light: #678566; $custom-dark: #000000;
JSON
{
"hex": "#2a552d",
"rgb": {
"r": 42,
"g": 85,
"b": 45
},
"hsl": {
"h": 124.186,
"s": 33.858,
"l": 24.902
},
"oklch": {
"l": 0.40716,
"c": 0.08122,
"h": 145.3
},
"luminance": 0.07179
}Semantic roles & 50–950 ramp
primary
#2A552D
secondary
#875384
accent
#5EC2CA
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060B06
muted
#7A7C7A