#186A1B#186A1B
#186A1B is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.0% C 0.137 H 143.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #186A1B |
|---|---|
| RGB | rgb(24, 106, 27) |
| HSL | hsl(122, 63%, 25%) |
| HSV | hsv(122, 77%, 42%) |
| CMYK | cmyk(77.4%, 0%, 74.5%, 58.4%) |
| CIE-LAB | lab(38.87, -40.45, 35.72) |
| CIE-LCH | lch(38.87, 53.97, 138.55°) |
| OKLab | oklab(45.97% -0.1097 0.0815) |
| OKLCH | oklch(45.97% 0.137 143.4) |
| XYZ | xyz(5.7282, 10.5807, 2.7771) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.10
Deep Green
#02590F
ΔE00 5.55
Forest
#0B5509
ΔE00 6.72
Darkish Green
#287C37
ΔE00 6.75
Forest Green
#2D5A27
ΔE00 7.07
Tree Green
#2A7E19
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186A1B #6A1867
analogous
#3E6A18 #186A1B #186A44
triadic
#186A1B #1B186A #6A1B18
tetradic
#186A1B #183E6A #6A1867 #6A4418
square
#186A1B #183E6A #6A1867 #6A4418
split-complementary
#186A1B #44186A #6A183E
monochromatic
#061906 #0D380E #186A1B #239C28 #2FCE34
Accessibility & contrast
On white
6.74
#186A1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#186A1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #186A1B
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186A1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186A1B | 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)
#6C5F0E
Deuteranopia (green-blind)
#635923
Tritanopia (blue-blind)
#00675A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #186a1b; /* rgb */ color: rgb(24, 106, 27); /* oklch */ color: oklch(46.0% 0.137 143.4);
Tailwind
colors: {
custom: {
50: '#64955c',
500: '#186a1b',
950: '#000000',
},
}SCSS
$custom: #186a1b; $custom-light: #64955c; $custom-dark: #000000;
JSON
{
"hex": "#186a1b",
"rgb": {
"r": 24,
"g": 106,
"b": 27
},
"hsl": {
"h": 122.195,
"s": 63.077,
"l": 25.49
},
"oklch": {
"l": 0.45967,
"c": 0.13664,
"h": 143.4
},
"luminance": 0.10581
}Semantic roles & 50–950 ramp
primary
#186A1B
secondary
#A03E9C
accent
#42E0E6
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79