#157F5C#157F5C

#157F5C is a mid, moderate teal. Relative luminance 0.161; OKLCH L 53.1% C 0.106 H 164.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#157F5C
RGBrgb(21, 127, 92)
HSLhsl(160, 72%, 29%)
HSVhsv(160, 83%, 50%)
CMYKcmyk(83.5%, 0%, 27.6%, 50.2%)
CIE-LABlab(47.12, -37.37, 11.07)
CIE-LCHlch(47.12, 38.97, 163.50°)
OKLaboklab(53.11% -0.1025 0.0282)
OKLCHoklch(53.11% 0.106 164.6)
XYZxyz(9.8293, 16.1097, 12.7146)
Luminance0.1611 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F5C #7F1538
analogous
#157F27 #157F5C #156D7F
triadic
#157F5C #5C157F #7F5C15
tetradic
#157F5C #27157F #7F1538 #6D7F15
square
#157F5C #27157F #7F1538 #6D7F15
split-complementary
#157F5C #7F156D #7F2715
monochromatic
#041A13 #0C4A36 #157F5C #1EB482 #31DDA4

Accessibility & contrast

On white

4.97
#157F5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#157F5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157F5C
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F5C#FFFFFF#000000##FFFFFF
##157F5C1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C755A
Deuteranopia (green-blind)
#706C5E
Tritanopia (blue-blind)
#007F75
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #157f5c;
/* rgb */ color: rgb(21, 127, 92);
/* oklch */ color: oklch(53.1% 0.106 164.6);
Tailwind
colors: {
  custom: {
    50: '#67a58a',
    500: '#157f5c',
    950: '#000000',
  },
}
SCSS
$custom: #157f5c;
$custom-light: #67a58a;
$custom-dark: #000000;
JSON
{
  "hex": "#157f5c",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 92
  },
  "hsl": {
    "h": 160.189,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53108,
    "c": 0.10632,
    "h": 164.6
  },
  "luminance": 0.16111
}

Semantic roles & 50–950 ramp

primary
#157F5C
secondary
#B43C63
accent
#3975EE
background
#F6FAF8
surface
#EBF4F0
border
#C6CECB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #157F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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