#157F7B#157F7B

#157F7B is a mid, moderate teal. Relative luminance 0.168; OKLCH L 54.1% C 0.088 H 190.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#157F7B
RGBrgb(21, 127, 123)
HSLhsl(178, 72%, 29%)
HSVhsv(178, 83%, 50%)
CMYKcmyk(83.5%, 0%, 3.1%, 50.2%)
CIE-LABlab(47.96, -28.61, -5.94)
CIE-LCHlch(47.96, 29.22, 191.72°)
OKLaboklab(54.08% -0.0869 -0.0166)
OKLCHoklch(54.08% 0.088 190.8)
XYZxyz(11.4721, 16.7668, 21.3667)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F7B #7F1519
analogous
#157F46 #157F7B #154E7F
triadic
#157F7B #7B157F #7F7B15
tetradic
#157F7B #46157F #7F1519 #4E7F15
square
#157F7B #46157F #7F1519 #4E7F15
split-complementary
#157F7B #7F154E #7F4615
monochromatic
#041A19 #0C4A48 #157F7B #1EB4AE #31DDD7

Accessibility & contrast

On white

4.82
#157F7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#157F7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157F7B
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F7B#FFFFFF#000000##FFFFFF
##157F7B1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77787B
Deuteranopia (green-blind)
#696D7C
Tritanopia (blue-blind)
#00837E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #157f7b;
/* rgb */ color: rgb(21, 127, 123);
/* oklch */ color: oklch(54.1% 0.088 190.8);
Tailwind
colors: {
  custom: {
    50: '#69a4a1',
    500: '#157f7b',
    950: '#000000',
  },
}
SCSS
$custom: #157f7b;
$custom-light: #69a4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#157f7b",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 123
  },
  "hsl": {
    "h": 177.736,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54081,
    "c": 0.08845,
    "h": 190.8
  },
  "luminance": 0.16768
}

Semantic roles & 50–950 ramp

primary
#157F7B
secondary
#B43C40
accent
#3940EE
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#070F0E
muted
#7A7F7E

Preview Lab

Preview with #157F7B

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

Preview Lab → · Contrast checker → · Palette generator →

#157F7B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva