#18522B#18522B
#18522B is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.0% C 0.088 H 150.8°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #18522B |
|---|---|
| RGB | rgb(24, 82, 43) |
| HSL | hsl(140, 55%, 21%) |
| HSV | hsv(140, 71%, 32%) |
| CMYK | cmyk(70.7%, 0%, 47.6%, 67.8%) |
| CIE-LAB | lab(30.41, -28.62, 17.54) |
| CIE-LCH | lch(30.41, 33.56, 148.50°) |
| OKLab | oklab(39.03% -0.0772 0.0432) |
| OKLCH | oklch(39.03% 0.088 150.8) |
| XYZ | xyz(3.8297, 6.4028, 3.3191) |
| Luminance | 0.0640 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 3.42
Pine
#2B5D34
ΔE00 3.98
Evergreen
#05472A
ΔE00 4.52
Spruce
#0A5F38
ΔE00 4.59
Forest Green
#2D5A27
ΔE00 4.90
Hunter Green
#355E3B
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18522B #52183F
analogous
#225218 #18522B #185248
triadic
#18522B #2B1852 #522B18
tetradic
#18522B #182252 #52183F #524818
square
#18522B #182252 #52183F #524818
split-complementary
#18522B #481852 #521822
monochromatic
#07180C #0A2312 #18522B #268144 #34B15D
Accessibility & contrast
On white
9.21
#18522B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#18522B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18522B
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18522B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18522B | 1.00 | 9.21 | 2.28 | 9.21 |
| #FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524B28
Deuteranopia (green-blind)
#4B462E
Tritanopia (blue-blind)
#025149
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #18522b; /* rgb */ color: rgb(24, 82, 43); /* oklch */ color: oklch(39.0% 0.088 150.8);
Tailwind
colors: {
custom: {
50: '#5d8365',
500: '#18522b',
950: '#000000',
},
}SCSS
$custom: #18522b; $custom-light: #5d8365; $custom-dark: #000000;
JSON
{
"hex": "#18522b",
"rgb": {
"r": 24,
"g": 82,
"b": 43
},
"hsl": {
"h": 139.655,
"s": 54.717,
"l": 20.784
},
"oklch": {
"l": 0.39032,
"c": 0.08849,
"h": 150.8
},
"luminance": 0.06403
}Semantic roles & 50–950 ramp
primary
#18522B
secondary
#893D70
accent
#4AADDE
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050B05
muted
#797C7A