#157F5D#157F5D

#157F5D is a mid, moderate teal. Relative luminance 0.161; OKLCH L 53.1% C 0.105 H 165.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#157F5D
RGBrgb(21, 127, 93)
HSLhsl(161, 72%, 29%)
HSVhsv(161, 83%, 50%)
CMYKcmyk(83.5%, 0%, 26.8%, 50.2%)
CIE-LABlab(47.14, -37.12, 10.52)
CIE-LCHlch(47.14, 38.58, 164.18°)
OKLaboklab(53.13% -0.102 0.0268)
OKLCHoklch(53.13% 0.105 165.3)
XYZxyz(9.8733, 16.1273, 12.9463)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F5D #7F1537
analogous
#157F28 #157F5D #156C7F
triadic
#157F5D #5D157F #7F5D15
tetradic
#157F5D #28157F #7F1537 #6C7F15
square
#157F5D #28157F #7F1537 #6C7F15
split-complementary
#157F5D #7F156C #7F2815
monochromatic
#041A13 #0C4A37 #157F5D #1EB483 #31DDA6

Accessibility & contrast

On white

4.97
#157F5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#157F5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157F5D
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F5D#FFFFFF#000000##FFFFFF
##157F5D1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C755B
Deuteranopia (green-blind)
#6F6C5F
Tritanopia (blue-blind)
#007F76
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #157f5d;
/* rgb */ color: rgb(21, 127, 93);
/* oklch */ color: oklch(53.1% 0.105 165.3);
Tailwind
colors: {
  custom: {
    50: '#67a58b',
    500: '#157f5d',
    950: '#000000',
  },
}
SCSS
$custom: #157f5d;
$custom-light: #67a58b;
$custom-dark: #000000;
JSON
{
  "hex": "#157f5d",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 93
  },
  "hsl": {
    "h": 160.755,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53134,
    "c": 0.10546,
    "h": 165.3
  },
  "luminance": 0.16128
}

Semantic roles & 50–950 ramp

primary
#157F5D
secondary
#B43C62
accent
#3973EE
background
#F6FAF8
surface
#EBF4F0
border
#C6CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #157F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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