#157A5A#157A5A

#157A5A is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.7% C 0.101 H 165.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#157A5A
RGBrgb(21, 122, 90)
HSLhsl(161, 71%, 28%)
HSVhsv(161, 83%, 48%)
CMYKcmyk(82.8%, 0%, 26.2%, 52.2%)
CIE-LABlab(45.38, -35.72, 9.81)
CIE-LCHlch(45.38, 37.04, 164.65°)
OKLaboklab(51.66% -0.0983 0.025)
OKLCHoklch(51.66% 0.101 165.7)
XYZxyz(9.1132, 14.8156, 12.0503)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A5A #7A1535
analogous
#157A27 #157A5A #15677A
triadic
#157A5A #5A157A #7A5A15
tetradic
#157A5A #27157A #7A1535 #677A15
square
#157A5A #27157A #7A1535 #677A15
split-complementary
#157A5A #7A1567 #7A2715
monochromatic
#041A13 #0C4633 #157A5A #1EAE81 #2EDBA4

Accessibility & contrast

On white

5.30
#157A5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#157A5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157A5A
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157A5A#FFFFFF#000000##FFFFFF
##157A5A1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#777158
Deuteranopia (green-blind)
#6B685C
Tritanopia (blue-blind)
#007A71
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157a5a;
/* rgb */ color: rgb(21, 122, 90);
/* oklch */ color: oklch(51.7% 0.101 165.7);
Tailwind
colors: {
  custom: {
    50: '#66a188',
    500: '#157a5a',
    950: '#000000',
  },
}
SCSS
$custom: #157a5a;
$custom-light: #66a188;
$custom-dark: #000000;
JSON
{
  "hex": "#157a5a",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 90
  },
  "hsl": {
    "h": 160.99,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51664,
    "c": 0.10144,
    "h": 165.7
  },
  "luminance": 0.14817
}

Semantic roles & 50–950 ramp

primary
#157A5A
secondary
#AF3B60
accent
#3A73ED
background
#F6FAF8
surface
#EBF3EF
border
#C6CDCA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #157A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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