#166A5C#166A5C

#166A5C is a mid, moderate teal. Relative luminance 0.113; OKLCH L 47.3% C 0.080 H 178.6°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#166A5C
RGBrgb(22, 106, 92)
HSLhsl(170, 66%, 25%)
HSVhsv(170, 79%, 42%)
CMYKcmyk(79.2%, 0%, 13.2%, 58.4%)
CIE-LABlab(40.00, -27.72, 0.92)
CIE-LCHlch(40.00, 27.74, 178.10°)
OKLaboklab(47.27% -0.0797 0.002)
OKLCHoklch(47.27% 0.08 178.6)
XYZxyz(7.4157, 11.2505, 11.9039)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A5C #6A1624
analogous
#166A32 #166A5C #164E6A
triadic
#166A5C #5C166A #6A5C16
tetradic
#166A5C #32166A #6A1624 #4E6A16
square
#166A5C #32166A #6A1624 #4E6A16
split-complementary
#166A5C #6A164E #6A3216
monochromatic
#051916 #0B3730 #166A5C #219D88 #2BCFB4

Accessibility & contrast

On white

6.46
#166A5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#166A5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166A5C
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166A5C#FFFFFF#000000##FFFFFF
##166A5C1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65635B
Deuteranopia (green-blind)
#5A5B5D
Tritanopia (blue-blind)
#006C66
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #166a5c;
/* rgb */ color: rgb(22, 106, 92);
/* oklch */ color: oklch(47.3% 0.080 178.6);
Tailwind
colors: {
  custom: {
    50: '#63958a',
    500: '#166a5c',
    950: '#000000',
  },
}
SCSS
$custom: #166a5c;
$custom-light: #63958a;
$custom-dark: #000000;
JSON
{
  "hex": "#166a5c",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 92
  },
  "hsl": {
    "h": 170,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47274,
    "c": 0.07969,
    "h": 178.6
  },
  "luminance": 0.11251
}

Semantic roles & 50–950 ramp

primary
#166A5C
secondary
#A03B4C
accent
#3F5BE9
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#060D0B
muted
#7A7E7C

Preview Lab

Preview with #166A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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