#157B5D#157B5D

#157B5D is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.0% C 0.100 H 167.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#157B5D
RGBrgb(21, 123, 93)
HSLhsl(162, 71%, 28%)
HSVhsv(162, 83%, 48%)
CMYKcmyk(82.9%, 0%, 24.4%, 51.8%)
CIE-LABlab(45.79, -35.39, 8.62)
CIE-LCHlch(45.79, 36.42, 166.31°)
OKLaboklab(52.02% -0.0978 0.022)
OKLCHoklch(52.02% 0.1 167.3)
XYZxyz(9.3669, 15.1145, 12.7775)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B5D #7B1533
analogous
#157B2A #157B5D #15667B
triadic
#157B5D #5D157B #7B5D15
tetradic
#157B5D #2A157B #7B1533 #667B15
square
#157B5D #2A157B #7B1533 #667B15
split-complementary
#157B5D #7B1566 #7B2A15
monochromatic
#041A14 #0C4735 #157B5D #1EAF85 #2FDBA9

Accessibility & contrast

On white

5.22
#157B5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#157B5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157B5D
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157B5D#FFFFFF#000000##FFFFFF
##157B5D1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78725B
Deuteranopia (green-blind)
#6B695F
Tritanopia (blue-blind)
#007C73
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157b5d;
/* rgb */ color: rgb(21, 123, 93);
/* oklch */ color: oklch(52.0% 0.100 167.3);
Tailwind
colors: {
  custom: {
    50: '#66a28b',
    500: '#157b5d',
    950: '#000000',
  },
}
SCSS
$custom: #157b5d;
$custom-light: #66a28b;
$custom-dark: #000000;
JSON
{
  "hex": "#157b5d",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 93
  },
  "hsl": {
    "h": 162.353,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52024,
    "c": 0.10026,
    "h": 167.3
  },
  "luminance": 0.15116
}

Semantic roles & 50–950 ramp

primary
#157B5D
secondary
#B03B5E
accent
#3A6FEE
background
#F6FAF8
surface
#EBF3F0
border
#C6CDCB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #157B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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