#186C17#186C17
#186C17 is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.5% C 0.142 H 142.7°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #186C17 |
|---|---|
| RGB | rgb(24, 108, 23) |
| HSL | hsl(119, 65%, 26%) |
| HSV | hsv(119, 79%, 42%) |
| CMYK | cmyk(77.8%, 0%, 78.7%, 57.6%) |
| CIE-LAB | lab(39.55, -41.53, 38.04) |
| CIE-LCH | lch(39.55, 56.32, 137.51°) |
| OKLab | oklab(46.52% -0.1128 0.0858) |
| OKLCH | oklch(46.52% 0.142 142.7) |
| XYZ | xyz(5.8935, 10.9805, 2.6193) |
| Luminance | 0.1098 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.14
Deep Green
#02590F
ΔE00 6.29
Tree Green
#2A7E19
ΔE00 6.51
Darkish Green
#287C37
ΔE00 6.52
Green
#008000
ΔE00 7.35
Forest
#0B5509
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186C17 #6B176C
analogous
#426C17 #186C17 #176C40
triadic
#186C17 #17186C #6C1718
tetradic
#186C17 #17426C #6B176C #6C4017
square
#186C17 #17426C #6B176C #6C4017
split-complementary
#186C17 #40176C #6C1742
monochromatic
#061905 #0D3A0C #186C17 #239E22 #2ED12C
Accessibility & contrast
On white
6.57
#186C17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#186C17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #186C17
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186C17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186C17 | 1.00 | 6.57 | 3.20 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F6106
Deuteranopia (green-blind)
#655B20
Tritanopia (blue-blind)
#00695C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #186c17; /* rgb */ color: rgb(24, 108, 23); /* oklch */ color: oklch(46.5% 0.142 142.7);
Tailwind
colors: {
custom: {
50: '#65975b',
500: '#186c17',
950: '#000000',
},
}SCSS
$custom: #186c17; $custom-light: #65975b; $custom-dark: #000000;
JSON
{
"hex": "#186c17",
"rgb": {
"r": 24,
"g": 108,
"b": 23
},
"hsl": {
"h": 119.294,
"s": 64.885,
"l": 25.686
},
"oklch": {
"l": 0.46524,
"c": 0.14169,
"h": 142.7
},
"luminance": 0.10981
}Semantic roles & 50–950 ramp
primary
#186C17
secondary
#A13DA2
accent
#40E8E6
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79