#186A1C#186A1C
#186A1C is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.0% C 0.136 H 143.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #186A1C |
|---|---|
| RGB | rgb(24, 106, 28) |
| HSL | hsl(123, 63%, 25%) |
| HSV | hsv(123, 77%, 42%) |
| CMYK | cmyk(77.4%, 0%, 73.6%, 58.4%) |
| CIE-LAB | lab(38.87, -40.35, 35.30) |
| CIE-LCH | lch(38.87, 53.62, 138.82°) |
| OKLab | oklab(45.98% -0.1093 0.0808) |
| OKLCH | oklch(45.98% 0.136 143.5) |
| XYZ | xyz(5.7400, 10.5854, 2.8391) |
| Luminance | 0.1059 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.21
Deep Green
#02590F
ΔE00 5.54
Darkish Green
#287C37
ΔE00 6.69
Forest
#0B5509
ΔE00 6.73
Forest Green
#2D5A27
ΔE00 7.00
Tree Green
#2A7E19
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186A1C #6A1866
analogous
#3D6A18 #186A1C #186A45
triadic
#186A1C #1C186A #6A1C18
tetradic
#186A1C #183D6A #6A1866 #6A4518
square
#186A1C #183D6A #6A1866 #6A4518
split-complementary
#186A1C #45186A #6A183D
monochromatic
#061907 #0D380F #186A1C #239C29 #2FCE36
Accessibility & contrast
On white
6.74
#186A1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#186A1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #186A1C
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186A1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186A1C | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C5F10
Deuteranopia (green-blind)
#635924
Tritanopia (blue-blind)
#00675A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #186a1c; /* rgb */ color: rgb(24, 106, 28); /* oklch */ color: oklch(46.0% 0.136 143.5);
Tailwind
colors: {
custom: {
50: '#64955d',
500: '#186a1c',
950: '#000000',
},
}SCSS
$custom: #186a1c; $custom-light: #64955d; $custom-dark: #000000;
JSON
{
"hex": "#186a1c",
"rgb": {
"r": 24,
"g": 106,
"b": 28
},
"hsl": {
"h": 122.927,
"s": 63.077,
"l": 25.49
},
"oklch": {
"l": 0.45976,
"c": 0.13593,
"h": 143.5
},
"luminance": 0.10586
}Semantic roles & 50–950 ramp
primary
#186A1C
secondary
#A03E9B
accent
#42DEE6
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79