#157F5A#157F5A

#157F5A is a mid, moderate teal. Relative luminance 0.161; OKLCH L 53.1% C 0.108 H 163.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#157F5A
RGBrgb(21, 127, 90)
HSLhsl(159, 72%, 29%)
HSVhsv(159, 83%, 50%)
CMYKcmyk(83.5%, 0%, 29.1%, 50.2%)
CIE-LABlab(47.07, -37.86, 12.17)
CIE-LCHlch(47.07, 39.77, 162.18°)
OKLaboklab(53.06% -0.1035 0.031)
OKLCHoklch(53.06% 0.108 163.3)
XYZxyz(9.7430, 16.0751, 12.2602)
Luminance0.1608 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F5A #7F153A
analogous
#157F25 #157F5A #156F7F
triadic
#157F5A #5A157F #7F5A15
tetradic
#157F5A #25157F #7F153A #6F7F15
square
#157F5A #25157F #7F153A #6F7F15
split-complementary
#157F5A #7F156F #7F2515
monochromatic
#041A13 #0C4A35 #157F5A #1EB47F #31DDA1

Accessibility & contrast

On white

4.98
#157F5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#157F5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157F5A
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F5A#FFFFFF#000000##FFFFFF
##157F5A1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7558
Deuteranopia (green-blind)
#706C5C
Tritanopia (blue-blind)
#007F75
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #157f5a;
/* rgb */ color: rgb(21, 127, 90);
/* oklch */ color: oklch(53.1% 0.108 163.3);
Tailwind
colors: {
  custom: {
    50: '#67a588',
    500: '#157f5a',
    950: '#000000',
  },
}
SCSS
$custom: #157f5a;
$custom-light: #67a588;
$custom-dark: #000000;
JSON
{
  "hex": "#157f5a",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 90
  },
  "hsl": {
    "h": 159.057,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53056,
    "c": 0.10808,
    "h": 163.3
  },
  "luminance": 0.16076
}

Semantic roles & 50–950 ramp

primary
#157F5A
secondary
#B43C66
accent
#3979EE
background
#F6FAF8
surface
#EBF4F0
border
#C6CECB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #157F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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