#18512F#18512F
#18512F is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.8% C 0.083 H 153.6°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #18512F |
|---|---|
| RGB | rgb(24, 81, 47) |
| HSL | hsl(144, 54%, 21%) |
| HSV | hsv(144, 70%, 32%) |
| CMYK | cmyk(70.4%, 0%, 42%, 68.2%) |
| CIE-LAB | lab(30.12, -27.34, 14.73) |
| CIE-LCH | lch(30.12, 31.05, 151.68°) |
| OKLab | oklab(38.82% -0.0739 0.0368) |
| OKLCH | oklch(38.82% 0.083 153.6) |
| XYZ | xyz(3.8319, 6.2839, 3.6997) |
| Luminance | 0.0628 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Evergreen
#05472A
ΔE00 3.55
Pine Green
#0A481E
ΔE00 3.97
Pine
#2B5D34
ΔE00 4.59
Spruce
#0A5F38
ΔE00 4.78
Hunter Green
#355E3B
ΔE00 5.45
Forest Green
#2D5A27
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18512F #51183A
analogous
#1D5118 #18512F #18514B
triadic
#18512F #2F1851 #512F18
tetradic
#18512F #181D51 #51183A #514B18
square
#18512F #181D51 #51183A #514B18
split-complementary
#18512F #4B1851 #51181D
monochromatic
#07180E #0A2214 #18512F #26804A #34AF66
Accessibility & contrast
On white
9.31
#18512F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#18512F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18512F
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18512F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18512F | 1.00 | 9.31 | 2.26 | 9.31 |
| #FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514A2D
Deuteranopia (green-blind)
#4A4531
Tritanopia (blue-blind)
#005048
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #18512f; /* rgb */ color: rgb(24, 81, 47); /* oklch */ color: oklch(38.8% 0.083 153.6);
Tailwind
colors: {
custom: {
50: '#5d8268',
500: '#18512f',
950: '#000000',
},
}SCSS
$custom: #18512f; $custom-light: #5d8268; $custom-dark: #000000;
JSON
{
"hex": "#18512f",
"rgb": {
"r": 24,
"g": 81,
"b": 47
},
"hsl": {
"h": 144.211,
"s": 54.286,
"l": 20.588
},
"oklch": {
"l": 0.38819,
"c": 0.08258,
"h": 153.6
},
"luminance": 0.06284
}Semantic roles & 50–950 ramp
primary
#18512F
secondary
#883D6A
accent
#4AA2DE
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A06
muted
#797C7A