#166A5F#166A5F

#166A5F is a mid, moderate teal. Relative luminance 0.113; OKLCH L 47.4% C 0.078 H 181.9°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#166A5F
RGBrgb(22, 106, 95)
HSLhsl(172, 66%, 25%)
HSVhsv(172, 79%, 42%)
CMYKcmyk(79.2%, 0%, 10.4%, 58.4%)
CIE-LABlab(40.09, -26.83, -0.78)
CIE-LCHlch(40.09, 26.84, 181.66°)
OKLaboklab(47.38% -0.0781 -0.0025)
OKLCHoklch(47.38% 0.078 181.9)
XYZxyz(7.5495, 11.3039, 12.6082)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A5F #6A1621
analogous
#166A35 #166A5F #164B6A
triadic
#166A5F #5F166A #6A5F16
tetradic
#166A5F #35166A #6A1621 #4B6A16
square
#166A5F #35166A #6A1621 #4B6A16
split-complementary
#166A5F #6A164B #6A3516
monochromatic
#051917 #0B3732 #166A5F #219D8C #2BCFBA

Accessibility & contrast

On white

6.44
#166A5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#166A5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166A5F
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166A5F#FFFFFF#000000##FFFFFF
##166A5F1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65635F
Deuteranopia (green-blind)
#595B60
Tritanopia (blue-blind)
#006C67
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #166a5f;
/* rgb */ color: rgb(22, 106, 95);
/* oklch */ color: oklch(47.4% 0.078 181.9);
Tailwind
colors: {
  custom: {
    50: '#63958c',
    500: '#166a5f',
    950: '#000000',
  },
}
SCSS
$custom: #166a5f;
$custom-light: #63958c;
$custom-dark: #000000;
JSON
{
  "hex": "#166a5f",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 95
  },
  "hsl": {
    "h": 172.143,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47376,
    "c": 0.07817,
    "h": 181.9
  },
  "luminance": 0.11305
}

Semantic roles & 50–950 ramp

primary
#166A5F
secondary
#A03B49
accent
#3F55E9
background
#F6F9F8
surface
#EBF1F0
border
#C6CBCB
text
#060D0C
muted
#7A7E7D

Preview Lab

Preview with #166A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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