#157B52#157B52

#157B52 is a mid, moderate teal. Relative luminance 0.149; OKLCH L 51.7% C 0.110 H 160.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#157B52
RGBrgb(21, 123, 82)
HSLhsl(156, 71%, 28%)
HSVhsv(156, 83%, 48%)
CMYKcmyk(82.9%, 0%, 33.3%, 51.8%)
CIE-LABlab(45.54, -38.10, 14.70)
CIE-LCHlch(45.54, 40.84, 158.90°)
OKLaboklab(51.74% -0.1035 0.0372)
OKLCHoklch(51.74% 0.11 160.2)
XYZxyz(8.9143, 14.9334, 10.3936)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B52 #7B153E
analogous
#157B1F #157B52 #15717B
triadic
#157B52 #52157B #7B5215
tetradic
#157B52 #1F157B #7B153E #717B15
square
#157B52 #1F157B #7B153E #717B15
split-complementary
#157B52 #7B1571 #7B1F15
monochromatic
#041A11 #0C472F #157B52 #1EAF75 #2FDB96

Accessibility & contrast

On white

5.27
#157B52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#157B52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157B52
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157B52#FFFFFF#000000##FFFFFF
##157B521.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797150
Deuteranopia (green-blind)
#6D6855
Tritanopia (blue-blind)
#007A70
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157b52;
/* rgb */ color: rgb(21, 123, 82);
/* oklch */ color: oklch(51.7% 0.110 160.2);
Tailwind
colors: {
  custom: {
    50: '#66a282',
    500: '#157b52',
    950: '#000000',
  },
}
SCSS
$custom: #157b52;
$custom-light: #66a282;
$custom-dark: #000000;
JSON
{
  "hex": "#157b52",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 82
  },
  "hsl": {
    "h": 155.882,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51739,
    "c": 0.10997,
    "h": 160.2
  },
  "luminance": 0.14935
}

Semantic roles & 50–950 ramp

primary
#157B52
secondary
#B03B6A
accent
#3A82EE
background
#F6FAF8
surface
#EBF4EF
border
#C6CECA
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #157B52

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

Preview Lab → · Contrast checker → · Palette generator →

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