#166A42#166A42

#166A42 is a mid, moderate teal. Relative luminance 0.109; OKLCH L 46.5% C 0.101 H 157.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#166A42
RGBrgb(22, 106, 66)
HSLhsl(151, 66%, 25%)
HSVhsv(151, 79%, 42%)
CMYKcmyk(79.2%, 0%, 37.7%, 58.4%)
CIE-LABlab(39.36, -34.50, 15.67)
CIE-LCHlch(39.36, 37.90, 155.57°)
OKLaboklab(46.54% -0.0933 0.0394)
OKLCHoklch(46.54% 0.101 157.1)
XYZxyz(6.4676, 10.8712, 6.9107)
Luminance0.1087 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A42 #6A163E
analogous
#166A18 #166A42 #16686A
triadic
#166A42 #42166A #6A4216
tetradic
#166A42 #18166A #6A163E #686A16
square
#166A42 #18166A #6A163E #686A16
split-complementary
#166A42 #6A1668 #6A1816
monochromatic
#051910 #0B3722 #166A42 #219D62 #2BCF81

Accessibility & contrast

On white

6.62
#166A42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#166A42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166A42
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166A42#FFFFFF#000000##FFFFFF
##166A421.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69613F
Deuteranopia (green-blind)
#5F5A45
Tritanopia (blue-blind)
#006960
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #166a42;
/* rgb */ color: rgb(22, 106, 66);
/* oklch */ color: oklch(46.5% 0.101 157.1);
Tailwind
colors: {
  custom: {
    50: '#629576',
    500: '#166a42',
    950: '#000000',
  },
}
SCSS
$custom: #166a42;
$custom-light: #629576;
$custom-dark: #000000;
JSON
{
  "hex": "#166a42",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 66
  },
  "hsl": {
    "h": 151.429,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46542,
    "c": 0.1013,
    "h": 157.1
  },
  "luminance": 0.10872
}

Semantic roles & 50–950 ramp

primary
#166A42
secondary
#A03B6B
accent
#3F90E9
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #166A42

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#166A42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva