#166018#166018
#166018 is a dark, vivid green. Relative luminance 0.086; OKLCH L 42.9% C 0.127 H 143.3°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #166018 |
|---|---|
| RGB | rgb(22, 96, 24) |
| HSL | hsl(122, 63%, 23%) |
| HSV | hsv(122, 77%, 38%) |
| CMYK | cmyk(77.1%, 0%, 75%, 62.4%) |
| CIE-LAB | lab(35.21, -37.48, 33.18) |
| CIE-LCH | lch(35.21, 50.05, 138.48°) |
| OKLab | oklab(42.91% -0.1016 0.0758) |
| OKLCH | oklch(42.91% 0.127 143.3) |
| XYZ | xyz(4.6783, 8.6017, 2.2777) |
| Luminance | 0.0860 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.44
Darkgreen
#006400
ΔE00 3.25
Forest
#0B5509
ΔE00 3.58
Forest Green
#2D5A27
ΔE00 4.74
Pine
#2B5D34
ΔE00 6.64
Bottle Green
#044A05
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166018 #60165E
analogous
#396016 #166018 #16603D
triadic
#166018 #181660 #601816
tetradic
#166018 #163960 #60165E #603D16
square
#166018 #163960 #60165E #603D16
split-complementary
#166018 #3D1660 #601639
monochromatic
#061906 #0B2E0C #166018 #219224 #2DC431
Accessibility & contrast
On white
7.72
#166018 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#166018 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #166018
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166018 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166018 | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#62560D
Deuteranopia (green-blind)
#5A511F
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #166018; /* rgb */ color: rgb(22, 96, 24); /* oklch */ color: oklch(42.9% 0.127 143.3);
Tailwind
colors: {
custom: {
50: '#618e59',
500: '#166018',
950: '#000000',
},
}SCSS
$custom: #166018; $custom-light: #618e59; $custom-dark: #000000;
JSON
{
"hex": "#166018",
"rgb": {
"r": 22,
"g": 96,
"b": 24
},
"hsl": {
"h": 121.622,
"s": 62.712,
"l": 23.137
},
"oklch": {
"l": 0.42909,
"c": 0.12677,
"h": 143.3
},
"luminance": 0.08602
}Semantic roles & 50–950 ramp
primary
#166018
secondary
#973B94
accent
#42E1E6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79