#186D2C#186D2C
#186D2C is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.0% C 0.127 H 147.0°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #186D2C |
|---|---|
| RGB | rgb(24, 109, 44) |
| HSL | hsl(134, 64%, 26%) |
| HSV | hsv(134, 78%, 43%) |
| CMYK | cmyk(78%, 0%, 59.6%, 57.3%) |
| CIE-LAB | lab(40.10, -39.47, 28.97) |
| CIE-LCH | lch(40.10, 48.96, 143.72°) |
| OKLab | oklab(47.05% -0.1063 0.0689) |
| OKLCH | oklch(47.05% 0.127 147) |
| XYZ | xyz(6.2995, 11.3126, 4.2339) |
| Luminance | 0.1131 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.28
Darkgreen
#006400
ΔE00 5.80
Deep Green
#02590F
ΔE00 6.92
Forest Green
#2D5A27
ΔE00 7.11
Pine
#2B5D34
ΔE00 7.16
Spruce
#0A5F38
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186D2C #6D1859
analogous
#2E6D18 #186D2C #186D56
triadic
#186D2C #2C186D #6D2C18
tetradic
#186D2C #182E6D #6D1859 #6D5618
square
#186D2C #182E6D #6D1859 #6D5618
split-complementary
#186D2C #56186D #6D182E
monochromatic
#06190A #0D3B18 #186D2C #239F40 #2ED155
Accessibility & contrast
On white
6.44
#186D2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#186D2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #186D2C
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186D2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186D2C | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6326
Deuteranopia (green-blind)
#655C31
Tritanopia (blue-blind)
#006A5F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #186d2c; /* rgb */ color: rgb(24, 109, 44); /* oklch */ color: oklch(47.0% 0.127 147.0);
Tailwind
colors: {
custom: {
50: '#649867',
500: '#186d2c',
950: '#000000',
},
}SCSS
$custom: #186d2c; $custom-light: #649867; $custom-dark: #000000;
JSON
{
"hex": "#186d2c",
"rgb": {
"r": 24,
"g": 109,
"b": 44
},
"hsl": {
"h": 134.118,
"s": 63.91,
"l": 26.078
},
"oklch": {
"l": 0.47048,
"c": 0.12668,
"h": 147
},
"luminance": 0.11313
}Semantic roles & 50–950 ramp
primary
#186D2C
secondary
#A33E8B
accent
#41C0E7
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A