#2A552A#2A552A
#2A552A is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.7% C 0.085 H 143.8°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2A552A |
|---|---|
| RGB | rgb(42, 85, 42) |
| HSL | hsl(120, 34%, 25%) |
| HSV | hsv(120, 51%, 33%) |
| CMYK | cmyk(50.6%, 0%, 50.6%, 66.7%) |
| CIE-LAB | lab(32.16, -25.10, 20.50) |
| CIE-LCH | lch(32.16, 32.41, 140.75°) |
| OKLab | oklab(40.66% -0.0683 0.0499) |
| OKLCH | oklch(40.66% 0.085 143.8) |
| XYZ | xyz(4.6210, 7.1561, 3.3278) |
| Luminance | 0.0716 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.42
Pine
#2B5D34
ΔE00 2.92
Hunter Green
#355E3B
ΔE00 4.09
Pine Green
#0A481E
ΔE00 5.14
Spruce
#0A5F38
ΔE00 5.80
British Racing Green
#05480D
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A552A #552A55
analogous
#40552A #2A552A #2A5540
triadic
#2A552A #2A2A55 #552A2A
tetradic
#2A552A #2A4055 #552A55 #55402A
square
#2A552A #2A4055 #552A55 #55402A
split-complementary
#2A552A #402A55 #552A40
monochromatic
#0A140A #162C16 #2A552A #3E7E3E #52A752
Accessibility & contrast
On white
8.64
#2A552A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#2A552A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A552A
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A552A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A552A | 1.00 | 8.64 | 2.43 | 8.64 |
| #FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574E27
Deuteranopia (green-blind)
#514A2D
Tritanopia (blue-blind)
#24534B
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2a552a; /* rgb */ color: rgb(42, 85, 42); /* oklch */ color: oklch(40.7% 0.085 143.8);
Tailwind
colors: {
custom: {
50: '#678564',
500: '#2a552a',
950: '#000000',
},
}SCSS
$custom: #2a552a; $custom-light: #678564; $custom-dark: #000000;
JSON
{
"hex": "#2a552a",
"rgb": {
"r": 42,
"g": 85,
"b": 42
},
"hsl": {
"h": 120,
"s": 33.858,
"l": 24.902
},
"oklch": {
"l": 0.40659,
"c": 0.08459,
"h": 143.8
},
"luminance": 0.07156
}Semantic roles & 50–950 ramp
primary
#2A552A
secondary
#875387
accent
#5ECACA
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060B05
muted
#7A7C7A