#18542E#18542E
#18542E is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.7% C 0.088 H 152.0°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #18542E |
|---|---|
| RGB | rgb(24, 84, 46) |
| HSL | hsl(142, 56%, 21%) |
| HSV | hsv(142, 71%, 33%) |
| CMYK | cmyk(71.4%, 0%, 45.2%, 67.1%) |
| CIE-LAB | lab(31.19, -28.90, 16.75) |
| CIE-LCH | lch(31.19, 33.41, 149.91°) |
| OKLab | oklab(39.69% -0.078 0.0415) |
| OKLCH | oklch(39.69% 0.088 152) |
| XYZ | xyz(4.0398, 6.7317, 3.6707) |
| Luminance | 0.0673 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.58
Spruce
#0A5F38
ΔE00 3.88
Pine Green
#0A481E
ΔE00 4.14
Evergreen
#05472A
ΔE00 4.76
Hunter Green
#355E3B
ΔE00 4.93
Forest Green
#2D5A27
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18542E #54183E
analogous
#205418 #18542E #18544C
triadic
#18542E #2E1854 #542E18
tetradic
#18542E #182054 #54183E #544C18
square
#18542E #182054 #54183E #544C18
split-complementary
#18542E #4C1854 #541820
monochromatic
#07180D #0A2414 #18542E #268448 #33B362
Accessibility & contrast
On white
8.95
#18542E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#18542E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18542E
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18542E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18542E | 1.00 | 8.95 | 2.35 | 8.95 |
| #FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544D2B
Deuteranopia (green-blind)
#4D4731
Tritanopia (blue-blind)
#00534B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #18542e; /* rgb */ color: rgb(24, 84, 46); /* oklch */ color: oklch(39.7% 0.088 152.0);
Tailwind
colors: {
custom: {
50: '#5d8567',
500: '#18542e',
950: '#000000',
},
}SCSS
$custom: #18542e; $custom-light: #5d8567; $custom-dark: #000000;
JSON
{
"hex": "#18542e",
"rgb": {
"r": 24,
"g": 84,
"b": 46
},
"hsl": {
"h": 142,
"s": 55.556,
"l": 21.176
},
"oklch": {
"l": 0.39693,
"c": 0.08837,
"h": 152
},
"luminance": 0.06732
}Semantic roles & 50–950 ramp
primary
#18542E
secondary
#8B3D6E
accent
#49A8DF
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050B06
muted
#797C7A