#157A5C#157A5C

#157A5C is a mid, moderate teal. Relative luminance 0.149; OKLCH L 51.7% C 0.100 H 167.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#157A5C
RGBrgb(21, 122, 92)
HSLhsl(162, 71%, 28%)
HSVhsv(162, 83%, 48%)
CMYKcmyk(82.8%, 0%, 24.6%, 52.2%)
CIE-LABlab(45.43, -35.21, 8.70)
CIE-LCHlch(45.43, 36.27, 166.13°)
OKLaboklab(51.72% -0.0973 0.0222)
OKLCHoklch(51.72% 0.1 167.1)
XYZxyz(9.1995, 14.8501, 12.5046)
Luminance0.1485 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A5C #7A1533
analogous
#157A29 #157A5C #15657A
triadic
#157A5C #5C157A #7A5C15
tetradic
#157A5C #29157A #7A1533 #657A15
square
#157A5C #29157A #7A1533 #657A15
split-complementary
#157A5C #7A1565 #7A2915
monochromatic
#041A14 #0C4635 #157A5C #1EAE83 #2EDBA8

Accessibility & contrast

On white

5.29
#157A5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#157A5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157A5C
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157A5C#FFFFFF#000000##FFFFFF
##157A5C1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #157a5c;
/* rgb */ color: rgb(21, 122, 92);
/* oklch */ color: oklch(51.7% 0.100 167.1);
Tailwind
colors: {
  custom: {
    50: '#66a18a',
    500: '#157a5c',
    950: '#000000',
  },
}
SCSS
$custom: #157a5c;
$custom-light: #66a18a;
$custom-dark: #000000;
JSON
{
  "hex": "#157a5c",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 92
  },
  "hsl": {
    "h": 162.178,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51718,
    "c": 0.09977,
    "h": 167.1
  },
  "luminance": 0.14851
}

Semantic roles & 50–950 ramp

primary
#157A5C
secondary
#AF3B5E
accent
#3A70ED
background
#F6FAF8
surface
#EBF3F0
border
#C6CDCB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #157A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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