#186B20#186B20
#186B20 is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.3% C 0.134 H 144.3°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #186B20 |
|---|---|
| RGB | rgb(24, 107, 32) |
| HSL | hsl(126, 63%, 26%) |
| HSV | hsv(126, 78%, 42%) |
| CMYK | cmyk(77.6%, 0%, 70.1%, 58%) |
| CIE-LAB | lab(39.26, -40.29, 33.93) |
| CIE-LCH | lch(39.26, 52.68, 139.90°) |
| OKLab | oklab(46.31% -0.109 0.0784) |
| OKLCH | oklch(46.31% 0.134 144.3) |
| XYZ | xyz(5.8947, 10.8132, 3.1427) |
| Luminance | 0.1081 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.81
Deep Green
#02590F
ΔE00 5.86
Darkish Green
#287C37
ΔE00 6.21
Forest Green
#2D5A27
ΔE00 7.03
Forest
#0B5509
ΔE00 7.10
Tree Green
#2A7E19
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186B20 #6B1863
analogous
#396B18 #186B20 #186B49
triadic
#186B20 #20186B #6B2018
tetradic
#186B20 #18396B #6B1863 #6B4918
square
#186B20 #18396B #6B1863 #6B4918
split-complementary
#186B20 #49186B #6B1839
monochromatic
#061907 #0D3911 #186B20 #239D2F #2ECF3E
Accessibility & contrast
On white
6.64
#186B20 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#186B20 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #186B20
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186B20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186B20 | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D6016
Deuteranopia (green-blind)
#645A27
Tritanopia (blue-blind)
#00685C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #186b20; /* rgb */ color: rgb(24, 107, 32); /* oklch */ color: oklch(46.3% 0.134 144.3);
Tailwind
colors: {
custom: {
50: '#64965f',
500: '#186b20',
950: '#000000',
},
}SCSS
$custom: #186b20; $custom-light: #64965f; $custom-dark: #000000;
JSON
{
"hex": "#186b20",
"rgb": {
"r": 24,
"g": 107,
"b": 32
},
"hsl": {
"h": 125.783,
"s": 63.359,
"l": 25.686
},
"oklch": {
"l": 0.46312,
"c": 0.13424,
"h": 144.3
},
"luminance": 0.10814
}Semantic roles & 50–950 ramp
primary
#186B20
secondary
#A13E97
accent
#41D6E6
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D05
muted
#7A7E79