#22542E#22542E
#22542E is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.1% C 0.083 H 149.2°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #22542E |
|---|---|
| RGB | rgb(34, 84, 46) |
| HSL | hsl(134, 42%, 23%) |
| HSV | hsv(134, 60%, 33%) |
| CMYK | cmyk(59.5%, 0%, 45.2%, 67.1%) |
| CIE-LAB | lab(31.53, -26.38, 17.26) |
| CIE-LCH | lch(31.53, 31.52, 146.81°) |
| OKLab | oklab(40.07% -0.0715 0.0427) |
| OKLCH | oklch(40.07% 0.083 149.2) |
| XYZ | xyz(4.3229, 6.8776, 3.6839) |
| Luminance | 0.0688 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.02
Hunter Green
#355E3B
ΔE00 4.12
Forest Green
#2D5A27
ΔE00 4.20
Pine Green
#0A481E
ΔE00 4.42
Spruce
#0A5F38
ΔE00 4.60
Evergreen
#05472A
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22542E #542248
analogous
#2F5422 #22542E #225447
triadic
#22542E #2E2254 #542E22
tetradic
#22542E #222F54 #542248 #544722
square
#22542E #222F54 #542248 #544722
split-complementary
#22542E #472254 #54222F
monochromatic
#09160C #102816 #22542E #348046 #45AB5E
Accessibility & contrast
On white
8.84
#22542E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#22542E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22542E
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22542E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22542E | 1.00 | 8.84 | 2.38 | 8.84 |
| #FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554D2B
Deuteranopia (green-blind)
#4E4830
Tritanopia (blue-blind)
#17524B
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #22542e; /* rgb */ color: rgb(34, 84, 46); /* oklch */ color: oklch(40.1% 0.083 149.2);
Tailwind
colors: {
custom: {
50: '#628467',
500: '#22542e',
950: '#000000',
},
}SCSS
$custom: #22542e; $custom-light: #628467; $custom-dark: #000000;
JSON
{
"hex": "#22542e",
"rgb": {
"r": 34,
"g": 84,
"b": 46
},
"hsl": {
"h": 134.4,
"s": 42.373,
"l": 23.137
},
"oklch": {
"l": 0.40067,
"c": 0.08323,
"h": 149.2
},
"luminance": 0.06878
}Semantic roles & 50–950 ramp
primary
#22542E
secondary
#884A79
accent
#56B4D2
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#050B06
muted
#7A7C7A