#157A52#157A52

#157A52 is a mid, moderate teal. Relative luminance 0.147; OKLCH L 51.5% C 0.109 H 160.6°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#157A52
RGBrgb(21, 122, 82)
HSLhsl(156, 71%, 28%)
HSVhsv(156, 83%, 48%)
CMYKcmyk(82.8%, 0%, 32.8%, 52.2%)
CIE-LABlab(45.20, -37.68, 14.24)
CIE-LCHlch(45.20, 40.28, 159.30°)
OKLaboklab(51.46% -0.1024 0.0361)
OKLCHoklch(51.46% 0.109 160.6)
XYZxyz(8.7908, 14.6866, 10.3525)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A52 #7A153D
analogous
#157A20 #157A52 #156F7A
triadic
#157A52 #52157A #7A5215
tetradic
#157A52 #20157A #7A153D #6F7A15
square
#157A52 #20157A #7A153D #6F7A15
split-complementary
#157A52 #7A156F #7A2015
monochromatic
#041A12 #0C462F #157A52 #1EAE75 #2EDB97

Accessibility & contrast

On white

5.33
#157A52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#157A52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157A52
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157A52#FFFFFF#000000##FFFFFF
##157A521.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787050
Deuteranopia (green-blind)
#6C6755
Tritanopia (blue-blind)
#007A6F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157a52;
/* rgb */ color: rgb(21, 122, 82);
/* oklch */ color: oklch(51.5% 0.109 160.6);
Tailwind
colors: {
  custom: {
    50: '#66a182',
    500: '#157a52',
    950: '#000000',
  },
}
SCSS
$custom: #157a52;
$custom-light: #66a182;
$custom-dark: #000000;
JSON
{
  "hex": "#157a52",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 82
  },
  "hsl": {
    "h": 156.238,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51458,
    "c": 0.1086,
    "h": 160.6
  },
  "luminance": 0.14688
}

Semantic roles & 50–950 ramp

primary
#157A52
secondary
#AF3B69
accent
#3A81ED
background
#F6FAF8
surface
#EBF3EF
border
#C6CDCA
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #157A52

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

Preview Lab → · Contrast checker → · Palette generator →

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