#18542F#18542F
#18542F is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.7% C 0.087 H 152.6°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #18542F |
|---|---|
| RGB | rgb(24, 84, 47) |
| HSL | hsl(143, 56%, 21%) |
| HSV | hsv(143, 71%, 33%) |
| CMYK | cmyk(71.4%, 0%, 44%, 67.1%) |
| CIE-LAB | lab(31.21, -28.70, 16.17) |
| CIE-LCH | lch(31.21, 32.94, 150.60°) |
| OKLab | oklab(39.72% -0.0775 0.0402) |
| OKLCH | oklch(39.72% 0.087 152.6) |
| XYZ | xyz(4.0598, 6.7396, 3.7757) |
| Luminance | 0.0674 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.65
Spruce
#0A5F38
ΔE00 3.84
Pine Green
#0A481E
ΔE00 4.28
Evergreen
#05472A
ΔE00 4.62
Hunter Green
#355E3B
ΔE00 4.90
Forest Green
#2D5A27
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18542F #54183D
analogous
#1F5418 #18542F #18544D
triadic
#18542F #2F1854 #542F18
tetradic
#18542F #181F54 #54183D #544D18
square
#18542F #181F54 #54183D #544D18
split-complementary
#18542F #4D1854 #54181F
monochromatic
#07180D #0A2414 #18542F #26844A #33B364
Accessibility & contrast
On white
8.94
#18542F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#18542F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18542F
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18542F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18542F | 1.00 | 8.94 | 2.35 | 8.94 |
| #FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544D2C
Deuteranopia (green-blind)
#4C4731
Tritanopia (blue-blind)
#00534B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #18542f; /* rgb */ color: rgb(24, 84, 47); /* oklch */ color: oklch(39.7% 0.087 152.6);
Tailwind
colors: {
custom: {
50: '#5d8568',
500: '#18542f',
950: '#000000',
},
}SCSS
$custom: #18542f; $custom-light: #5d8568; $custom-dark: #000000;
JSON
{
"hex": "#18542f",
"rgb": {
"r": 24,
"g": 84,
"b": 47
},
"hsl": {
"h": 143,
"s": 55.556,
"l": 21.176
},
"oklch": {
"l": 0.39715,
"c": 0.08729,
"h": 152.6
},
"luminance": 0.0674
}Semantic roles & 50–950 ramp
primary
#18542F
secondary
#8B3D6D
accent
#49A5DF
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050B06
muted
#797C7A