#166940#166940
#166940 is a mid, moderate teal. Relative luminance 0.106; OKLCH L 46.2% C 0.102 H 156.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #166940 |
|---|---|
| RGB | rgb(22, 105, 64) |
| HSL | hsl(150, 65%, 25%) |
| HSV | hsv(150, 79%, 41%) |
| CMYK | cmyk(79%, 0%, 39%, 58.8%) |
| CIE-LAB | lab(38.97, -34.52, 16.33) |
| CIE-LCH | lch(38.97, 38.19, 154.68°) |
| OKLab | oklab(46.21% -0.0933 0.0409) |
| OKLCH | oklch(46.21% 0.102 156.3) |
| XYZ | xyz(6.3073, 10.6431, 6.5714) |
| Luminance | 0.1064 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Spruce
#0A5F38
ΔE00 3.32
Pine
#2B5D34
ΔE00 5.09
Hunter Green
#355E3B
ΔE00 5.86
Forest Green
#2D5A27
ΔE00 7.51
Darkish Green
#287C37
ΔE00 8.74
Jungle Green
#048243
ΔE00 9.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166940 #69163F
analogous
#166916 #166940 #166969
triadic
#166940 #401669 #694016
tetradic
#166940 #161669 #69163F #696916
square
#166940 #161669 #69163F #696916
split-complementary
#166940 #691669 #691616
monochromatic
#05190F #0B3621 #166940 #219C5F #2BCE7E
Accessibility & contrast
On white
6.71
#166940 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#166940 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166940
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166940 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166940 | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#68603D
Deuteranopia (green-blind)
#5E5943
Tritanopia (blue-blind)
#00685F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #166940; /* rgb */ color: rgb(22, 105, 64); /* oklch */ color: oklch(46.2% 0.102 156.3);
Tailwind
colors: {
custom: {
50: '#629575',
500: '#166940',
950: '#000000',
},
}SCSS
$custom: #166940; $custom-light: #629575; $custom-dark: #000000;
JSON
{
"hex": "#166940",
"rgb": {
"r": 22,
"g": 105,
"b": 64
},
"hsl": {
"h": 150.361,
"s": 65.354,
"l": 24.902
},
"oklch": {
"l": 0.46207,
"c": 0.10186,
"h": 156.3
},
"luminance": 0.10644
}Semantic roles & 50–950 ramp
primary
#166940
secondary
#9F3B6D
accent
#3F93E8
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060D08
muted
#7A7E7B