#186828#186828
#186828 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.5% C 0.124 H 146.3°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #186828 |
|---|---|
| RGB | rgb(24, 104, 40) |
| HSL | hsl(132, 63%, 25%) |
| HSV | hsv(132, 77%, 41%) |
| CMYK | cmyk(76.9%, 0%, 61.5%, 59.2%) |
| CIE-LAB | lab(38.28, -38.16, 28.90) |
| CIE-LCH | lch(38.28, 47.87, 142.86°) |
| OKLab | oklab(45.53% -0.1028 0.0685) |
| OKLCH | oklch(45.53% 0.124 146.3) |
| XYZ | xyz(5.7096, 10.2474, 3.6841) |
| Luminance | 0.1025 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.03
Deep Green
#02590F
ΔE00 5.37
Forest Green
#2D5A27
ΔE00 5.69
Pine
#2B5D34
ΔE00 6.10
Spruce
#0A5F38
ΔE00 6.52
Forest
#0B5509
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186828 #681858
analogous
#306818 #186828 #186850
triadic
#186828 #281868 #682818
tetradic
#186828 #183068 #681858 #685018
square
#186828 #183068 #681858 #685018
split-complementary
#186828 #501868 #681830
monochromatic
#06190A #0D3615 #186828 #239A3B #2FCB4E
Accessibility & contrast
On white
6.89
#186828 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#186828 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #186828
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186828 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186828 | 1.00 | 6.89 | 3.05 | 6.89 |
| #FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5E22
Deuteranopia (green-blind)
#60582D
Tritanopia (blue-blind)
#00655A
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #186828; /* rgb */ color: rgb(24, 104, 40); /* oklch */ color: oklch(45.5% 0.124 146.3);
Tailwind
colors: {
custom: {
50: '#639464',
500: '#186828',
950: '#000000',
},
}SCSS
$custom: #186828; $custom-light: #639464; $custom-dark: #000000;
JSON
{
"hex": "#186828",
"rgb": {
"r": 24,
"g": 104,
"b": 40
},
"hsl": {
"h": 132,
"s": 62.5,
"l": 25.098
},
"oklch": {
"l": 0.45526,
"c": 0.12355,
"h": 146.3
},
"luminance": 0.10248
}Semantic roles & 50–950 ramp
primary
#186828
secondary
#9E3E8B
accent
#42C5E6
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A