#18542C#18542C
#18542C is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.7% C 0.091 H 150.8°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #18542C |
|---|---|
| RGB | rgb(24, 84, 44) |
| HSL | hsl(140, 56%, 21%) |
| HSV | hsv(140, 71%, 33%) |
| CMYK | cmyk(71.4%, 0%, 47.6%, 67.1%) |
| CIE-LAB | lab(31.15, -29.31, 17.90) |
| CIE-LCH | lch(31.15, 34.34, 148.58°) |
| OKLab | oklab(39.65% -0.0791 0.0441) |
| OKLCH | oklch(39.65% 0.091 150.8) |
| XYZ | xyz(4.0013, 6.7163, 3.4679) |
| Luminance | 0.0672 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.49
Pine Green
#0A481E
ΔE00 3.94
Spruce
#0A5F38
ΔE00 4.03
Forest Green
#2D5A27
ΔE00 4.56
Hunter Green
#355E3B
ΔE00 5.04
Evergreen
#05472A
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18542C #541840
analogous
#225418 #18542C #18544A
triadic
#18542C #2C1854 #542C18
tetradic
#18542C #182254 #541840 #544A18
square
#18542C #182254 #541840 #544A18
split-complementary
#18542C #4A1854 #541822
monochromatic
#07180C #0A2413 #18542C #268445 #33B35E
Accessibility & contrast
On white
8.96
#18542C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#18542C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18542C
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18542C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18542C | 1.00 | 8.96 | 2.34 | 8.96 |
| #FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544D29
Deuteranopia (green-blind)
#4D472F
Tritanopia (blue-blind)
#01534A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #18542c; /* rgb */ color: rgb(24, 84, 44); /* oklch */ color: oklch(39.7% 0.091 150.8);
Tailwind
colors: {
custom: {
50: '#5d8565',
500: '#18542c',
950: '#000000',
},
}SCSS
$custom: #18542c; $custom-light: #5d8565; $custom-dark: #000000;
JSON
{
"hex": "#18542c",
"rgb": {
"r": 24,
"g": 84,
"b": 44
},
"hsl": {
"h": 140,
"s": 55.556,
"l": 21.176
},
"oklch": {
"l": 0.39652,
"c": 0.09053,
"h": 150.8
},
"luminance": 0.06717
}Semantic roles & 50–950 ramp
primary
#18542C
secondary
#8B3D71
accent
#49ADDF
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050B05
muted
#797C7A