#157A6A#157A6A

#157A6A is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.1% C 0.090 H 178.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#157A6A
RGBrgb(21, 122, 106)
HSLhsl(170, 71%, 28%)
HSVhsv(170, 83%, 48%)
CMYKcmyk(82.8%, 0%, 13.1%, 52.2%)
CIE-LABlab(45.80, -31.35, 0.94)
CIE-LCHlch(45.80, 31.37, 178.29°)
OKLaboklab(52.14% -0.0901 0.002)
OKLCHoklch(52.14% 0.09 178.7)
XYZxyz(9.8690, 15.1179, 16.0308)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A6A #7A1525
analogous
#157A37 #157A6A #15577A
triadic
#157A6A #6A157A #7A6A15
tetradic
#157A6A #37157A #7A1525 #577A15
square
#157A6A #37157A #7A1525 #577A15
split-complementary
#157A6A #7A1557 #7A3715
monochromatic
#041A17 #0C463D #157A6A #1EAE97 #2EDBC0

Accessibility & contrast

On white

5.22
#157A6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#157A6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157A6A
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157A6A#FFFFFF#000000##FFFFFF
##157A6A1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#757269
Deuteranopia (green-blind)
#68686B
Tritanopia (blue-blind)
#007C75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157a6a;
/* rgb */ color: rgb(21, 122, 106);
/* oklch */ color: oklch(52.1% 0.090 178.7);
Tailwind
colors: {
  custom: {
    50: '#67a194',
    500: '#157a6a',
    950: '#000000',
  },
}
SCSS
$custom: #157a6a;
$custom-light: #67a194;
$custom-dark: #000000;
JSON
{
  "hex": "#157a6a",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 106
  },
  "hsl": {
    "h": 170.495,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52141,
    "c": 0.0901,
    "h": 178.7
  },
  "luminance": 0.15119
}

Semantic roles & 50–950 ramp

primary
#157A6A
secondary
#AF3B4E
accent
#3A57ED
background
#F6F9F9
surface
#EBF2F1
border
#C6CCCB
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #157A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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