#157172#157172

#157172 is a mid, moderate teal. Relative luminance 0.132; OKLCH L 50.0% C 0.080 H 196.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#157172
RGBrgb(21, 113, 114)
HSLhsl(181, 69%, 26%)
HSVhsv(181, 82%, 45%)
CMYKcmyk(81.6%, 0.9%, 0%, 55.3%)
CIE-LABlab(43.04, -24.49, -7.92)
CIE-LCHlch(43.04, 25.74, 197.93°)
OKLaboklab(49.98% -0.0766 -0.022)
OKLCHoklch(49.98% 0.08 196)
XYZxyz(9.2502, 13.1834, 17.9735)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157172 #721615
analogous
#157245 #157172 #154372
triadic
#157172 #721571 #717215
tetradic
#157172 #451572 #721615 #437215
square
#157172 #451572 #721615 #437215
split-complementary
#157172 #721543 #724515
monochromatic
#051A1A #0B3E3E #157172 #1FA4A6 #2AD6D8

Accessibility & contrast

On white

5.77
#157172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#157172 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157172
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157172#FFFFFF#000000##FFFFFF
##1571721.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696B72
Deuteranopia (green-blind)
#5C6273
Tritanopia (blue-blind)
#007571
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #157172;
/* rgb */ color: rgb(21, 113, 114);
/* oklch */ color: oklch(50.0% 0.080 196.0);
Tailwind
colors: {
  custom: {
    50: '#669a9a',
    500: '#157172',
    950: '#000000',
  },
}
SCSS
$custom: #157172;
$custom-light: #669a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#157172",
  "rgb": {
    "r": 21,
    "g": 113,
    "b": 114
  },
  "hsl": {
    "h": 180.645,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49976,
    "c": 0.0797,
    "h": 196
  },
  "luminance": 0.13185
}

Semantic roles & 50–950 ramp

primary
#157172
secondary
#A83C3B
accent
#3E3CEC
background
#F6F9F9
surface
#EBF2F2
border
#C6CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #157172

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

Preview Lab → · Contrast checker → · Palette generator →

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