#18581F#18581F
#18581F is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.6% C 0.110 H 144.9°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #18581F |
|---|---|
| RGB | rgb(24, 88, 31) |
| HSL | hsl(127, 57%, 22%) |
| HSV | hsv(127, 73%, 35%) |
| CMYK | cmyk(72.7%, 0%, 64.8%, 65.5%) |
| CIE-LAB | lab(32.42, -33.15, 26.77) |
| CIE-LCH | lch(32.42, 42.61, 141.09°) |
| OKLab | oklab(40.64% -0.0897 0.063) |
| OKLCH | oklch(40.64% 0.11 144.9) |
| XYZ | xyz(4.1135, 7.2721, 2.4829) |
| Luminance | 0.0727 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.88
Deep Green
#02590F
ΔE00 2.95
Forest
#0B5509
ΔE00 3.32
Pine
#2B5D34
ΔE00 4.61
Bottle Green
#044A05
ΔE00 5.02
British Racing Green
#05480D
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18581F #581851
analogous
#315818 #18581F #18583F
triadic
#18581F #1F1858 #581F18
tetradic
#18581F #183158 #581851 #583F18
square
#18581F #183158 #581851 #583F18
split-complementary
#18581F #3F1858 #581831
monochromatic
#071808 #0B280E #18581F #258830 #32B841
Accessibility & contrast
On white
8.56
#18581F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#18581F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18581F
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18581F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18581F | 1.00 | 8.56 | 2.45 | 8.56 |
| #FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A4F19
Deuteranopia (green-blind)
#524A24
Tritanopia (blue-blind)
#05564C
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #18581f; /* rgb */ color: rgb(24, 88, 31); /* oklch */ color: oklch(40.6% 0.110 144.9);
Tailwind
colors: {
custom: {
50: '#5f885d',
500: '#18581f',
950: '#000000',
},
}SCSS
$custom: #18581f; $custom-light: #5f885d; $custom-dark: #000000;
JSON
{
"hex": "#18581f",
"rgb": {
"r": 24,
"g": 88,
"b": 31
},
"hsl": {
"h": 126.563,
"s": 57.143,
"l": 21.961
},
"oklch": {
"l": 0.40636,
"c": 0.10959,
"h": 144.9
},
"luminance": 0.07273
}Semantic roles & 50–950 ramp
primary
#18581F
secondary
#8F3D86
accent
#47D0E0
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050B04
muted
#797C79