#185F18#185F18
#185F18 is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.7% C 0.125 H 143.0°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #185F18 |
|---|---|
| RGB | rgb(24, 95, 24) |
| HSL | hsl(120, 60%, 23%) |
| HSV | hsv(120, 75%, 37%) |
| CMYK | cmyk(74.7%, 0%, 74.7%, 62.7%) |
| CIE-LAB | lab(34.89, -36.71, 32.86) |
| CIE-LCH | lch(34.89, 49.27, 138.16°) |
| OKLab | oklab(42.66% -0.0997 0.0751) |
| OKLCH | oklch(42.66% 0.125 143) |
| XYZ | xyz(4.6335, 8.4441, 2.2497) |
| Luminance | 0.0844 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.26
Forest
#0B5509
ΔE00 3.31
Darkgreen
#006400
ΔE00 3.49
Forest Green
#2D5A27
ΔE00 4.45
Pine
#2B5D34
ΔE00 6.47
Bottle Green
#044A05
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#185F18 #5F185F
analogous
#3B5F18 #185F18 #185F3B
triadic
#185F18 #18185F #5F1818
tetradic
#185F18 #183B5F #5F185F #5F3B18
square
#185F18 #183B5F #5F185F #5F3B18
split-complementary
#185F18 #3B185F #5F183B
monochromatic
#061806 #0C2E0C #185F18 #249024 #31C131
Accessibility & contrast
On white
7.81
#185F18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#185F18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #185F18
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##185F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##185F18 | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#61550D
Deuteranopia (green-blind)
#59501F
Tritanopia (blue-blind)
#035C51
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #185f18; /* rgb */ color: rgb(24, 95, 24); /* oklch */ color: oklch(42.7% 0.125 143.0);
Tailwind
colors: {
custom: {
50: '#618d59',
500: '#185f18',
950: '#000000',
},
}SCSS
$custom: #185f18; $custom-light: #618d59; $custom-dark: #000000;
JSON
{
"hex": "#185f18",
"rgb": {
"r": 24,
"g": 95,
"b": 24
},
"hsl": {
"h": 120,
"s": 59.664,
"l": 23.333
},
"oklch": {
"l": 0.42662,
"c": 0.12479,
"h": 143
},
"luminance": 0.08445
}Semantic roles & 50–950 ramp
primary
#185F18
secondary
#953D95
accent
#45E3E3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79