#157F4A#157F4A

#157F4A is a mid, vivid teal. Relative luminance 0.158; OKLCH L 52.7% C 0.123 H 155.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#157F4A
RGBrgb(21, 127, 74)
HSLhsl(150, 72%, 29%)
HSVhsv(150, 83%, 50%)
CMYKcmyk(83.5%, 0%, 41.7%, 50.2%)
CIE-LABlab(46.75, -41.47, 20.91)
CIE-LCHlch(46.75, 46.44, 153.24°)
OKLaboklab(52.69% -0.1116 0.052)
OKLCHoklch(52.69% 0.123 155)
XYZxyz(9.1338, 15.8315, 9.0516)
Luminance0.1583 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F4A #7F154A
analogous
#157F15 #157F4A #157F7F
triadic
#157F4A #4A157F #7F4A15
tetradic
#157F4A #15157F #7F154A #7F7F15
square
#157F4A #15157F #7F154A #7F7F15
split-complementary
#157F4A #7F157F #7F1515
monochromatic
#041A0F #0C4A2B #157F4A #1EB469 #31DD87

Accessibility & contrast

On white

5.04
#157F4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#157F4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157F4A
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F4A#FFFFFF#000000##FFFFFF
##157F4A1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7446
Deuteranopia (green-blind)
#726B4E
Tritanopia (blue-blind)
#007E72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #157f4a;
/* rgb */ color: rgb(21, 127, 74);
/* oklch */ color: oklch(52.7% 0.123 155.0);
Tailwind
colors: {
  custom: {
    50: '#67a57d',
    500: '#157f4a',
    950: '#000000',
  },
}
SCSS
$custom: #157f4a;
$custom-light: #67a57d;
$custom-dark: #000000;
JSON
{
  "hex": "#157f4a",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 74
  },
  "hsl": {
    "h": 150,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52686,
    "c": 0.12317,
    "h": 155
  },
  "luminance": 0.15833
}

Semantic roles & 50–950 ramp

primary
#157F4A
secondary
#B43C78
accent
#3994EE
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #157F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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