#166C5F#166C5F

#166C5F is a mid, moderate teal. Relative luminance 0.117; OKLCH L 47.9% C 0.080 H 179.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#166C5F
RGBrgb(22, 108, 95)
HSLhsl(171, 66%, 25%)
HSVhsv(171, 80%, 42%)
CMYKcmyk(79.6%, 0%, 12%, 57.6%)
CIE-LABlab(40.77, -27.80, 0.22)
CIE-LCHlch(40.77, 27.81, 179.55°)
OKLaboklab(47.93% -0.0803 0.0001)
OKLCHoklch(47.93% 0.08 179.9)
XYZxyz(7.7580, 11.7210, 12.6778)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166C5F #6C1623
analogous
#166C34 #166C5F #164E6C
triadic
#166C5F #5F166C #6C5F16
tetradic
#166C5F #34166C #6C1623 #4E6C16
square
#166C5F #34166C #6C1623 #4E6C16
split-complementary
#166C5F #6C164E #6C3416
monochromatic
#051916 #0C3932 #166C5F #209F8C #2BD2B8

Accessibility & contrast

On white

6.28
#166C5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#166C5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166C5F
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166C5F#FFFFFF#000000##FFFFFF
##166C5F1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67655E
Deuteranopia (green-blind)
#5C5D60
Tritanopia (blue-blind)
#006E68
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #166c5f;
/* rgb */ color: rgb(22, 108, 95);
/* oklch */ color: oklch(47.9% 0.080 179.9);
Tailwind
colors: {
  custom: {
    50: '#64968c',
    500: '#166c5f',
    950: '#000000',
  },
}
SCSS
$custom: #166c5f;
$custom-light: #64968c;
$custom-dark: #000000;
JSON
{
  "hex": "#166c5f",
  "rgb": {
    "r": 22,
    "g": 108,
    "b": 95
  },
  "hsl": {
    "h": 170.93,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47932,
    "c": 0.08032,
    "h": 179.9
  },
  "luminance": 0.11722
}

Semantic roles & 50–950 ramp

primary
#166C5F
secondary
#A23C4B
accent
#3F58E9
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#060D0C
muted
#7A7E7D

Preview Lab

Preview with #166C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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