#186C1B#186C1B
#186C1B is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.6% C 0.139 H 143.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #186C1B |
|---|---|
| RGB | rgb(24, 108, 27) |
| HSL | hsl(122, 64%, 26%) |
| HSV | hsv(122, 78%, 42%) |
| CMYK | cmyk(77.8%, 0%, 75%, 57.6%) |
| CIE-LAB | lab(39.58, -41.17, 36.46) |
| CIE-LCH | lch(39.58, 55.00, 138.47°) |
| OKLab | oklab(46.56% -0.1116 0.0831) |
| OKLCH | oklch(46.56% 0.139 143.3) |
| XYZ | xyz(5.9367, 10.9978, 2.8466) |
| Luminance | 0.1100 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.43
Deep Green
#02590F
ΔE00 6.20
Darkish Green
#287C37
ΔE00 6.24
Tree Green
#2A7E19
ΔE00 6.68
Forest
#0B5509
ΔE00 7.37
Green
#008000
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186C1B #6C1869
analogous
#3F6C18 #186C1B #186C45
triadic
#186C1B #1B186C #6C1B18
tetradic
#186C1B #183F6C #6C1869 #6C4518
square
#186C1B #183F6C #6C1869 #6C4518
split-complementary
#186C1B #45186C #6C183F
monochromatic
#061906 #0D3A0E #186C1B #239E28 #2ED034
Accessibility & contrast
On white
6.56
#186C1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#186C1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #186C1B
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186C1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186C1B | 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)
#6E610E
Deuteranopia (green-blind)
#655B23
Tritanopia (blue-blind)
#00695C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #186c1b; /* rgb */ color: rgb(24, 108, 27); /* oklch */ color: oklch(46.6% 0.139 143.3);
Tailwind
colors: {
custom: {
50: '#64975d',
500: '#186c1b',
950: '#000000',
},
}SCSS
$custom: #186c1b; $custom-light: #64975d; $custom-dark: #000000;
JSON
{
"hex": "#186c1b",
"rgb": {
"r": 24,
"g": 108,
"b": 27
},
"hsl": {
"h": 122.143,
"s": 63.636,
"l": 25.882
},
"oklch": {
"l": 0.46558,
"c": 0.13912,
"h": 143.3
},
"luminance": 0.10998
}Semantic roles & 50–950 ramp
primary
#186C1B
secondary
#A23E9E
accent
#41E1E7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79