#157F5F#157F5F

#157F5F is a mid, moderate teal. Relative luminance 0.162; OKLCH L 53.2% C 0.104 H 166.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#157F5F
RGBrgb(21, 127, 95)
HSLhsl(162, 72%, 29%)
HSVhsv(162, 83%, 50%)
CMYKcmyk(83.5%, 0%, 25.2%, 50.2%)
CIE-LABlab(47.19, -36.61, 9.42)
CIE-LCHlch(47.19, 37.80, 165.58°)
OKLaboklab(53.19% -0.101 0.024)
OKLCHoklch(53.19% 0.104 166.6)
XYZxyz(9.9630, 16.1632, 13.4190)
Luminance0.1616 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F5F #7F1535
analogous
#157F2A #157F5F #156A7F
triadic
#157F5F #5F157F #7F5F15
tetradic
#157F5F #2A157F #7F1535 #6A7F15
square
#157F5F #2A157F #7F1535 #6A7F15
split-complementary
#157F5F #7F156A #7F2A15
monochromatic
#041A14 #0C4A38 #157F5F #1EB486 #31DDA9

Accessibility & contrast

On white

4.96
#157F5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#157F5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157F5F
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F5F#FFFFFF#000000##FFFFFF
##157F5F1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C755D
Deuteranopia (green-blind)
#6F6C61
Tritanopia (blue-blind)
#007F76
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #157f5f;
/* rgb */ color: rgb(21, 127, 95);
/* oklch */ color: oklch(53.2% 0.104 166.6);
Tailwind
colors: {
  custom: {
    50: '#67a58c',
    500: '#157f5f',
    950: '#000000',
  },
}
SCSS
$custom: #157f5f;
$custom-light: #67a58c;
$custom-dark: #000000;
JSON
{
  "hex": "#157f5f",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 95
  },
  "hsl": {
    "h": 161.887,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53188,
    "c": 0.10378,
    "h": 166.6
  },
  "luminance": 0.16164
}

Semantic roles & 50–950 ramp

primary
#157F5F
secondary
#B43C60
accent
#3970EE
background
#F6FAF8
surface
#EBF4F0
border
#C6CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #157F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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