#2A542E#2A542E
#2A542E is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.4% C 0.078 H 146.0°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2A542E |
|---|---|
| RGB | rgb(42, 84, 46) |
| HSL | hsl(126, 33%, 25%) |
| HSV | hsv(126, 50%, 33%) |
| CMYK | cmyk(50%, 0%, 45.2%, 67.1%) |
| CIE-LAB | lab(31.87, -23.91, 17.77) |
| CIE-LCH | lch(31.87, 29.79, 143.37°) |
| OKLab | oklab(40.45% -0.065 0.0439) |
| OKLCH | oklch(40.45% 0.078 146) |
| XYZ | xyz(4.6181, 7.0298, 3.6978) |
| Luminance | 0.0703 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.01
Hunter Green
#355E3B
ΔE00 3.64
Forest Green
#2D5A27
ΔE00 3.71
Pine Green
#0A481E
ΔE00 5.07
Spruce
#0A5F38
ΔE00 5.60
Evergreen
#05472A
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A542E #542A50
analogous
#3B542A #2A542E #2A5443
triadic
#2A542E #2E2A54 #542E2A
tetradic
#2A542E #2A3B54 #542A50 #54432A
square
#2A542E #2A3B54 #542A50 #54432A
split-complementary
#2A542E #432A54 #542A3B
monochromatic
#0A140B #162B18 #2A542E #3E7D44 #53A65B
Accessibility & contrast
On white
8.73
#2A542E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#2A542E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A542E
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A542E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A542E | 1.00 | 8.73 | 2.41 | 8.73 |
| #FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554D2B
Deuteranopia (green-blind)
#4F4930
Tritanopia (blue-blind)
#24524B
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2a542e; /* rgb */ color: rgb(42, 84, 46); /* oklch */ color: oklch(40.4% 0.078 146.0);
Tailwind
colors: {
custom: {
50: '#678467',
500: '#2a542e',
950: '#000000',
},
}SCSS
$custom: #2a542e; $custom-light: #678467; $custom-dark: #000000;
JSON
{
"hex": "#2a542e",
"rgb": {
"r": 42,
"g": 84,
"b": 46
},
"hsl": {
"h": 125.714,
"s": 33.333,
"l": 24.706
},
"oklch": {
"l": 0.40448,
"c": 0.0784,
"h": 146
},
"luminance": 0.0703
}Semantic roles & 50–950 ramp
primary
#2A542E
secondary
#865381
accent
#5EBFC9
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060B06
muted
#7A7C7A