#157D4D#157D4D

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

Color values

HEX#157D4D
RGBrgb(21, 125, 77)
HSLhsl(152, 71%, 29%)
HSVhsv(152, 83%, 49%)
CMYKcmyk(83.2%, 0%, 38.4%, 51%)
CIE-LABlab(46.13, -40.04, 18.37)
CIE-LCHlch(46.13, 44.05, 155.35°)
OKLaboklab(52.19% -0.1081 0.0461)
OKLCHoklch(52.19% 0.118 156.9)
XYZxyz(8.9815, 15.3614, 9.5114)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157D4D #7D1545
analogous
#157D19 #157D4D #15797D
triadic
#157D4D #4D157D #7D4D15
tetradic
#157D4D #19157D #7D1545 #797D15
square
#157D4D #19157D #7D1545 #797D15
split-complementary
#157D4D #7D1579 #7D1915
monochromatic
#041A10 #0C492D #157D4D #1EB16D #30DC8D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157D4D#FFFFFF#000000##FFFFFF
##157D4D1.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)
#7C724A
Deuteranopia (green-blind)
#706A50
Tritanopia (blue-blind)
#007C71
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157d4d;
/* rgb */ color: rgb(21, 125, 77);
/* oklch */ color: oklch(52.2% 0.117 156.9);
Tailwind
colors: {
  custom: {
    50: '#66a37f',
    500: '#157d4d',
    950: '#000000',
  },
}
SCSS
$custom: #157d4d;
$custom-light: #66a37f;
$custom-dark: #000000;
JSON
{
  "hex": "#157d4d",
  "rgb": {
    "r": 21,
    "g": 125,
    "b": 77
  },
  "hsl": {
    "h": 152.308,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52186,
    "c": 0.1175,
    "h": 156.9
  },
  "luminance": 0.15362
}

Semantic roles & 50–950 ramp

primary
#157D4D
secondary
#B23C72
accent
#3A8DEE
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #157D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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