#157C4A#157C4A

#157C4A is a mid, moderate teal. Relative luminance 0.151; OKLCH L 51.8% C 0.119 H 155.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#157C4A
RGBrgb(21, 124, 74)
HSLhsl(151, 71%, 28%)
HSVhsv(151, 83%, 49%)
CMYKcmyk(83.1%, 0%, 40.3%, 51.4%)
CIE-LABlab(45.73, -40.28, 19.55)
CIE-LCHlch(45.73, 44.77, 154.11°)
OKLaboklab(51.84% -0.1086 0.0488)
OKLCHoklch(51.84% 0.119 155.8)
XYZxyz(8.7521, 15.0681, 8.9244)
Luminance0.1507 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C4A #7C1547
analogous
#157C17 #157C4A #157A7C
triadic
#157C4A #4A157C #7C4A15
tetradic
#157C4A #17157C #7C1547 #7A7C15
square
#157C4A #17157C #7C1547 #7A7C15
split-complementary
#157C4A #7C157A #7C1715
monochromatic
#041A10 #0C482B #157C4A #1EB069 #30DC88

Accessibility & contrast

On white

5.23
#157C4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#157C4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157C4A
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157C4A#FFFFFF#000000##FFFFFF
##157C4A1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7147
Deuteranopia (green-blind)
#70694D
Tritanopia (blue-blind)
#007B6F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157c4a;
/* rgb */ color: rgb(21, 124, 74);
/* oklch */ color: oklch(51.8% 0.119 155.8);
Tailwind
colors: {
  custom: {
    50: '#66a37d',
    500: '#157c4a',
    950: '#000000',
  },
}
SCSS
$custom: #157c4a;
$custom-light: #66a37d;
$custom-dark: #000000;
JSON
{
  "hex": "#157c4a",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 74
  },
  "hsl": {
    "h": 150.874,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51839,
    "c": 0.11905,
    "h": 155.8
  },
  "luminance": 0.15069
}

Semantic roles & 50–950 ramp

primary
#157C4A
secondary
#B13C75
accent
#3A91EE
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #157C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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