#18522F#18522F
#18522F is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.1% C 0.084 H 153.2°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #18522F |
|---|---|
| RGB | rgb(24, 82, 47) |
| HSL | hsl(144, 55%, 21%) |
| HSV | hsv(144, 71%, 32%) |
| CMYK | cmyk(70.7%, 0%, 42.7%, 67.8%) |
| CIE-LAB | lab(30.48, -27.79, 15.22) |
| CIE-LCH | lch(30.48, 31.69, 151.30°) |
| OKLab | oklab(39.12% -0.0751 0.0379) |
| OKLCH | oklch(39.12% 0.084 153.2) |
| XYZ | xyz(3.9067, 6.4336, 3.7247) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Evergreen
#05472A
ΔE00 3.90
Pine Green
#0A481E
ΔE00 4.03
Pine
#2B5D34
ΔE00 4.27
Spruce
#0A5F38
ΔE00 4.45
Hunter Green
#355E3B
ΔE00 5.25
Forest Green
#2D5A27
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18522F #52183B
analogous
#1E5218 #18522F #18524C
triadic
#18522F #2F1852 #522F18
tetradic
#18522F #181E52 #52183B #524C18
square
#18522F #181E52 #52183B #524C18
split-complementary
#18522F #4C1852 #52181E
monochromatic
#07180E #0A2314 #18522F #26814A #34B165
Accessibility & contrast
On white
9.18
#18522F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#18522F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18522F
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18522F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18522F | 1.00 | 9.18 | 2.29 | 9.18 |
| #FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524B2D
Deuteranopia (green-blind)
#4B4631
Tritanopia (blue-blind)
#005149
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #18522f; /* rgb */ color: rgb(24, 82, 47); /* oklch */ color: oklch(39.1% 0.084 153.2);
Tailwind
colors: {
custom: {
50: '#5d8368',
500: '#18522f',
950: '#000000',
},
}SCSS
$custom: #18522f; $custom-light: #5d8368; $custom-dark: #000000;
JSON
{
"hex": "#18522f",
"rgb": {
"r": 24,
"g": 82,
"b": 47
},
"hsl": {
"h": 143.793,
"s": 54.717,
"l": 20.784
},
"oklch": {
"l": 0.39118,
"c": 0.08415,
"h": 153.2
},
"luminance": 0.06434
}Semantic roles & 50–950 ramp
primary
#18522F
secondary
#893D6B
accent
#4AA3DE
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A