#186C1F#186C1F
#186C1F is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.6% C 0.136 H 144.0°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #186C1F |
|---|---|
| RGB | rgb(24, 108, 31) |
| HSL | hsl(125, 64%, 26%) |
| HSV | hsv(125, 78%, 42%) |
| CMYK | cmyk(77.8%, 0%, 71.3%, 57.6%) |
| CIE-LAB | lab(39.61, -40.77, 34.76) |
| CIE-LCH | lch(39.61, 53.57, 139.54°) |
| OKLab | oklab(46.6% -0.1103 0.08) |
| OKLCH | oklch(46.6% 0.136 144) |
| XYZ | xyz(5.9862, 11.0176, 3.1072) |
| Luminance | 0.1102 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.83
Darkish Green
#287C37
ΔE00 5.99
Deep Green
#02590F
ΔE00 6.18
Tree Green
#2A7E19
ΔE00 6.92
Forest
#0B5509
ΔE00 7.40
Forest Green
#2D5A27
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186C1F #6C1865
analogous
#3B6C18 #186C1F #186C49
triadic
#186C1F #1F186C #6C1F18
tetradic
#186C1F #183B6C #6C1865 #6C4918
square
#186C1F #183B6C #6C1865 #6C4918
split-complementary
#186C1F #49186C #6C183B
monochromatic
#061907 #0D3A11 #186C1F #239E2D #2ED03C
Accessibility & contrast
On white
6.56
#186C1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#186C1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #186C1F
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186C1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186C1F | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6114
Deuteranopia (green-blind)
#655B26
Tritanopia (blue-blind)
#00695C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #186c1f; /* rgb */ color: rgb(24, 108, 31); /* oklch */ color: oklch(46.6% 0.136 144.0);
Tailwind
colors: {
custom: {
50: '#64975f',
500: '#186c1f',
950: '#000000',
},
}SCSS
$custom: #186c1f; $custom-light: #64975f; $custom-dark: #000000;
JSON
{
"hex": "#186c1f",
"rgb": {
"r": 24,
"g": 108,
"b": 31
},
"hsl": {
"h": 125,
"s": 63.636,
"l": 25.882
},
"oklch": {
"l": 0.46596,
"c": 0.13627,
"h": 144
},
"luminance": 0.11018
}Semantic roles & 50–950 ramp
primary
#186C1F
secondary
#A23E99
accent
#41D9E7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D05
muted
#7A7E79