#157F54#157F54

#157F54 is a mid, moderate teal. Relative luminance 0.160; OKLCH L 52.9% C 0.114 H 159.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#157F54
RGBrgb(21, 127, 84)
HSLhsl(156, 72%, 29%)
HSVhsv(156, 83%, 50%)
CMYKcmyk(83.5%, 0%, 33.9%, 50.2%)
CIE-LABlab(46.94, -39.29, 15.46)
CIE-LCHlch(46.94, 42.22, 158.52°)
OKLaboklab(52.91% -0.1066 0.0391)
OKLCHoklch(52.91% 0.114 159.9)
XYZxyz(9.4978, 15.9771, 10.9691)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F54 #7F1540
analogous
#157F1F #157F54 #15757F
triadic
#157F54 #54157F #7F5415
tetradic
#157F54 #1F157F #7F1540 #757F15
square
#157F54 #1F157F #7F1540 #757F15
split-complementary
#157F54 #7F1575 #7F1F15
monochromatic
#041A11 #0C4A31 #157F54 #1EB477 #31DD97

Accessibility & contrast

On white

5.01
#157F54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#157F54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157F54
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F54#FFFFFF#000000##FFFFFF
##157F541.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7551
Deuteranopia (green-blind)
#716C57
Tritanopia (blue-blind)
#007E74
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #157f54;
/* rgb */ color: rgb(21, 127, 84);
/* oklch */ color: oklch(52.9% 0.114 159.9);
Tailwind
colors: {
  custom: {
    50: '#67a584',
    500: '#157f54',
    950: '#000000',
  },
}
SCSS
$custom: #157f54;
$custom-light: #67a584;
$custom-dark: #000000;
JSON
{
  "hex": "#157f54",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 84
  },
  "hsl": {
    "h": 155.66,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52908,
    "c": 0.11355,
    "h": 159.9
  },
  "luminance": 0.15978
}

Semantic roles & 50–950 ramp

primary
#157F54
secondary
#B43C6D
accent
#3983EE
background
#F6FAF8
surface
#EBF4EF
border
#C6CECA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #157F54

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

Preview Lab → · Contrast checker → · Palette generator →

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