#157A4F#157A4F

#157A4F is a mid, moderate teal. Relative luminance 0.146; OKLCH L 51.4% C 0.111 H 158.9°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#157A4F
RGBrgb(21, 122, 79)
HSLhsl(154, 71%, 28%)
HSVhsv(154, 83%, 48%)
CMYKcmyk(82.8%, 0%, 35.2%, 52.2%)
CIE-LABlab(45.14, -38.38, 15.89)
CIE-LCHlch(45.14, 41.54, 157.51°)
OKLaboklab(51.39% -0.104 0.0401)
OKLCHoklch(51.39% 0.111 158.9)
XYZxyz(8.6792, 14.6419, 9.7644)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A4F #7A1540
analogous
#157A1C #157A4F #15727A
triadic
#157A4F #4F157A #7A4F15
tetradic
#157A4F #1C157A #7A1540 #727A15
square
#157A4F #1C157A #7A1540 #727A15
split-complementary
#157A4F #7A1572 #7A1C15
monochromatic
#041A11 #0C462D #157A4F #1EAE71 #2EDB92

Accessibility & contrast

On white

5.35
#157A4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#157A4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157A4F
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157A4F#FFFFFF#000000##FFFFFF
##157A4F1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79704C
Deuteranopia (green-blind)
#6D6752
Tritanopia (blue-blind)
#00796F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157a4f;
/* rgb */ color: rgb(21, 122, 79);
/* oklch */ color: oklch(51.4% 0.111 158.9);
Tailwind
colors: {
  custom: {
    50: '#66a180',
    500: '#157a4f',
    950: '#000000',
  },
}
SCSS
$custom: #157a4f;
$custom-light: #66a180;
$custom-dark: #000000;
JSON
{
  "hex": "#157a4f",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 79
  },
  "hsl": {
    "h": 154.455,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51386,
    "c": 0.11144,
    "h": 158.9
  },
  "luminance": 0.14643
}

Semantic roles & 50–950 ramp

primary
#157A4F
secondary
#AF3B6D
accent
#3A87ED
background
#F6FAF7
surface
#EBF3EE
border
#C6CDC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #157A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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