#186718#186718
#186718 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.1% C 0.135 H 142.9°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #186718 |
|---|---|
| RGB | rgb(24, 103, 24) |
| HSL | hsl(120, 62%, 25%) |
| HSV | hsv(120, 77%, 40%) |
| CMYK | cmyk(76.7%, 0%, 76.7%, 59.6%) |
| CIE-LAB | lab(37.77, -39.66, 35.85) |
| CIE-LCH | lch(37.77, 53.45, 137.89°) |
| OKLab | oklab(45.05% -0.1076 0.0813) |
| OKLCH | oklch(45.05% 0.135 142.9) |
| XYZ | xyz(5.3915, 9.9600, 2.5023) |
| Luminance | 0.0996 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.48
Deep Green
#02590F
ΔE00 4.62
Forest
#0B5509
ΔE00 5.75
Forest Green
#2D5A27
ΔE00 6.44
Darkish Green
#287C37
ΔE00 7.70
Pine
#2B5D34
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186718 #671867
analogous
#406718 #186718 #186740
triadic
#186718 #181867 #671818
tetradic
#186718 #184067 #671867 #674018
square
#186718 #184067 #671867 #674018
split-complementary
#186718 #401867 #671840
monochromatic
#061906 #0C350C #186718 #249924 #2FCA2F
Accessibility & contrast
On white
7.02
#186718 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#186718 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #186718
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186718 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186718 | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695D0A
Deuteranopia (green-blind)
#605720
Tritanopia (blue-blind)
#006458
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #186718; /* rgb */ color: rgb(24, 103, 24); /* oklch */ color: oklch(45.1% 0.135 142.9);
Tailwind
colors: {
custom: {
50: '#63935a',
500: '#186718',
950: '#000000',
},
}SCSS
$custom: #186718; $custom-light: #63935a; $custom-dark: #000000;
JSON
{
"hex": "#186718",
"rgb": {
"r": 24,
"g": 103,
"b": 24
},
"hsl": {
"h": 120,
"s": 62.205,
"l": 24.902
},
"oklch": {
"l": 0.45051,
"c": 0.13492,
"h": 142.9
},
"luminance": 0.09961
}Semantic roles & 50–950 ramp
primary
#186718
secondary
#9D3E9D
accent
#43E5E5
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79