#157A5B#157A5B

#157A5B is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.7% C 0.101 H 166.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#157A5B
RGBrgb(21, 122, 91)
HSLhsl(162, 71%, 28%)
HSVhsv(162, 83%, 48%)
CMYKcmyk(82.8%, 0%, 25.4%, 52.2%)
CIE-LABlab(45.40, -35.47, 9.25)
CIE-LCHlch(45.40, 36.65, 165.38°)
OKLaboklab(51.69% -0.0978 0.0236)
OKLCHoklch(51.69% 0.101 166.4)
XYZxyz(9.1560, 14.8327, 12.2759)
Luminance0.1483 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A5B #7A1534
analogous
#157A28 #157A5B #15667A
triadic
#157A5B #5B157A #7A5B15
tetradic
#157A5B #28157A #7A1534 #667A15
square
#157A5B #28157A #7A1534 #667A15
split-complementary
#157A5B #7A1566 #7A2815
monochromatic
#041A13 #0C4634 #157A5B #1EAE82 #2EDBA6

Accessibility & contrast

On white

5.29
#157A5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#157A5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157A5B
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157A5B#FFFFFF#000000##FFFFFF
##157A5B1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#777159
Deuteranopia (green-blind)
#6B685D
Tritanopia (blue-blind)
#007A71
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157a5b;
/* rgb */ color: rgb(21, 122, 91);
/* oklch */ color: oklch(51.7% 0.101 166.4);
Tailwind
colors: {
  custom: {
    50: '#66a189',
    500: '#157a5b',
    950: '#000000',
  },
}
SCSS
$custom: #157a5b;
$custom-light: #66a189;
$custom-dark: #000000;
JSON
{
  "hex": "#157a5b",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 91
  },
  "hsl": {
    "h": 161.584,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51691,
    "c": 0.1006,
    "h": 166.4
  },
  "luminance": 0.14834
}

Semantic roles & 50–950 ramp

primary
#157A5B
secondary
#AF3B5F
accent
#3A71ED
background
#F6FAF8
surface
#EBF3F0
border
#C6CDCB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #157A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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