#157F52#157F52

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

Color values

HEX#157F52
RGBrgb(21, 127, 82)
HSLhsl(155, 72%, 29%)
HSVhsv(155, 83%, 50%)
CMYKcmyk(83.5%, 0%, 35.4%, 50.2%)
CIE-LABlab(46.90, -39.74, 16.56)
CIE-LCHlch(46.90, 43.06, 157.38°)
OKLaboklab(52.86% -0.1076 0.0418)
OKLCHoklch(52.86% 0.115 158.8)
XYZxyz(9.4206, 15.9462, 10.5624)
Luminance0.1595 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F52 #7F1542
analogous
#157F1D #157F52 #15777F
triadic
#157F52 #52157F #7F5215
tetradic
#157F52 #1D157F #7F1542 #777F15
square
#157F52 #1D157F #7F1542 #777F15
split-complementary
#157F52 #7F1577 #7F1D15
monochromatic
#041A11 #0C4A30 #157F52 #1EB474 #31DD94

Accessibility & contrast

On white

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

On black

4.19
#157F52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##157F52#FFFFFF#000000##FFFFFF
##157F521.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E744F
Deuteranopia (green-blind)
#716C55
Tritanopia (blue-blind)
#007E73
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #157f52;
/* rgb */ color: rgb(21, 127, 82);
/* oklch */ color: oklch(52.9% 0.115 158.8);
Tailwind
colors: {
  custom: {
    50: '#67a583',
    500: '#157f52',
    950: '#000000',
  },
}
SCSS
$custom: #157f52;
$custom-light: #67a583;
$custom-dark: #000000;
JSON
{
  "hex": "#157f52",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 82
  },
  "hsl": {
    "h": 154.528,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52861,
    "c": 0.11544,
    "h": 158.8
  },
  "luminance": 0.15947
}

Semantic roles & 50–950 ramp

primary
#157F52
secondary
#B43C6F
accent
#3986EE
background
#F6FAF8
surface
#EBF4EF
border
#C6CECA
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #157F52

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

Preview Lab → · Contrast checker → · Palette generator →

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