#166840#166840
#166840 is a mid, moderate teal. Relative luminance 0.104; OKLCH L 45.9% C 0.100 H 156.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #166840 |
|---|---|
| RGB | rgb(22, 104, 64) |
| HSL | hsl(151, 65%, 25%) |
| HSV | hsv(151, 79%, 41%) |
| CMYK | cmyk(78.8%, 0%, 38.5%, 59.2%) |
| CIE-LAB | lab(38.62, -34.10, 15.86) |
| CIE-LCH | lch(38.62, 37.61, 155.06°) |
| OKLab | oklab(45.92% -0.0922 0.0398) |
| OKLCH | oklch(45.92% 0.1 156.7) |
| XYZ | xyz(6.2060, 10.4406, 6.5377) |
| Luminance | 0.1044 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Spruce
#0A5F38
ΔE00 3.00
Pine
#2B5D34
ΔE00 4.90
Hunter Green
#355E3B
ΔE00 5.65
Forest Green
#2D5A27
ΔE00 7.42
Darkish Green
#287C37
ΔE00 9.13
Deep Green
#02590F
ΔE00 9.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166840 #68163E
analogous
#166817 #166840 #166768
triadic
#166840 #401668 #684016
tetradic
#166840 #171668 #68163E #676816
square
#166840 #171668 #68163E #676816
split-complementary
#166840 #681667 #681716
monochromatic
#051910 #0B3521 #166840 #219B5F #2BCD7E
Accessibility & contrast
On white
6.80
#166840 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#166840 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166840
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166840 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166840 | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675F3D
Deuteranopia (green-blind)
#5D5843
Tritanopia (blue-blind)
#00675E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #166840; /* rgb */ color: rgb(22, 104, 64); /* oklch */ color: oklch(45.9% 0.100 156.7);
Tailwind
colors: {
custom: {
50: '#619475',
500: '#166840',
950: '#000000',
},
}SCSS
$custom: #166840; $custom-light: #619475; $custom-dark: #000000;
JSON
{
"hex": "#166840",
"rgb": {
"r": 22,
"g": 104,
"b": 64
},
"hsl": {
"h": 150.732,
"s": 65.079,
"l": 24.706
},
"oklch": {
"l": 0.45918,
"c": 0.10042,
"h": 156.7
},
"luminance": 0.10441
}Semantic roles & 50–950 ramp
primary
#166840
secondary
#9F3B6C
accent
#4092E8
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B