#157D5F#157D5F

#157D5F is a mid, moderate teal. Relative luminance 0.157; OKLCH L 52.6% C 0.101 H 167.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#157D5F
RGBrgb(21, 125, 95)
HSLhsl(163, 71%, 29%)
HSVhsv(163, 83%, 49%)
CMYKcmyk(83.2%, 0%, 24%, 51%)
CIE-LABlab(46.51, -35.74, 8.47)
CIE-LCHlch(46.51, 36.73, 166.67°)
OKLaboklab(52.64% -0.0989 0.0216)
OKLCHoklch(52.64% 0.101 167.7)
XYZxyz(9.7073, 15.6517, 13.3337)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157D5F #7D1533
analogous
#157D2B #157D5F #15677D
triadic
#157D5F #5F157D #7D5F15
tetradic
#157D5F #2B157D #7D1533 #677D15
square
#157D5F #2B157D #7D1533 #677D15
split-complementary
#157D5F #7D1567 #7D2B15
monochromatic
#041A14 #0C4937 #157D5F #1EB187 #30DCAB

Accessibility & contrast

On white

5.08
#157D5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#157D5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157D5F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157D5F#FFFFFF#000000##FFFFFF
##157D5F1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A745D
Deuteranopia (green-blind)
#6D6A61
Tritanopia (blue-blind)
#007E75
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #157d5f;
/* rgb */ color: rgb(21, 125, 95);
/* oklch */ color: oklch(52.6% 0.101 167.7);
Tailwind
colors: {
  custom: {
    50: '#67a38c',
    500: '#157d5f',
    950: '#000000',
  },
}
SCSS
$custom: #157d5f;
$custom-light: #67a38c;
$custom-dark: #000000;
JSON
{
  "hex": "#157d5f",
  "rgb": {
    "r": 21,
    "g": 125,
    "b": 95
  },
  "hsl": {
    "h": 162.692,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52635,
    "c": 0.10121,
    "h": 167.7
  },
  "luminance": 0.15653
}

Semantic roles & 50–950 ramp

primary
#157D5F
secondary
#B23C5E
accent
#3A6EEE
background
#F6FAF8
surface
#EBF4F0
border
#C6CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #157D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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