#18542B#18542B
#18542B is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.6% C 0.092 H 150.3°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #18542B |
|---|---|
| RGB | rgb(24, 84, 43) |
| HSL | hsl(139, 56%, 21%) |
| HSV | hsv(139, 71%, 33%) |
| CMYK | cmyk(71.4%, 0%, 48.8%, 67.1%) |
| CIE-LAB | lab(31.13, -29.50, 18.47) |
| CIE-LCH | lch(31.13, 34.81, 147.95°) |
| OKLab | oklab(39.63% -0.0796 0.0454) |
| OKLCH | oklch(39.63% 0.092 150.3) |
| XYZ | xyz(3.9827, 6.7088, 3.3701) |
| Luminance | 0.0671 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.48
Pine Green
#0A481E
ΔE00 3.87
Spruce
#0A5F38
ΔE00 4.13
Forest Green
#2D5A27
ΔE00 4.37
Hunter Green
#355E3B
ΔE00 5.12
Evergreen
#05472A
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18542B #541841
analogous
#235418 #18542B #185449
triadic
#18542B #2B1854 #542B18
tetradic
#18542B #182354 #541841 #544918
square
#18542B #182354 #541841 #544918
split-complementary
#18542B #491854 #541823
monochromatic
#07180C #0A2413 #18542B #268443 #33B35C
Accessibility & contrast
On white
8.97
#18542B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#18542B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18542B
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18542B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18542B | 1.00 | 8.97 | 2.34 | 8.97 |
| #FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554C28
Deuteranopia (green-blind)
#4D472E
Tritanopia (blue-blind)
#01524A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #18542b; /* rgb */ color: rgb(24, 84, 43); /* oklch */ color: oklch(39.6% 0.092 150.3);
Tailwind
colors: {
custom: {
50: '#5d8565',
500: '#18542b',
950: '#000000',
},
}SCSS
$custom: #18542b; $custom-light: #5d8565; $custom-dark: #000000;
JSON
{
"hex": "#18542b",
"rgb": {
"r": 24,
"g": 84,
"b": 43
},
"hsl": {
"h": 139,
"s": 55.556,
"l": 21.176
},
"oklch": {
"l": 0.39632,
"c": 0.0916,
"h": 150.3
},
"luminance": 0.06709
}Semantic roles & 50–950 ramp
primary
#18542B
secondary
#8B3D72
accent
#49AFDF
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050B05
muted
#797C7A