#166638#166638
#166638 is a mid, moderate green. Relative luminance 0.100; OKLCH L 45.2% C 0.106 H 153.0°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #166638 |
|---|---|
| RGB | rgb(22, 102, 56) |
| HSL | hsl(146, 65%, 24%) |
| HSV | hsv(146, 78%, 40%) |
| CMYK | cmyk(78.4%, 0%, 45.1%, 60%) |
| CIE-LAB | lab(37.77, -34.96, 19.42) |
| CIE-LCH | lch(37.77, 39.99, 150.95°) |
| OKLab | oklab(45.16% -0.0941 0.048) |
| OKLCH | oklch(45.16% 0.106 153) |
| XYZ | xyz(5.7955, 9.9582, 5.3573) |
| Luminance | 0.0996 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.87
Pine
#2B5D34
ΔE00 4.08
Hunter Green
#355E3B
ΔE00 5.47
Forest Green
#2D5A27
ΔE00 5.97
Deep Green
#02590F
ΔE00 7.62
Darkish Green
#287C37
ΔE00 8.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166638 #661644
analogous
#1C6616 #166638 #166660
triadic
#166638 #381666 #663816
tetradic
#166638 #161C66 #661644 #666016
square
#166638 #161C66 #661644 #666016
split-complementary
#166638 #601666 #66161C
monochromatic
#05190E #0B341C #166638 #219854 #2CCB6F
Accessibility & contrast
On white
7.02
#166638 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#166638 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #166638
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166638 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166638 | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#665D35
Deuteranopia (green-blind)
#5D563B
Tritanopia (blue-blind)
#00655B
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #166638; /* rgb */ color: rgb(22, 102, 56); /* oklch */ color: oklch(45.2% 0.106 153.0);
Tailwind
colors: {
custom: {
50: '#61926f',
500: '#166638',
950: '#000000',
},
}SCSS
$custom: #166638; $custom-light: #61926f; $custom-dark: #000000;
JSON
{
"hex": "#166638",
"rgb": {
"r": 22,
"g": 102,
"b": 56
},
"hsl": {
"h": 145.5,
"s": 64.516,
"l": 24.314
},
"oklch": {
"l": 0.45164,
"c": 0.10567,
"h": 153
},
"luminance": 0.09959
}Semantic roles & 50–950 ramp
primary
#166638
secondary
#9D3B73
accent
#40A0E8
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#060D07
muted
#7A7E7A