#157F4F#157F4F

#157F4F is a mid, moderate teal. Relative luminance 0.159; OKLCH L 52.8% C 0.118 H 157.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#157F4F
RGBrgb(21, 127, 79)
HSLhsl(153, 72%, 29%)
HSVhsv(153, 83%, 50%)
CMYKcmyk(83.5%, 0%, 37.8%, 50.2%)
CIE-LABlab(46.84, -40.41, 18.20)
CIE-LCHlch(46.84, 44.32, 155.76°)
OKLaboklab(52.79% -0.1091 0.0457)
OKLCHoklch(52.79% 0.118 157.3)
XYZxyz(9.3090, 15.9015, 9.9743)
Luminance0.1590 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F4F #7F1545
analogous
#157F1A #157F4F #157A7F
triadic
#157F4F #4F157F #7F4F15
tetradic
#157F4F #1A157F #7F1545 #7A7F15
square
#157F4F #1A157F #7F1545 #7A7F15
split-complementary
#157F4F #7F157A #7F1A15
monochromatic
#041A10 #0C4A2E #157F4F #1EB470 #31DD8F

Accessibility & contrast

On white

5.02
#157F4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#157F4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157F4F
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F4F#FFFFFF#000000##FFFFFF
##157F4F1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E744C
Deuteranopia (green-blind)
#726C52
Tritanopia (blue-blind)
#007E73
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #157f4f;
/* rgb */ color: rgb(21, 127, 79);
/* oklch */ color: oklch(52.8% 0.118 157.3);
Tailwind
colors: {
  custom: {
    50: '#67a580',
    500: '#157f4f',
    950: '#000000',
  },
}
SCSS
$custom: #157f4f;
$custom-light: #67a580;
$custom-dark: #000000;
JSON
{
  "hex": "#157f4f",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 79
  },
  "hsl": {
    "h": 152.83,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52793,
    "c": 0.11831,
    "h": 157.3
  },
  "luminance": 0.15903
}

Semantic roles & 50–950 ramp

primary
#157F4F
secondary
#B43C72
accent
#398BEE
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #157F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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