#157B51#157B51

#157B51 is a mid, moderate teal. Relative luminance 0.149; OKLCH L 51.7% C 0.111 H 159.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#157B51
RGBrgb(21, 123, 81)
HSLhsl(155, 71%, 28%)
HSVhsv(155, 83%, 48%)
CMYKcmyk(82.9%, 0%, 34.1%, 51.8%)
CIE-LABlab(45.52, -38.33, 15.26)
CIE-LCHlch(45.52, 41.26, 158.30°)
OKLaboklab(51.72% -0.104 0.0386)
OKLCHoklch(51.72% 0.111 159.7)
XYZxyz(8.8765, 14.9183, 10.1947)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B51 #7B153F
analogous
#157B1E #157B51 #15727B
triadic
#157B51 #51157B #7B5115
tetradic
#157B51 #1E157B #7B153F #727B15
square
#157B51 #1E157B #7B153F #727B15
split-complementary
#157B51 #7B1572 #7B1E15
monochromatic
#041A11 #0C472F #157B51 #1EAF73 #2FDB94

Accessibility & contrast

On white

5.27
#157B51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#157B51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157B51
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157B51#FFFFFF#000000##FFFFFF
##157B511.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79714E
Deuteranopia (green-blind)
#6E6854
Tritanopia (blue-blind)
#007A70
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157b51;
/* rgb */ color: rgb(21, 123, 81);
/* oklch */ color: oklch(51.7% 0.111 159.7);
Tailwind
colors: {
  custom: {
    50: '#66a282',
    500: '#157b51',
    950: '#000000',
  },
}
SCSS
$custom: #157b51;
$custom-light: #66a282;
$custom-dark: #000000;
JSON
{
  "hex": "#157b51",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 81
  },
  "hsl": {
    "h": 155.294,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51715,
    "c": 0.11092,
    "h": 159.7
  },
  "luminance": 0.14919
}

Semantic roles & 50–950 ramp

primary
#157B51
secondary
#B03B6C
accent
#3A84EE
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #157B51

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

Preview Lab → · Contrast checker → · Palette generator →

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