#157C52#157C52

#157C52 is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.0% C 0.111 H 159.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#157C52
RGBrgb(21, 124, 82)
HSLhsl(156, 71%, 28%)
HSVhsv(156, 83%, 49%)
CMYKcmyk(83.1%, 0%, 33.9%, 51.4%)
CIE-LABlab(45.88, -38.51, 15.17)
CIE-LCHlch(45.88, 41.39, 158.50°)
OKLaboklab(52.02% -0.1045 0.0384)
OKLCHoklch(52.02% 0.111 159.8)
XYZxyz(9.0389, 15.1828, 10.4352)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C52 #7C153F
analogous
#157C1E #157C52 #15727C
triadic
#157C52 #52157C #7C5215
tetradic
#157C52 #1E157C #7C153F #727C15
square
#157C52 #1E157C #7C153F #727C15
split-complementary
#157C52 #7C1572 #7C1E15
monochromatic
#041A11 #0C482F #157C52 #1EB075 #30DC96

Accessibility & contrast

On white

5.20
#157C52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#157C52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157C52
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157C52#FFFFFF#000000##FFFFFF
##157C521.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A724F
Deuteranopia (green-blind)
#6E6955
Tritanopia (blue-blind)
#007B71
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157c52;
/* rgb */ color: rgb(21, 124, 82);
/* oklch */ color: oklch(52.0% 0.111 159.8);
Tailwind
colors: {
  custom: {
    50: '#66a382',
    500: '#157c52',
    950: '#000000',
  },
}
SCSS
$custom: #157c52;
$custom-light: #66a382;
$custom-dark: #000000;
JSON
{
  "hex": "#157c52",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 82
  },
  "hsl": {
    "h": 155.534,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52019,
    "c": 0.11134,
    "h": 159.8
  },
  "luminance": 0.15184
}

Semantic roles & 50–950 ramp

primary
#157C52
secondary
#B13C6C
accent
#3A83EE
background
#F6FAF8
surface
#EBF4EF
border
#C6CECA
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #157C52

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

Preview Lab → · Contrast checker → · Palette generator →

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