#157A5E#157A5E

#157A5E is a mid, moderate teal. Relative luminance 0.149; OKLCH L 51.8% C 0.098 H 168.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#157A5E
RGBrgb(21, 122, 94)
HSLhsl(163, 71%, 28%)
HSVhsv(163, 83%, 48%)
CMYKcmyk(82.8%, 0%, 23%, 52.2%)
CIE-LABlab(45.48, -34.68, 7.59)
CIE-LCHlch(45.48, 35.50, 167.66°)
OKLaboklab(51.78% -0.0962 0.0194)
OKLCHoklch(51.78% 0.098 168.6)
XYZxyz(9.2881, 14.8855, 12.9712)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A5E #7A1531
analogous
#157A2B #157A5E #15637A
triadic
#157A5E #5E157A #7A5E15
tetradic
#157A5E #2B157A #7A1531 #637A15
square
#157A5E #2B157A #7A1531 #637A15
split-complementary
#157A5E #7A1563 #7A2B15
monochromatic
#041A14 #0C4636 #157A5E #1EAE86 #2EDBAB

Accessibility & contrast

On white

5.28
#157A5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#157A5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157A5E
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157A5E#FFFFFF#000000##FFFFFF
##157A5E1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77715D
Deuteranopia (green-blind)
#6A6860
Tritanopia (blue-blind)
#007B72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157a5e;
/* rgb */ color: rgb(21, 122, 94);
/* oklch */ color: oklch(51.8% 0.098 168.6);
Tailwind
colors: {
  custom: {
    50: '#66a18b',
    500: '#157a5e',
    950: '#000000',
  },
}
SCSS
$custom: #157a5e;
$custom-light: #66a18b;
$custom-dark: #000000;
JSON
{
  "hex": "#157a5e",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 94
  },
  "hsl": {
    "h": 163.366,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51775,
    "c": 0.09816,
    "h": 168.6
  },
  "luminance": 0.14887
}

Semantic roles & 50–950 ramp

primary
#157A5E
secondary
#AF3B5C
accent
#3A6CED
background
#F6FAF8
surface
#EBF3F0
border
#C6CDCB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #157A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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