#157971#157971

#157971 is a mid, moderate teal. Relative luminance 0.150; OKLCH L 52.1% C 0.086 H 186.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#157971
RGBrgb(21, 121, 113)
HSLhsl(175, 70%, 28%)
HSVhsv(175, 83%, 47%)
CMYKcmyk(82.6%, 0%, 6.6%, 52.5%)
CIE-LABlab(45.67, -28.79, -3.41)
CIE-LCHlch(45.67, 28.99, 186.76°)
OKLaboklab(52.11% -0.0855 -0.0097)
OKLCHoklch(52.11% 0.086 186.5)
XYZxyz(10.1258, 15.0252, 17.9860)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157971 #79151D
analogous
#15793F #157971 #154F79
triadic
#157971 #711579 #797115
tetradic
#157971 #3F1579 #79151D #4F7915
square
#157971 #3F1579 #79151D #4F7915
split-complementary
#157971 #79154F #793F15
monochromatic
#051A18 #0C4540 #157971 #1EADA2 #2EDBCD

Accessibility & contrast

On white

5.24
#157971 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#157971 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157971
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157971#FFFFFF#000000##FFFFFF
##1579711.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#727271
Deuteranopia (green-blind)
#656872
Tritanopia (blue-blind)
#007C76
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157971;
/* rgb */ color: rgb(21, 121, 113);
/* oklch */ color: oklch(52.1% 0.086 186.5);
Tailwind
colors: {
  custom: {
    50: '#67a099',
    500: '#157971',
    950: '#000000',
  },
}
SCSS
$custom: #157971;
$custom-light: #67a099;
$custom-dark: #000000;
JSON
{
  "hex": "#157971",
  "rgb": {
    "r": 21,
    "g": 121,
    "b": 113
  },
  "hsl": {
    "h": 175.2,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52106,
    "c": 0.08607,
    "h": 186.5
  },
  "luminance": 0.15026
}

Semantic roles & 50–950 ramp

primary
#157971
secondary
#AF3B44
accent
#3B49ED
background
#F6F9F9
surface
#EBF2F2
border
#C6CCCC
text
#070F0E
muted
#7A7E7E

Preview Lab

Preview with #157971

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

Preview Lab → · Contrast checker → · Palette generator →

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