#157F4B#157F4B

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

Color values

HEX#157F4B
RGBrgb(21, 127, 75)
HSLhsl(151, 72%, 29%)
HSVhsv(151, 83%, 50%)
CMYKcmyk(83.5%, 0%, 40.9%, 50.2%)
CIE-LABlab(46.77, -41.26, 20.37)
CIE-LCHlch(46.77, 46.01, 153.73°)
OKLaboklab(52.71% -0.1111 0.0508)
OKLCHoklch(52.71% 0.122 155.4)
XYZxyz(9.1677, 15.8450, 9.2305)
Luminance0.1585 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F4B #7F1549
analogous
#157F16 #157F4B #157E7F
triadic
#157F4B #4B157F #7F4B15
tetradic
#157F4B #16157F #7F1549 #7E7F15
square
#157F4B #16157F #7F1549 #7E7F15
split-complementary
#157F4B #7F157E #7F1615
monochromatic
#041A10 #0C4A2C #157F4B #1EB46A #31DD89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #157f4b;
/* rgb */ color: rgb(21, 127, 75);
/* oklch */ color: oklch(52.7% 0.122 155.4);
Tailwind
colors: {
  custom: {
    50: '#67a57e',
    500: '#157f4b',
    950: '#000000',
  },
}
SCSS
$custom: #157f4b;
$custom-light: #67a57e;
$custom-dark: #000000;
JSON
{
  "hex": "#157f4b",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 75
  },
  "hsl": {
    "h": 150.566,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52707,
    "c": 0.12219,
    "h": 155.4
  },
  "luminance": 0.15846
}

Semantic roles & 50–950 ramp

primary
#157F4B
secondary
#B43C77
accent
#3992EE
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #157F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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