#157B5B#157B5B

#157B5B is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.0% C 0.102 H 165.9°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#157B5B
RGBrgb(21, 123, 91)
HSLhsl(161, 71%, 28%)
HSVhsv(161, 83%, 48%)
CMYKcmyk(82.9%, 0%, 26%, 51.8%)
CIE-LABlab(45.74, -35.90, 9.73)
CIE-LCHlch(45.74, 37.20, 164.84°)
OKLaboklab(51.97% -0.0988 0.0248)
OKLCHoklch(51.97% 0.102 165.9)
XYZxyz(9.2795, 15.0795, 12.3171)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B5B #7B1535
analogous
#157B28 #157B5B #15687B
triadic
#157B5B #5B157B #7B5B15
tetradic
#157B5B #28157B #7B1535 #687B15
square
#157B5B #28157B #7B1535 #687B15
split-complementary
#157B5B #7B1568 #7B2815
monochromatic
#041A13 #0C4734 #157B5B #1EAF82 #2FDBA5

Accessibility & contrast

On white

5.23
#157B5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#157B5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157B5B
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157B5B#FFFFFF#000000##FFFFFF
##157B5B1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787259
Deuteranopia (green-blind)
#6C695D
Tritanopia (blue-blind)
#007B72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157b5b;
/* rgb */ color: rgb(21, 123, 91);
/* oklch */ color: oklch(52.0% 0.102 165.9);
Tailwind
colors: {
  custom: {
    50: '#66a289',
    500: '#157b5b',
    950: '#000000',
  },
}
SCSS
$custom: #157b5b;
$custom-light: #66a289;
$custom-dark: #000000;
JSON
{
  "hex": "#157b5b",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 91
  },
  "hsl": {
    "h": 161.176,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51969,
    "c": 0.10191,
    "h": 165.9
  },
  "luminance": 0.15081
}

Semantic roles & 50–950 ramp

primary
#157B5B
secondary
#B03B60
accent
#3A72EE
background
#F6FAF8
surface
#EBF3F0
border
#C6CDCB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #157B5B

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

Preview Lab → · Contrast checker → · Palette generator →

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