#157B5E#157B5E

#157B5E is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.1% C 0.099 H 168.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#157B5E
RGBrgb(21, 123, 94)
HSLhsl(163, 71%, 28%)
HSVhsv(163, 83%, 48%)
CMYKcmyk(82.9%, 0%, 23.6%, 51.8%)
CIE-LABlab(45.81, -35.13, 8.06)
CIE-LCHlch(45.81, 36.04, 167.07°)
OKLaboklab(52.05% -0.0973 0.0206)
OKLCHoklch(52.05% 0.099 168)
XYZxyz(9.4115, 15.1323, 13.0123)
Luminance0.1513 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B5E #7B1532
analogous
#157B2B #157B5E #15657B
triadic
#157B5E #5E157B #7B5E15
tetradic
#157B5E #2B157B #7B1532 #657B15
square
#157B5E #2B157B #7B1532 #657B15
split-complementary
#157B5E #7B1565 #7B2B15
monochromatic
#041A14 #0C4736 #157B5E #1EAF86 #2FDBAA

Accessibility & contrast

On white

5.22
#157B5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#157B5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157B5E
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157B5E#FFFFFF#000000##FFFFFF
##157B5E1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78725C
Deuteranopia (green-blind)
#6B6960
Tritanopia (blue-blind)
#007C73
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157b5e;
/* rgb */ color: rgb(21, 123, 94);
/* oklch */ color: oklch(52.1% 0.099 168.0);
Tailwind
colors: {
  custom: {
    50: '#66a28b',
    500: '#157b5e',
    950: '#000000',
  },
}
SCSS
$custom: #157b5e;
$custom-light: #66a28b;
$custom-dark: #000000;
JSON
{
  "hex": "#157b5e",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 94
  },
  "hsl": {
    "h": 162.941,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52052,
    "c": 0.09945,
    "h": 168
  },
  "luminance": 0.15133
}

Semantic roles & 50–950 ramp

primary
#157B5E
secondary
#B03B5D
accent
#3A6DEE
background
#F6FAF8
surface
#EBF3F0
border
#C6CDCB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #157B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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