#186C40#186C40
#186C40 is a mid, moderate green. Relative luminance 0.113; OKLCH L 47.1% C 0.106 H 155.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #186C40 |
|---|---|
| RGB | rgb(24, 108, 64) |
| HSL | hsl(149, 64%, 26%) |
| HSV | hsv(149, 78%, 42%) |
| CMYK | cmyk(77.8%, 0%, 40.7%, 57.6%) |
| CIE-LAB | lab(40.06, -35.47, 17.79) |
| CIE-LCH | lch(40.06, 39.69, 153.37°) |
| OKLab | oklab(47.12% -0.0957 0.0444) |
| OKLCH | oklch(47.12% 0.106 155.1) |
| XYZ | xyz(6.6640, 11.2887, 6.6772) |
| Luminance | 0.1129 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 4.38
Pine
#2B5D34
ΔE00 5.73
Hunter Green
#355E3B
ΔE00 6.50
Darkish Green
#287C37
ΔE00 7.56
Forest Green
#2D5A27
ΔE00 7.82
Jungle Green
#048243
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186C40 #6C1844
analogous
#1A6C18 #186C40 #186C6A
triadic
#186C40 #40186C #6C4018
tetradic
#186C40 #181A6C #6C1844 #6C6A18
square
#186C40 #181A6C #6C1844 #6C6A18
split-complementary
#186C40 #6A186C #6C181A
monochromatic
#06190F #0D3A22 #186C40 #239E5E #2ED07B
Accessibility & contrast
On white
6.45
#186C40 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#186C40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #186C40
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186C40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186C40 | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C633D
Deuteranopia (green-blind)
#615C43
Tritanopia (blue-blind)
#006B61
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #186c40; /* rgb */ color: rgb(24, 108, 64); /* oklch */ color: oklch(47.1% 0.106 155.1);
Tailwind
colors: {
custom: {
50: '#639775',
500: '#186c40',
950: '#000000',
},
}SCSS
$custom: #186c40; $custom-light: #639775; $custom-dark: #000000;
JSON
{
"hex": "#186c40",
"rgb": {
"r": 24,
"g": 108,
"b": 64
},
"hsl": {
"h": 148.571,
"s": 63.636,
"l": 25.882
},
"oklch": {
"l": 0.47117,
"c": 0.10553,
"h": 155.1
},
"luminance": 0.11289
}Semantic roles & 50–950 ramp
primary
#186C40
secondary
#A23E72
accent
#4198E7
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060D08
muted
#7A7E7B