#157F4D#157F4D

#157F4D is a mid, vivid teal. Relative luminance 0.159; OKLCH L 52.7% C 0.120 H 156.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#157F4D
RGBrgb(21, 127, 77)
HSLhsl(152, 72%, 29%)
HSVhsv(152, 83%, 50%)
CMYKcmyk(83.5%, 0%, 39.4%, 50.2%)
CIE-LABlab(46.81, -40.84, 19.28)
CIE-LCHlch(46.81, 45.16, 154.72°)
OKLaboklab(52.75% -0.1101 0.0482)
OKLCHoklch(52.75% 0.12 156.3)
XYZxyz(9.2373, 15.8728, 9.5967)
Luminance0.1587 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F4D #7F1547
analogous
#157F18 #157F4D #157C7F
triadic
#157F4D #4D157F #7F4D15
tetradic
#157F4D #18157F #7F1547 #7C7F15
square
#157F4D #18157F #7F1547 #7C7F15
split-complementary
#157F4D #7F157C #7F1815
monochromatic
#041A10 #0C4A2D #157F4D #1EB46D #31DD8C

Accessibility & contrast

On white

5.03
#157F4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #157F4D
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F4D#FFFFFF#000000##FFFFFF
##157F4D1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #157f4d;
/* rgb */ color: rgb(21, 127, 77);
/* oklch */ color: oklch(52.7% 0.120 156.3);
Tailwind
colors: {
  custom: {
    50: '#67a57f',
    500: '#157f4d',
    950: '#000000',
  },
}
SCSS
$custom: #157f4d;
$custom-light: #67a57f;
$custom-dark: #000000;
JSON
{
  "hex": "#157f4d",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 77
  },
  "hsl": {
    "h": 151.698,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52749,
    "c": 0.12025,
    "h": 156.3
  },
  "luminance": 0.15874
}

Semantic roles & 50–950 ramp

primary
#157F4D
secondary
#B43C74
accent
#398FEE
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #157F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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