#186916#186916
#186916 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.6% C 0.139 H 142.6°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #186916 |
|---|---|
| RGB | rgb(24, 105, 22) |
| HSL | hsl(119, 65%, 25%) |
| HSV | hsv(119, 79%, 41%) |
| CMYK | cmyk(77.1%, 0%, 79%, 58.8%) |
| CIE-LAB | lab(38.47, -40.55, 37.35) |
| CIE-LCH | lch(38.47, 55.13, 137.35°) |
| OKLab | oklab(45.63% -0.1102 0.0842) |
| OKLCH | oklch(45.63% 0.139 142.6) |
| XYZ | xyz(5.5727, 10.3546, 2.4639) |
| Luminance | 0.1036 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.48
Deep Green
#02590F
ΔE00 5.32
Forest
#0B5509
ΔE00 6.41
Forest Green
#2D5A27
ΔE00 7.16
Darkish Green
#287C37
ΔE00 7.30
Tree Green
#2A7E19
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186916 #671669
analogous
#426916 #186916 #16693D
triadic
#186916 #161869 #691618
tetradic
#186916 #164269 #671669 #693D16
square
#186916 #164269 #671669 #693D16
split-complementary
#186916 #3D1669 #691642
monochromatic
#061905 #0C360B #186916 #249C21 #2FCE2B
Accessibility & contrast
On white
6.84
#186916 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#186916 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #186916
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186916 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186916 | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5E05
Deuteranopia (green-blind)
#62581F
Tritanopia (blue-blind)
#006659
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #186916; /* rgb */ color: rgb(24, 105, 22); /* oklch */ color: oklch(45.6% 0.139 142.6);
Tailwind
colors: {
custom: {
50: '#64955a',
500: '#186916',
950: '#000000',
},
}SCSS
$custom: #186916; $custom-light: #64955a; $custom-dark: #000000;
JSON
{
"hex": "#186916",
"rgb": {
"r": 24,
"g": 105,
"b": 22
},
"hsl": {
"h": 118.554,
"s": 65.354,
"l": 24.902
},
"oklch": {
"l": 0.45628,
"c": 0.13866,
"h": 142.6
},
"luminance": 0.10355
}Semantic roles & 50–950 ramp
primary
#186916
secondary
#9D3B9F
accent
#3FE8E4
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79