#186912#186912
#186912 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.6% C 0.141 H 142.1°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #186912 |
|---|---|
| RGB | rgb(24, 105, 18) |
| HSL | hsl(116, 71%, 24%) |
| HSV | hsv(116, 83%, 41%) |
| CMYK | cmyk(77.1%, 0%, 82.9%, 58.8%) |
| CIE-LAB | lab(38.45, -40.85, 38.78) |
| CIE-LCH | lch(38.45, 56.33, 136.49°) |
| OKLab | oklab(45.6% -0.1112 0.0866) |
| OKLCH | oklch(45.6% 0.141 142.1) |
| XYZ | xyz(5.5371, 10.3404, 2.2762) |
| Luminance | 0.1034 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.20
Deep Green
#02590F
ΔE00 5.44
Forest
#0B5509
ΔE00 6.47
Tree Green
#2A7E19
ΔE00 7.36
Forest Green
#2D5A27
ΔE00 7.45
Darkish Green
#287C37
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186912 #631269
analogous
#446912 #186912 #126938
triadic
#186912 #121869 #691218
tetradic
#186912 #124469 #631269 #693812
square
#186912 #124469 #631269 #693812
split-complementary
#186912 #381269 #691244
monochromatic
#061A04 #0C3509 #186912 #249D1B #30D124
Accessibility & contrast
On white
6.84
#186912 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#186912 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #186912
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186912 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186912 | 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)
#6C5E00
Deuteranopia (green-blind)
#63581C
Tritanopia (blue-blind)
#006659
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #186912; /* rgb */ color: rgb(24, 105, 18); /* oklch */ color: oklch(45.6% 0.141 142.1);
Tailwind
colors: {
custom: {
50: '#649558',
500: '#186912',
950: '#000000',
},
}SCSS
$custom: #186912; $custom-light: #649558; $custom-dark: #000000;
JSON
{
"hex": "#186912",
"rgb": {
"r": 24,
"g": 105,
"b": 18
},
"hsl": {
"h": 115.862,
"s": 70.732,
"l": 24.118
},
"oklch": {
"l": 0.45599,
"c": 0.14093,
"h": 142.1
},
"luminance": 0.10341
}Semantic roles & 50–950 ramp
primary
#186912
secondary
#9936A1
accent
#3AEDE1
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79