#18522C#18522C
#18522C is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.1% C 0.087 H 151.3°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #18522C |
|---|---|
| RGB | rgb(24, 82, 44) |
| HSL | hsl(141, 55%, 21%) |
| HSV | hsv(141, 71%, 32%) |
| CMYK | cmyk(70.7%, 0%, 46.3%, 67.8%) |
| CIE-LAB | lab(30.42, -28.42, 16.96) |
| CIE-LCH | lch(30.42, 33.09, 149.17°) |
| OKLab | oklab(39.05% -0.0767 0.0419) |
| OKLCH | oklch(39.05% 0.087 151.3) |
| XYZ | xyz(3.8483, 6.4102, 3.4169) |
| Luminance | 0.0641 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 3.54
Pine
#2B5D34
ΔE00 4.02
Evergreen
#05472A
ΔE00 4.34
Spruce
#0A5F38
ΔE00 4.53
Forest Green
#2D5A27
ΔE00 5.10
Hunter Green
#355E3B
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18522C #52183E
analogous
#215218 #18522C #185249
triadic
#18522C #2C1852 #522C18
tetradic
#18522C #182152 #52183E #524918
square
#18522C #182152 #52183E #524918
split-complementary
#18522C #491852 #521821
monochromatic
#07180D #0A2313 #18522C #268145 #34B15F
Accessibility & contrast
On white
9.20
#18522C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#18522C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18522C
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18522C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18522C | 1.00 | 9.20 | 2.28 | 9.20 |
| #FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524B29
Deuteranopia (green-blind)
#4B462F
Tritanopia (blue-blind)
#025149
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #18522c; /* rgb */ color: rgb(24, 82, 44); /* oklch */ color: oklch(39.1% 0.087 151.3);
Tailwind
colors: {
custom: {
50: '#5d8365',
500: '#18522c',
950: '#000000',
},
}SCSS
$custom: #18522c; $custom-light: #5d8365; $custom-dark: #000000;
JSON
{
"hex": "#18522c",
"rgb": {
"r": 24,
"g": 82,
"b": 44
},
"hsl": {
"h": 140.69,
"s": 54.717,
"l": 20.784
},
"oklch": {
"l": 0.39053,
"c": 0.08741,
"h": 151.3
},
"luminance": 0.06411
}Semantic roles & 50–950 ramp
primary
#18522C
secondary
#893D6F
accent
#4AABDE
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050B05
muted
#797C7A