#157B56#157B56

#157B56 is a mid, moderate teal. Relative luminance 0.150; OKLCH L 51.8% C 0.106 H 162.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#157B56
RGBrgb(21, 123, 86)
HSLhsl(158, 71%, 28%)
HSVhsv(158, 83%, 48%)
CMYKcmyk(82.9%, 0%, 30.1%, 51.8%)
CIE-LABlab(45.63, -37.15, 12.49)
CIE-LCHlch(45.63, 39.19, 161.41°)
OKLaboklab(51.84% -0.1014 0.0318)
OKLCHoklch(51.84% 0.106 162.6)
XYZxyz(9.0709, 14.9961, 11.2188)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B56 #7B153A
analogous
#157B23 #157B56 #156D7B
triadic
#157B56 #56157B #7B5615
tetradic
#157B56 #23157B #7B153A #6D7B15
square
#157B56 #23157B #7B153A #6D7B15
split-complementary
#157B56 #7B156D #7B2315
monochromatic
#041A12 #0C4731 #157B56 #1EAF7B #2FDB9D

Accessibility & contrast

On white

5.25
#157B56 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#157B56 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157B56
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157B56#FFFFFF#000000##FFFFFF
##157B561.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797154
Deuteranopia (green-blind)
#6D6858
Tritanopia (blue-blind)
#007B71
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157b56;
/* rgb */ color: rgb(21, 123, 86);
/* oklch */ color: oklch(51.8% 0.106 162.6);
Tailwind
colors: {
  custom: {
    50: '#66a285',
    500: '#157b56',
    950: '#000000',
  },
}
SCSS
$custom: #157b56;
$custom-light: #66a285;
$custom-dark: #000000;
JSON
{
  "hex": "#157b56",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 86
  },
  "hsl": {
    "h": 158.235,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51838,
    "c": 0.10628,
    "h": 162.6
  },
  "luminance": 0.14997
}

Semantic roles & 50–950 ramp

primary
#157B56
secondary
#B03B66
accent
#3A7BEE
background
#F6FAF8
surface
#EBF3EF
border
#C6CDCA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #157B56

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

Preview Lab → · Contrast checker → · Palette generator →

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