#166B51#166B51

#166B51 is a mid, moderate teal. Relative luminance 0.113; OKLCH L 47.2% C 0.089 H 167.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#166B51
RGBrgb(22, 107, 81)
HSLhsl(162, 66%, 25%)
HSVhsv(162, 79%, 42%)
CMYKcmyk(79.4%, 0%, 24.3%, 58%)
CIE-LABlab(40.05, -31.27, 7.66)
CIE-LCHlch(40.05, 32.20, 166.24°)
OKLaboklab(47.22% -0.0865 0.0196)
OKLCHoklch(47.22% 0.089 167.3)
XYZxyz(7.0730, 11.2792, 9.5873)
Luminance0.1128 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166B51 #6B1630
analogous
#166B26 #166B51 #165A6B
triadic
#166B51 #51166B #6B5116
tetradic
#166B51 #26166B #6B1630 #5A6B16
square
#166B51 #26166B #6B1630 #5A6B16
split-complementary
#166B51 #6B165A #6B2616
monochromatic
#051913 #0C382B #166B51 #209E77 #2BD19E

Accessibility & contrast

On white

6.45
#166B51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #166B51
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166B51#FFFFFF#000000##FFFFFF
##166B511.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#686350
Deuteranopia (green-blind)
#5E5B53
Tritanopia (blue-blind)
#006B64
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #166b51;
/* rgb */ color: rgb(22, 107, 81);
/* oklch */ color: oklch(47.2% 0.089 167.3);
Tailwind
colors: {
  custom: {
    50: '#629681',
    500: '#166b51',
    950: '#000000',
  },
}
SCSS
$custom: #166b51;
$custom-light: #629681;
$custom-dark: #000000;
JSON
{
  "hex": "#166b51",
  "rgb": {
    "r": 22,
    "g": 107,
    "b": 81
  },
  "hsl": {
    "h": 161.647,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47215,
    "c": 0.08873,
    "h": 167.3
  },
  "luminance": 0.1128
}

Semantic roles & 50–950 ramp

primary
#166B51
secondary
#A13B5B
accent
#3F73E9
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060D0A
muted
#7A7E7C

Preview Lab

Preview with #166B51

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

Preview Lab → · Contrast checker → · Palette generator →

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