#157F7E#157F7E

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

Color values

HEX#157F7E
RGBrgb(21, 127, 126)
HSLhsl(179, 72%, 29%)
HSVhsv(179, 83%, 50%)
CMYKcmyk(83.5%, 0%, 0.8%, 50.2%)
CIE-LABlab(48.06, -27.67, -7.56)
CIE-LCHlch(48.06, 28.68, 195.29°)
OKLaboklab(54.19% -0.0854 -0.0211)
OKLCHoklch(54.19% 0.088 193.9)
XYZxyz(11.6628, 16.8431, 22.3710)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F7E #7F1516
analogous
#157F49 #157F7E #154B7F
triadic
#157F7E #7E157F #7F7E15
tetradic
#157F7E #49157F #7F1516 #4B7F15
square
#157F7E #49157F #7F1516 #4B7F15
split-complementary
#157F7E #7F154B #7F4915
monochromatic
#041A1A #0C4A4A #157F7E #1EB4B2 #31DDDB

Accessibility & contrast

On white

4.81
#157F7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#157F7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157F7E
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F7E#FFFFFF#000000##FFFFFF
##157F7E1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76787E
Deuteranopia (green-blind)
#686E7F
Tritanopia (blue-blind)
#00837E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #157f7e;
/* rgb */ color: rgb(21, 127, 126);
/* oklch */ color: oklch(54.2% 0.088 193.9);
Tailwind
colors: {
  custom: {
    50: '#6aa4a3',
    500: '#157f7e',
    950: '#000000',
  },
}
SCSS
$custom: #157f7e;
$custom-light: #6aa4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#157f7e",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 126
  },
  "hsl": {
    "h": 179.434,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54192,
    "c": 0.08801,
    "h": 193.9
  },
  "luminance": 0.16845
}

Semantic roles & 50–950 ramp

primary
#157F7E
secondary
#B43C3D
accent
#393BEE
background
#F6FAFA
surface
#ECF4F3
border
#C7CECD
text
#080F0F
muted
#7A7F7F

Preview Lab

Preview with #157F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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