#157C5D#157C5D

#157C5D is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.3% C 0.102 H 166.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#157C5D
RGBrgb(21, 124, 93)
HSLhsl(162, 71%, 28%)
HSVhsv(162, 83%, 49%)
CMYKcmyk(83.1%, 0%, 25%, 51.4%)
CIE-LABlab(46.13, -35.82, 9.10)
CIE-LCHlch(46.13, 36.96, 165.75°)
OKLaboklab(52.3% -0.0989 0.0232)
OKLCHoklch(52.3% 0.102 166.8)
XYZxyz(9.4916, 15.3639, 12.8191)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C5D #7C1534
analogous
#157C2A #157C5D #15677C
triadic
#157C5D #5D157C #7C5D15
tetradic
#157C5D #2A157C #7C1534 #677C15
square
#157C5D #2A157C #7C1534 #677C15
split-complementary
#157C5D #7C1567 #7C2A15
monochromatic
#041A14 #0C4836 #157C5D #1EB084 #30DCA8

Accessibility & contrast

On white

5.16
#157C5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#157C5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157C5D
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157C5D#FFFFFF#000000##FFFFFF
##157C5D1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79735B
Deuteranopia (green-blind)
#6C6A5F
Tritanopia (blue-blind)
#007C73
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157c5d;
/* rgb */ color: rgb(21, 124, 93);
/* oklch */ color: oklch(52.3% 0.102 166.8);
Tailwind
colors: {
  custom: {
    50: '#66a38b',
    500: '#157c5d',
    950: '#000000',
  },
}
SCSS
$custom: #157c5d;
$custom-light: #66a38b;
$custom-dark: #000000;
JSON
{
  "hex": "#157c5d",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 93
  },
  "hsl": {
    "h": 161.942,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52302,
    "c": 0.10155,
    "h": 166.8
  },
  "luminance": 0.15365
}

Semantic roles & 50–950 ramp

primary
#157C5D
secondary
#B13C5F
accent
#3A70EE
background
#F6FAF8
surface
#EBF4F0
border
#C6CECB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #157C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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