#186012#186012
#186012 is a dark, vivid green. Relative luminance 0.086; OKLCH L 42.9% C 0.130 H 142.0°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #186012 |
|---|---|
| RGB | rgb(24, 96, 18) |
| HSL | hsl(115, 68%, 22%) |
| HSV | hsv(115, 81%, 38%) |
| CMYK | cmyk(75%, 0%, 81.3%, 62.4%) |
| CIE-LAB | lab(35.21, -37.62, 35.64) |
| CIE-LCH | lch(35.21, 51.82, 136.55°) |
| OKLab | oklab(42.91% -0.1024 0.08) |
| OKLCH | oklch(42.91% 0.13 142) |
| XYZ | xyz(4.6685, 8.6031, 1.9867) |
| Luminance | 0.0860 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.55
Deep Green
#02590F
ΔE00 2.63
Forest
#0B5509
ΔE00 3.53
Forest Green
#2D5A27
ΔE00 5.26
Bottle Green
#044A05
ΔE00 6.95
Navy Green
#35530A
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186012 #5A1260
analogous
#3F6012 #186012 #126033
triadic
#186012 #121860 #601218
tetradic
#186012 #123F60 #5A1260 #603312
square
#186012 #123F60 #5A1260 #603312
split-complementary
#186012 #331260 #60123F
monochromatic
#061A05 #0B2C08 #186012 #25941C #32C725
Accessibility & contrast
On white
7.72
#186012 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#186012 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #186012
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186012 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186012 | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625602
Deuteranopia (green-blind)
#5A511B
Tritanopia (blue-blind)
#055D51
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #186012; /* rgb */ color: rgb(24, 96, 18); /* oklch */ color: oklch(42.9% 0.130 142.0);
Tailwind
colors: {
custom: {
50: '#628e56',
500: '#186012',
950: '#000000',
},
}SCSS
$custom: #186012; $custom-light: #628e56; $custom-dark: #000000;
JSON
{
"hex": "#186012",
"rgb": {
"r": 24,
"g": 96,
"b": 18
},
"hsl": {
"h": 115.385,
"s": 68.421,
"l": 22.353
},
"oklch": {
"l": 0.42911,
"c": 0.13,
"h": 142
},
"luminance": 0.08604
}Semantic roles & 50–950 ramp
primary
#186012
secondary
#913698
accent
#3DEBDE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78