#157B5A#157B5A

#157B5A is a mid, moderate teal. Relative luminance 0.151; OKLCH L 51.9% C 0.103 H 165.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#157B5A
RGBrgb(21, 123, 90)
HSLhsl(161, 71%, 28%)
HSVhsv(161, 83%, 48%)
CMYKcmyk(82.9%, 0%, 26.8%, 51.8%)
CIE-LABlab(45.72, -36.16, 10.28)
CIE-LCHlch(45.72, 37.59, 164.13°)
OKLaboklab(51.94% -0.0994 0.0262)
OKLCHoklch(51.94% 0.103 165.2)
XYZxyz(9.2366, 15.0624, 12.0914)
Luminance0.1506 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B5A #7B1536
analogous
#157B27 #157B5A #15697B
triadic
#157B5A #5A157B #7B5A15
tetradic
#157B5A #27157B #7B1536 #697B15
square
#157B5A #27157B #7B1536 #697B15
split-complementary
#157B5A #7B1569 #7B2715
monochromatic
#041A13 #0C4734 #157B5A #1EAF80 #2FDBA4

Accessibility & contrast

On white

5.23
#157B5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#157B5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157B5A
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157B5A#FFFFFF#000000##FFFFFF
##157B5A1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787258
Deuteranopia (green-blind)
#6C695C
Tritanopia (blue-blind)
#007B72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157b5a;
/* rgb */ color: rgb(21, 123, 90);
/* oklch */ color: oklch(51.9% 0.103 165.2);
Tailwind
colors: {
  custom: {
    50: '#66a288',
    500: '#157b5a',
    950: '#000000',
  },
}
SCSS
$custom: #157b5a;
$custom-light: #66a288;
$custom-dark: #000000;
JSON
{
  "hex": "#157b5a",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 90
  },
  "hsl": {
    "h": 160.588,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51942,
    "c": 0.10276,
    "h": 165.2
  },
  "luminance": 0.15064
}

Semantic roles & 50–950 ramp

primary
#157B5A
secondary
#B03B61
accent
#3A74EE
background
#F6FAF8
surface
#EBF3EF
border
#C6CDCA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #157B5A

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

Preview Lab → · Contrast checker → · Palette generator →

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