#157E5B#157E5B

#157E5B is a mid, moderate teal. Relative luminance 0.158; OKLCH L 52.8% C 0.106 H 164.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#157E5B
RGBrgb(21, 126, 91)
HSLhsl(160, 71%, 29%)
HSVhsv(160, 83%, 49%)
CMYKcmyk(83.3%, 0%, 27.8%, 50.6%)
CIE-LABlab(46.76, -37.19, 11.15)
CIE-LCHlch(46.76, 38.83, 163.31°)
OKLaboklab(52.8% -0.102 0.0284)
OKLCHoklch(52.8% 0.106 164.4)
XYZxyz(9.6573, 15.8353, 12.4430)
Luminance0.1584 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E5B #7E1538
analogous
#157E27 #157E5B #156D7E
triadic
#157E5B #5B157E #7E5B15
tetradic
#157E5B #27157E #7E1538 #6D7E15
square
#157E5B #27157E #7E1538 #6D7E15
split-complementary
#157E5B #7E156D #7E2715
monochromatic
#041A13 #0C4A35 #157E5B #1EB281 #31DDA3

Accessibility & contrast

On white

5.04
#157E5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#157E5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157E5B
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157E5B#FFFFFF#000000##FFFFFF
##157E5B1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7459
Deuteranopia (green-blind)
#6F6B5D
Tritanopia (blue-blind)
#007E74
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #157e5b;
/* rgb */ color: rgb(21, 126, 91);
/* oklch */ color: oklch(52.8% 0.106 164.4);
Tailwind
colors: {
  custom: {
    50: '#67a489',
    500: '#157e5b',
    950: '#000000',
  },
}
SCSS
$custom: #157e5b;
$custom-light: #67a489;
$custom-dark: #000000;
JSON
{
  "hex": "#157e5b",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 91
  },
  "hsl": {
    "h": 160,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52804,
    "c": 0.10587,
    "h": 164.4
  },
  "luminance": 0.15836
}

Semantic roles & 50–950 ramp

primary
#157E5B
secondary
#B33C64
accent
#3A76EE
background
#F6FAF8
surface
#EBF4F0
border
#C6CECB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #157E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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