#158171#158171

#158171 is a mid, moderate teal. Relative luminance 0.171; OKLCH L 54.3% C 0.094 H 179.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#158171
RGBrgb(21, 129, 113)
HSLhsl(171, 72%, 29%)
HSVhsv(171, 84%, 51%)
CMYKcmyk(83.7%, 0%, 12.4%, 49.4%)
CIE-LABlab(48.32, -32.58, 0.48)
CIE-LCHlch(48.32, 32.58, 179.15°)
OKLaboklab(54.28% -0.0939 0.0008)
OKLCHoklch(54.28% 0.094 179.5)
XYZxyz(11.1386, 17.0508, 18.3237)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158171 #811525
analogous
#15813B #158171 #155B81
triadic
#158171 #711581 #817115
tetradic
#158171 #3B1581 #811525 #5B8115
square
#158171 #3B1581 #811525 #5B8115
split-complementary
#158171 #81155B #813B15
monochromatic
#041A17 #0C4C43 #158171 #1EB69F #33DEC4

Accessibility & contrast

On white

4.76
#158171 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#158171 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #158171
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158171#FFFFFF#000000##FFFFFF
##1581711.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7970
Deuteranopia (green-blind)
#6D6F72
Tritanopia (blue-blind)
#00837C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #158171;
/* rgb */ color: rgb(21, 129, 113);
/* oklch */ color: oklch(54.3% 0.094 179.5);
Tailwind
colors: {
  custom: {
    50: '#69a699',
    500: '#158171',
    950: '#000000',
  },
}
SCSS
$custom: #158171;
$custom-light: #69a699;
$custom-dark: #000000;
JSON
{
  "hex": "#158171",
  "rgb": {
    "r": 21,
    "g": 129,
    "b": 113
  },
  "hsl": {
    "h": 171.111,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54275,
    "c": 0.09388,
    "h": 179.5
  },
  "luminance": 0.17052
}

Semantic roles & 50–950 ramp

primary
#158171
secondary
#B63C4E
accent
#3954EF
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#070F0E
muted
#7A7F7E

Preview Lab

Preview with #158171

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

Preview Lab → · Contrast checker → · Palette generator →

#158171 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva