#157F5B#157F5B

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

Color values

HEX#157F5B
RGBrgb(21, 127, 91)
HSLhsl(160, 72%, 29%)
HSVhsv(160, 83%, 50%)
CMYKcmyk(83.5%, 0%, 28.3%, 50.2%)
CIE-LABlab(47.10, -37.62, 11.62)
CIE-LCHlch(47.10, 39.37, 162.84°)
OKLaboklab(53.08% -0.103 0.0296)
OKLCHoklch(53.08% 0.107 164)
XYZxyz(9.7858, 16.0923, 12.4859)
Luminance0.1609 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F5B #7F1539
analogous
#157F26 #157F5B #156E7F
triadic
#157F5B #5B157F #7F5B15
tetradic
#157F5B #26157F #7F1539 #6E7F15
square
#157F5B #26157F #7F1539 #6E7F15
split-complementary
#157F5B #7F156E #7F2615
monochromatic
#041A13 #0C4A35 #157F5B #1EB481 #31DDA3

Accessibility & contrast

On white

4.98
#157F5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #157F5B
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F5B#FFFFFF#000000##FFFFFF
##157F5B1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #157f5b;
/* rgb */ color: rgb(21, 127, 91);
/* oklch */ color: oklch(53.1% 0.107 164.0);
Tailwind
colors: {
  custom: {
    50: '#67a589',
    500: '#157f5b',
    950: '#000000',
  },
}
SCSS
$custom: #157f5b;
$custom-light: #67a589;
$custom-dark: #000000;
JSON
{
  "hex": "#157f5b",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 91
  },
  "hsl": {
    "h": 159.623,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53082,
    "c": 0.10719,
    "h": 164
  },
  "luminance": 0.16094
}

Semantic roles & 50–950 ramp

primary
#157F5B
secondary
#B43C65
accent
#3977EE
background
#F6FAF8
surface
#EBF4F0
border
#C6CECB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #157F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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