#157B5F#157B5F

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

Color values

HEX#157B5F
RGBrgb(21, 123, 95)
HSLhsl(164, 71%, 28%)
HSVhsv(164, 83%, 48%)
CMYKcmyk(82.9%, 0%, 22.8%, 51.8%)
CIE-LABlab(45.84, -34.86, 7.51)
CIE-LCHlch(45.84, 35.66, 167.84°)
OKLaboklab(52.08% -0.0968 0.0192)
OKLCHoklch(52.08% 0.099 168.8)
XYZxyz(9.4566, 15.1504, 13.2502)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B5F #7B1531
analogous
#157B2C #157B5F #15647B
triadic
#157B5F #5F157B #7B5F15
tetradic
#157B5F #2C157B #7B1531 #647B15
square
#157B5F #2C157B #7B1531 #647B15
split-complementary
#157B5F #7B1564 #7B2C15
monochromatic
#041A14 #0C4737 #157B5F #1EAF87 #2FDBAC

Accessibility & contrast

On white

5.21
#157B5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #157B5F
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157B5F#FFFFFF#000000##FFFFFF
##157B5F1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78725E
Deuteranopia (green-blind)
#6B6961
Tritanopia (blue-blind)
#007C73
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157b5f;
/* rgb */ color: rgb(21, 123, 95);
/* oklch */ color: oklch(52.1% 0.099 168.8);
Tailwind
colors: {
  custom: {
    50: '#66a28c',
    500: '#157b5f',
    950: '#000000',
  },
}
SCSS
$custom: #157b5f;
$custom-light: #66a28c;
$custom-dark: #000000;
JSON
{
  "hex": "#157b5f",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 95
  },
  "hsl": {
    "h": 163.529,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.5208,
    "c": 0.09865,
    "h": 168.8
  },
  "luminance": 0.15152
}

Semantic roles & 50–950 ramp

primary
#157B5F
secondary
#B03B5C
accent
#3A6BEE
background
#F6FAF8
surface
#EBF3F0
border
#C6CDCB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #157B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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