#157A51#157A51

#157A51 is a mid, moderate teal. Relative luminance 0.147; OKLCH L 51.4% C 0.110 H 160.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#157A51
RGBrgb(21, 122, 81)
HSLhsl(156, 71%, 28%)
HSVhsv(156, 83%, 48%)
CMYKcmyk(82.8%, 0%, 33.6%, 52.2%)
CIE-LABlab(45.18, -37.92, 14.79)
CIE-LCHlch(45.18, 40.70, 158.69°)
OKLaboklab(51.43% -0.1029 0.0374)
OKLCHoklch(51.43% 0.11 160)
XYZxyz(8.7531, 14.6715, 10.1535)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A51 #7A153E
analogous
#157A1F #157A51 #15707A
triadic
#157A51 #51157A #7A5115
tetradic
#157A51 #1F157A #7A153E #707A15
square
#157A51 #1F157A #7A153E #707A15
split-complementary
#157A51 #7A1570 #7A1F15
monochromatic
#041A11 #0C462E #157A51 #1EAE74 #2EDB95

Accessibility & contrast

On white

5.34
#157A51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#157A51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157A51
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157A51#FFFFFF#000000##FFFFFF
##157A511.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78704E
Deuteranopia (green-blind)
#6D6754
Tritanopia (blue-blind)
#00796F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157a51;
/* rgb */ color: rgb(21, 122, 81);
/* oklch */ color: oklch(51.4% 0.110 160.0);
Tailwind
colors: {
  custom: {
    50: '#66a182',
    500: '#157a51',
    950: '#000000',
  },
}
SCSS
$custom: #157a51;
$custom-light: #66a182;
$custom-dark: #000000;
JSON
{
  "hex": "#157a51",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 81
  },
  "hsl": {
    "h": 155.644,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51433,
    "c": 0.10954,
    "h": 160
  },
  "luminance": 0.14673
}

Semantic roles & 50–950 ramp

primary
#157A51
secondary
#AF3B6A
accent
#3A83ED
background
#F6FAF7
surface
#EBF3EE
border
#C6CDC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #157A51

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

Preview Lab → · Contrast checker → · Palette generator →

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