#157F4C#157F4C

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

Color values

HEX#157F4C
RGBrgb(21, 127, 76)
HSLhsl(151, 72%, 29%)
HSVhsv(151, 83%, 50%)
CMYKcmyk(83.5%, 0%, 40.2%, 50.2%)
CIE-LABlab(46.79, -41.05, 19.83)
CIE-LCHlch(46.79, 45.59, 154.22°)
OKLaboklab(52.73% -0.1106 0.0495)
OKLCHoklch(52.73% 0.121 155.9)
XYZxyz(9.2022, 15.8588, 9.4121)
Luminance0.1586 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F4C #7F1548
analogous
#157F17 #157F4C #157D7F
triadic
#157F4C #4C157F #7F4C15
tetradic
#157F4C #17157F #7F1548 #7D7F15
square
#157F4C #17157F #7F1548 #7D7F15
split-complementary
#157F4C #7F157D #7F1715
monochromatic
#041A10 #0C4A2D #157F4C #1EB46B #31DD8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157F4C#FFFFFF#000000##FFFFFF
##157F4C1.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)
#7E7449
Deuteranopia (green-blind)
#726B4F
Tritanopia (blue-blind)
#007E72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #157f4c;
/* rgb */ color: rgb(21, 127, 76);
/* oklch */ color: oklch(52.7% 0.121 155.9);
Tailwind
colors: {
  custom: {
    50: '#67a57e',
    500: '#157f4c',
    950: '#000000',
  },
}
SCSS
$custom: #157f4c;
$custom-light: #67a57e;
$custom-dark: #000000;
JSON
{
  "hex": "#157f4c",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 76
  },
  "hsl": {
    "h": 151.132,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52728,
    "c": 0.12121,
    "h": 155.9
  },
  "luminance": 0.1586
}

Semantic roles & 50–950 ramp

primary
#157F4C
secondary
#B43C76
accent
#3990EE
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #157F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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