#157A4A#157A4A

#157A4A is a mid, moderate teal. Relative luminance 0.146; OKLCH L 51.3% C 0.116 H 156.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#157A4A
RGBrgb(21, 122, 74)
HSLhsl(151, 71%, 28%)
HSVhsv(151, 83%, 48%)
CMYKcmyk(82.8%, 0%, 39.3%, 52.2%)
CIE-LABlab(45.04, -39.48, 18.64)
CIE-LCHlch(45.04, 43.66, 154.73°)
OKLaboklab(51.27% -0.1065 0.0466)
OKLCHoklch(51.27% 0.116 156.4)
XYZxyz(8.5040, 14.5719, 8.8417)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A4A #7A1545
analogous
#157A17 #157A4A #15777A
triadic
#157A4A #4A157A #7A4A15
tetradic
#157A4A #17157A #7A1545 #777A15
square
#157A4A #17157A #7A1545 #777A15
split-complementary
#157A4A #7A1577 #7A1715
monochromatic
#041A10 #0C462A #157A4A #1EAE6A #2EDB89

Accessibility & contrast

On white

5.36
#157A4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#157A4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157A4A
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157A4A#FFFFFF#000000##FFFFFF
##157A4A1.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797047
Deuteranopia (green-blind)
#6E674D
Tritanopia (blue-blind)
#00796E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157a4a;
/* rgb */ color: rgb(21, 122, 74);
/* oklch */ color: oklch(51.3% 0.116 156.4);
Tailwind
colors: {
  custom: {
    50: '#66a17d',
    500: '#157a4a',
    950: '#000000',
  },
}
SCSS
$custom: #157a4a;
$custom-light: #66a17d;
$custom-dark: #000000;
JSON
{
  "hex": "#157a4a",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 74
  },
  "hsl": {
    "h": 151.485,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51273,
    "c": 0.11628,
    "h": 156.4
  },
  "luminance": 0.14573
}

Semantic roles & 50–950 ramp

primary
#157A4A
secondary
#AF3B73
accent
#3A8FED
background
#F6FAF7
surface
#EBF3EE
border
#C6CDC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #157A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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