#186818#186818
#186818 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.3% C 0.136 H 142.9°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #186818 |
|---|---|
| RGB | rgb(24, 104, 24) |
| HSL | hsl(120, 63%, 25%) |
| HSV | hsv(120, 77%, 41%) |
| CMYK | cmyk(76.9%, 0%, 76.9%, 59.2%) |
| CIE-LAB | lab(38.13, -40.02, 36.21) |
| CIE-LCH | lch(38.13, 53.97, 137.86°) |
| OKLab | oklab(45.35% -0.1086 0.0821) |
| OKLCH | oklch(45.35% 0.136 142.9) |
| XYZ | xyz(5.4915, 10.1601, 2.5357) |
| Luminance | 0.1016 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.55
Deep Green
#02590F
ΔE00 4.94
Forest
#0B5509
ΔE00 6.07
Forest Green
#2D5A27
ΔE00 6.72
Darkish Green
#287C37
ΔE00 7.44
Tree Green
#2A7E19
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186818 #681868
analogous
#406818 #186818 #186840
triadic
#186818 #181868 #681818
tetradic
#186818 #184068 #681868 #684018
square
#186818 #184068 #681868 #684018
split-complementary
#186818 #401868 #681840
monochromatic
#061906 #0D360D #186818 #239A23 #2FCB2F
Accessibility & contrast
On white
6.93
#186818 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#186818 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #186818
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186818 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186818 | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5E0A
Deuteranopia (green-blind)
#615720
Tritanopia (blue-blind)
#006558
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #186818; /* rgb */ color: rgb(24, 104, 24); /* oklch */ color: oklch(45.3% 0.136 142.9);
Tailwind
colors: {
custom: {
50: '#64945b',
500: '#186818',
950: '#000000',
},
}SCSS
$custom: #186818; $custom-light: #64945b; $custom-dark: #000000;
JSON
{
"hex": "#186818",
"rgb": {
"r": 24,
"g": 104,
"b": 24
},
"hsl": {
"h": 120,
"s": 62.5,
"l": 25.098
},
"oklch": {
"l": 0.45348,
"c": 0.13617,
"h": 142.9
},
"luminance": 0.10161
}Semantic roles & 50–950 ramp
primary
#186818
secondary
#9E3E9E
accent
#42E6E6
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79