#157A5F#157A5F

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

Color values

HEX#157A5F
RGBrgb(21, 122, 95)
HSLhsl(164, 71%, 28%)
HSVhsv(164, 83%, 48%)
CMYKcmyk(82.8%, 0%, 22.1%, 52.2%)
CIE-LABlab(45.50, -34.42, 7.03)
CIE-LCHlch(45.50, 35.13, 168.46°)
OKLaboklab(51.8% -0.0957 0.018)
OKLCHoklch(51.8% 0.097 169.4)
XYZxyz(9.3332, 14.9036, 13.2090)
Luminance0.1490 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A5F #7A1530
analogous
#157A2C #157A5F #15627A
triadic
#157A5F #5F157A #7A5F15
tetradic
#157A5F #2C157A #7A1530 #627A15
square
#157A5F #2C157A #7A1530 #627A15
split-complementary
#157A5F #7A1562 #7A2C15
monochromatic
#041A14 #0C4636 #157A5F #1EAE88 #2EDBAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157A5F#FFFFFF#000000##FFFFFF
##157A5F1.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)
#76715E
Deuteranopia (green-blind)
#6A6861
Tritanopia (blue-blind)
#007B72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157a5f;
/* rgb */ color: rgb(21, 122, 95);
/* oklch */ color: oklch(51.8% 0.097 169.4);
Tailwind
colors: {
  custom: {
    50: '#66a18c',
    500: '#157a5f',
    950: '#000000',
  },
}
SCSS
$custom: #157a5f;
$custom-light: #66a18c;
$custom-dark: #000000;
JSON
{
  "hex": "#157a5f",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 95
  },
  "hsl": {
    "h": 163.96,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51803,
    "c": 0.09739,
    "h": 169.4
  },
  "luminance": 0.14905
}

Semantic roles & 50–950 ramp

primary
#157A5F
secondary
#AF3B5A
accent
#3A6AED
background
#F6FAF8
surface
#EBF3F0
border
#C6CDCB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #157A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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