#185918#185918
#185918 is a dark, moderate green. Relative luminance 0.074; OKLCH L 40.9% C 0.117 H 143.1°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #185918 |
|---|---|
| RGB | rgb(24, 89, 24) |
| HSL | hsl(120, 58%, 22%) |
| HSV | hsv(120, 73%, 35%) |
| CMYK | cmyk(73%, 0%, 73%, 65.1%) |
| CIE-LAB | lab(32.71, -34.41, 30.55) |
| CIE-LCH | lch(32.71, 46.01, 138.40°) |
| OKLab | oklab(40.85% -0.0934 0.0703) |
| OKLCH | oklch(40.85% 0.117 143.1) |
| XYZ | xyz(4.1137, 7.4045, 2.0764) |
| Luminance | 0.0741 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 1.73
Forest
#0B5509
ΔE00 2.12
Forest Green
#2D5A27
ΔE00 3.53
Bottle Green
#044A05
ΔE00 4.80
Darkgreen (survey)
#054907
ΔE00 5.03
Darkgreen
#006400
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#185918 #591859
analogous
#395918 #185918 #185939
triadic
#185918 #181859 #591818
tetradic
#185918 #183959 #591859 #593918
square
#185918 #183959 #591859 #593918
split-complementary
#185918 #391859 #591839
monochromatic
#061806 #0B290B #185918 #258925 #32B932
Accessibility & contrast
On white
8.46
#185918 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#185918 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #185918
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##185918 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##185918 | 1.00 | 8.46 | 2.48 | 8.46 |
| #FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B500F
Deuteranopia (green-blind)
#534B1E
Tritanopia (blue-blind)
#07564C
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #185918; /* rgb */ color: rgb(24, 89, 24); /* oklch */ color: oklch(40.9% 0.117 143.1);
Tailwind
colors: {
custom: {
50: '#608959',
500: '#185918',
950: '#000000',
},
}SCSS
$custom: #185918; $custom-light: #608959; $custom-dark: #000000;
JSON
{
"hex": "#185918",
"rgb": {
"r": 24,
"g": 89,
"b": 24
},
"hsl": {
"h": 120,
"s": 57.522,
"l": 22.157
},
"oklch": {
"l": 0.40854,
"c": 0.11689,
"h": 143.1
},
"luminance": 0.07405
}Semantic roles & 50–950 ramp
primary
#185918
secondary
#903D90
accent
#47E1E1
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050B03
muted
#797C78