#157D4C#157D4C

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

Color values

HEX#157D4C
RGBrgb(21, 125, 76)
HSLhsl(152, 71%, 29%)
HSVhsv(152, 83%, 49%)
CMYKcmyk(83.2%, 0%, 39.2%, 51%)
CIE-LABlab(46.11, -40.26, 18.92)
CIE-LCHlch(46.11, 44.48, 154.83°)
OKLaboklab(52.16% -0.1086 0.0473)
OKLCHoklch(52.16% 0.118 156.4)
XYZxyz(8.9465, 15.3474, 9.3269)
Luminance0.1535 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157D4C #7D1546
analogous
#157D18 #157D4C #157A7D
triadic
#157D4C #4C157D #7D4C15
tetradic
#157D4C #18157D #7D1546 #7A7D15
square
#157D4C #18157D #7D1546 #7A7D15
split-complementary
#157D4C #7D157A #7D1815
monochromatic
#041A10 #0C492C #157D4C #1EB16C #30DC8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157D4C#FFFFFF#000000##FFFFFF
##157D4C1.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)
#7C7249
Deuteranopia (green-blind)
#706A4F
Tritanopia (blue-blind)
#007C71
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157d4c;
/* rgb */ color: rgb(21, 125, 76);
/* oklch */ color: oklch(52.2% 0.118 156.4);
Tailwind
colors: {
  custom: {
    50: '#66a37e',
    500: '#157d4c',
    950: '#000000',
  },
}
SCSS
$custom: #157d4c;
$custom-light: #66a37e;
$custom-dark: #000000;
JSON
{
  "hex": "#157d4c",
  "rgb": {
    "r": 21,
    "g": 125,
    "b": 76
  },
  "hsl": {
    "h": 151.731,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52164,
    "c": 0.11847,
    "h": 156.4
  },
  "luminance": 0.15348
}

Semantic roles & 50–950 ramp

primary
#157D4C
secondary
#B23C73
accent
#3A8FEE
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #157D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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