#186728#186728
#186728 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.2% C 0.122 H 146.4°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #186728 |
|---|---|
| RGB | rgb(24, 103, 40) |
| HSL | hsl(132, 62%, 25%) |
| HSV | hsv(132, 77%, 40%) |
| CMYK | cmyk(76.7%, 0%, 61.2%, 59.6%) |
| CIE-LAB | lab(37.93, -37.77, 28.49) |
| CIE-LCH | lch(37.93, 47.31, 142.98°) |
| OKLab | oklab(45.23% -0.1018 0.0676) |
| OKLCH | oklch(45.23% 0.122 146.4) |
| XYZ | xyz(5.6095, 10.0473, 3.6508) |
| Luminance | 0.1005 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.09
Deep Green
#02590F
ΔE00 5.14
Forest Green
#2D5A27
ΔE00 5.40
Pine
#2B5D34
ΔE00 5.81
Spruce
#0A5F38
ΔE00 6.26
Forest
#0B5509
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186728 #671857
analogous
#2F6718 #186728 #186750
triadic
#186728 #281867 #672818
tetradic
#186728 #182F67 #671857 #675018
square
#186728 #182F67 #671857 #675018
split-complementary
#186728 #501867 #67182F
monochromatic
#06190A #0C3515 #186728 #24993B #2FCA4F
Accessibility & contrast
On white
6.98
#186728 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#186728 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #186728
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186728 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186728 | 1.00 | 6.98 | 3.01 | 6.98 |
| #FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685D22
Deuteranopia (green-blind)
#5F572D
Tritanopia (blue-blind)
#006459
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #186728; /* rgb */ color: rgb(24, 103, 40); /* oklch */ color: oklch(45.2% 0.122 146.4);
Tailwind
colors: {
custom: {
50: '#629364',
500: '#186728',
950: '#000000',
},
}SCSS
$custom: #186728; $custom-light: #629364; $custom-dark: #000000;
JSON
{
"hex": "#186728",
"rgb": {
"r": 24,
"g": 103,
"b": 40
},
"hsl": {
"h": 132.152,
"s": 62.205,
"l": 24.902
},
"oklch": {
"l": 0.45231,
"c": 0.12219,
"h": 146.4
},
"luminance": 0.10048
}Semantic roles & 50–950 ramp
primary
#186728
secondary
#9D3E8A
accent
#43C4E5
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A