#157D5D#157D5D

#157D5D is a mid, moderate teal. Relative luminance 0.156; OKLCH L 52.6% C 0.103 H 166.3°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#157D5D
RGBrgb(21, 125, 93)
HSLhsl(162, 71%, 29%)
HSVhsv(162, 83%, 49%)
CMYKcmyk(83.2%, 0%, 25.6%, 51%)
CIE-LABlab(46.47, -36.26, 9.57)
CIE-LCHlch(46.47, 37.50, 165.21°)
OKLaboklab(52.58% -0.0999 0.0244)
OKLCHoklch(52.58% 0.103 166.3)
XYZxyz(9.6175, 15.6158, 12.8611)
Luminance0.1562 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157D5D #7D1535
analogous
#157D29 #157D5D #15697D
triadic
#157D5D #5D157D #7D5D15
tetradic
#157D5D #29157D #7D1535 #697D15
square
#157D5D #29157D #7D1535 #697D15
split-complementary
#157D5D #7D1569 #7D2915
monochromatic
#041A13 #0C4936 #157D5D #1EB184 #30DCA7

Accessibility & contrast

On white

5.09
#157D5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#157D5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157D5D
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157D5D#FFFFFF#000000##FFFFFF
##157D5D1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A735B
Deuteranopia (green-blind)
#6D6A5F
Tritanopia (blue-blind)
#007D74
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #157d5d;
/* rgb */ color: rgb(21, 125, 93);
/* oklch */ color: oklch(52.6% 0.103 166.3);
Tailwind
colors: {
  custom: {
    50: '#67a38b',
    500: '#157d5d',
    950: '#000000',
  },
}
SCSS
$custom: #157d5d;
$custom-light: #67a38b;
$custom-dark: #000000;
JSON
{
  "hex": "#157d5d",
  "rgb": {
    "r": 21,
    "g": 125,
    "b": 93
  },
  "hsl": {
    "h": 161.538,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52579,
    "c": 0.10285,
    "h": 166.3
  },
  "luminance": 0.15617
}

Semantic roles & 50–950 ramp

primary
#157D5D
secondary
#B23C60
accent
#3A71EE
background
#F6FAF8
surface
#EBF4F0
border
#C6CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #157D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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