#166118#166118
#166118 is a dark, vivid green. Relative luminance 0.088; OKLCH L 43.2% C 0.128 H 143.3°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #166118 |
|---|---|
| RGB | rgb(22, 97, 24) |
| HSL | hsl(122, 63%, 23%) |
| HSV | hsv(122, 77%, 38%) |
| CMYK | cmyk(77.3%, 0%, 75.3%, 62%) |
| CIE-LAB | lab(35.57, -37.84, 33.56) |
| CIE-LCH | lch(35.57, 50.58, 138.44°) |
| OKLab | oklab(43.21% -0.1026 0.0766) |
| OKLCH | oklch(43.21% 0.128 143.3) |
| XYZ | xyz(4.7701, 8.7854, 2.3083) |
| Luminance | 0.0879 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.72
Darkgreen
#006400
ΔE00 3.03
Forest
#0B5509
ΔE00 3.87
Forest Green
#2D5A27
ΔE00 4.96
Pine
#2B5D34
ΔE00 6.80
Bottle Green
#044A05
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166118 #61165F
analogous
#396116 #166118 #16613D
triadic
#166118 #181661 #611816
tetradic
#166118 #163961 #61165F #613D16
square
#166118 #163961 #61165F #613D16
split-complementary
#166118 #3D1661 #611639
monochromatic
#061906 #0B2F0C #166118 #219324 #2DC531
Accessibility & contrast
On white
7.62
#166118 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#166118 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #166118
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166118 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166118 | 1.00 | 7.62 | 2.76 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#63570C
Deuteranopia (green-blind)
#5B511F
Tritanopia (blue-blind)
#005E53
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #166118; /* rgb */ color: rgb(22, 97, 24); /* oklch */ color: oklch(43.2% 0.128 143.3);
Tailwind
colors: {
custom: {
50: '#618f5a',
500: '#166118',
950: '#000000',
},
}SCSS
$custom: #166118; $custom-light: #618f5a; $custom-dark: #000000;
JSON
{
"hex": "#166118",
"rgb": {
"r": 22,
"g": 97,
"b": 24
},
"hsl": {
"h": 121.6,
"s": 63.025,
"l": 23.333
},
"oklch": {
"l": 0.4321,
"c": 0.12805,
"h": 143.3
},
"luminance": 0.08786
}Semantic roles & 50–950 ramp
primary
#166118
secondary
#983B95
accent
#42E2E6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79