#157A5D#157A5D

#157A5D is a mid, moderate teal. Relative luminance 0.149; OKLCH L 51.7% C 0.099 H 167.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#157A5D
RGBrgb(21, 122, 93)
HSLhsl(163, 71%, 28%)
HSVhsv(163, 83%, 48%)
CMYKcmyk(82.8%, 0%, 23.8%, 52.2%)
CIE-LABlab(45.45, -34.95, 8.14)
CIE-LCHlch(45.45, 35.88, 166.89°)
OKLaboklab(51.75% -0.0967 0.0208)
OKLCHoklch(51.75% 0.099 167.9)
XYZxyz(9.2435, 14.8677, 12.7364)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A5D #7A1532
analogous
#157A2A #157A5D #15647A
triadic
#157A5D #5D157A #7A5D15
tetradic
#157A5D #2A157A #7A1532 #647A15
square
#157A5D #2A157A #7A1532 #647A15
split-complementary
#157A5D #7A1564 #7A2A15
monochromatic
#041A14 #0C4635 #157A5D #1EAE85 #2EDBA9

Accessibility & contrast

On white

5.28
#157A5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#157A5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157A5D
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157A5D#FFFFFF#000000##FFFFFF
##157A5D1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77715B
Deuteranopia (green-blind)
#6A685F
Tritanopia (blue-blind)
#007B72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157a5d;
/* rgb */ color: rgb(21, 122, 93);
/* oklch */ color: oklch(51.7% 0.099 167.9);
Tailwind
colors: {
  custom: {
    50: '#66a18b',
    500: '#157a5d',
    950: '#000000',
  },
}
SCSS
$custom: #157a5d;
$custom-light: #66a18b;
$custom-dark: #000000;
JSON
{
  "hex": "#157a5d",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 93
  },
  "hsl": {
    "h": 162.772,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51746,
    "c": 0.09896,
    "h": 167.9
  },
  "luminance": 0.14869
}

Semantic roles & 50–950 ramp

primary
#157A5D
secondary
#AF3B5D
accent
#3A6EED
background
#F6FAF8
surface
#EBF3F0
border
#C6CDCB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #157A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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