#18561F#18561F
#18561F is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.0% C 0.107 H 145.0°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #18561F |
|---|---|
| RGB | rgb(24, 86, 31) |
| HSL | hsl(127, 56%, 22%) |
| HSV | hsv(127, 72%, 34%) |
| CMYK | cmyk(72.1%, 0%, 64%, 66.3%) |
| CIE-LAB | lab(31.69, -32.34, 25.92) |
| CIE-LCH | lch(31.69, 41.45, 141.29°) |
| OKLab | oklab(40.03% -0.0875 0.0612) |
| OKLCH | oklch(40.03% 0.107 145) |
| XYZ | xyz(3.9515, 6.9483, 2.4290) |
| Luminance | 0.0695 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.95
Deep Green
#02590F
ΔE00 3.38
Forest
#0B5509
ΔE00 3.51
British Racing Green
#05480D
ΔE00 4.56
Pine
#2B5D34
ΔE00 4.60
Bottle Green
#044A05
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18561F #56184F
analogous
#305618 #18561F #18563E
triadic
#18561F #1F1856 #561F18
tetradic
#18561F #183056 #56184F #563E18
square
#18561F #183056 #56184F #563E18
split-complementary
#18561F #3E1856 #561830
monochromatic
#071809 #0B260E #18561F #258630 #33B641
Accessibility & contrast
On white
8.79
#18561F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#18561F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18561F
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18561F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18561F | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#584E19
Deuteranopia (green-blind)
#504923
Tritanopia (blue-blind)
#06544A
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #18561f; /* rgb */ color: rgb(24, 86, 31); /* oklch */ color: oklch(40.0% 0.107 145.0);
Tailwind
colors: {
custom: {
50: '#5e865d',
500: '#18561f',
950: '#000000',
},
}SCSS
$custom: #18561f; $custom-light: #5e865d; $custom-dark: #000000;
JSON
{
"hex": "#18561f",
"rgb": {
"r": 24,
"g": 86,
"b": 31
},
"hsl": {
"h": 126.774,
"s": 56.364,
"l": 21.569
},
"oklch": {
"l": 0.40033,
"c": 0.10675,
"h": 145
},
"luminance": 0.06949
}Semantic roles & 50–950 ramp
primary
#18561F
secondary
#8D3D84
accent
#48CFE0
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B04
muted
#797C79