#157F7F#157F7F

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

Color values

HEX#157F7F
RGBrgb(21, 127, 127)
HSLhsl(180, 72%, 29%)
HSVhsv(180, 83%, 50%)
CMYKcmyk(83.5%, 0%, 0%, 50.2%)
CIE-LABlab(48.09, -27.35, -8.11)
CIE-LCHlch(48.09, 28.53, 196.51°)
OKLaboklab(54.23% -0.085 -0.0226)
OKLCHoklch(54.23% 0.088 194.9)
XYZxyz(11.7276, 16.8690, 22.7125)
Luminance0.1687 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F7F #7F1515
analogous
#157F4A #157F7F #154A7F
triadic
#157F7F #7F157F #7F7F15
tetradic
#157F7F #4A157F #7F1515 #4A7F15
square
#157F7F #4A157F #7F1515 #4A7F15
split-complementary
#157F7F #7F154A #7F4A15
monochromatic
#041A1A #0C4A4A #157F7F #1EB4B4 #31DDDD

Accessibility & contrast

On white

4.80
#157F7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #157F7F
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F7F#FFFFFF#000000##FFFFFF
##157F7F1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76787F
Deuteranopia (green-blind)
#676E80
Tritanopia (blue-blind)
#00837F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #157f7f;
/* rgb */ color: rgb(21, 127, 127);
/* oklch */ color: oklch(54.2% 0.088 194.9);
Tailwind
colors: {
  custom: {
    50: '#6aa4a4',
    500: '#157f7f',
    950: '#000000',
  },
}
SCSS
$custom: #157f7f;
$custom-light: #6aa4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#157f7f",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 127
  },
  "hsl": {
    "h": 180,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5423,
    "c": 0.08792,
    "h": 194.9
  },
  "luminance": 0.1687
}

Semantic roles & 50–950 ramp

primary
#157F7F
secondary
#B43C3C
accent
#3939EE
background
#F6FAFA
surface
#ECF4F4
border
#C7CECE
text
#080F0F
muted
#7A7F7F

Preview Lab

Preview with #157F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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