#186C28#186C28
#186C28 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.7% C 0.129 H 146.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #186C28 |
|---|---|
| RGB | rgb(24, 108, 40) |
| HSL | hsl(131, 64%, 26%) |
| HSV | hsv(131, 78%, 42%) |
| CMYK | cmyk(77.8%, 0%, 63%, 57.6%) |
| CIE-LAB | lab(39.70, -39.67, 30.55) |
| CIE-LCH | lch(39.70, 50.07, 142.39°) |
| OKLab | oklab(46.7% -0.1069 0.072) |
| OKLCH | oklch(46.7% 0.129 146) |
| XYZ | xyz(6.1218, 11.0718, 3.8215) |
| Luminance | 0.1107 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.07
Darkish Green
#287C37
ΔE00 5.62
Deep Green
#02590F
ΔE00 6.40
Forest Green
#2D5A27
ΔE00 6.92
Pine
#2B5D34
ΔE00 7.30
Spruce
#0A5F38
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186C28 #6C185C
analogous
#326C18 #186C28 #186C52
triadic
#186C28 #28186C #6C2818
tetradic
#186C28 #18326C #6C185C #6C5218
square
#186C28 #18326C #6C185C #6C5218
split-complementary
#186C28 #52186C #6C1832
monochromatic
#061909 #0D3A15 #186C28 #239E3B #2ED04D
Accessibility & contrast
On white
6.53
#186C28 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#186C28 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #186C28
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186C28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186C28 | 1.00 | 6.53 | 3.21 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6221
Deuteranopia (green-blind)
#645B2E
Tritanopia (blue-blind)
#00695D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #186c28; /* rgb */ color: rgb(24, 108, 40); /* oklch */ color: oklch(46.7% 0.129 146.0);
Tailwind
colors: {
custom: {
50: '#649764',
500: '#186c28',
950: '#000000',
},
}SCSS
$custom: #186c28; $custom-light: #649764; $custom-dark: #000000;
JSON
{
"hex": "#186c28",
"rgb": {
"r": 24,
"g": 108,
"b": 40
},
"hsl": {
"h": 131.429,
"s": 63.636,
"l": 25.882
},
"oklch": {
"l": 0.46701,
"c": 0.12893,
"h": 146
},
"luminance": 0.11073
}Semantic roles & 50–950 ramp
primary
#186C28
secondary
#A23E8F
accent
#41C7E7
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D05
muted
#7A7E7A