#157B54#157B54

#157B54 is a mid, moderate teal. Relative luminance 0.150; OKLCH L 51.8% C 0.108 H 161.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#157B54
RGBrgb(21, 123, 84)
HSLhsl(157, 71%, 28%)
HSVhsv(157, 83%, 48%)
CMYKcmyk(82.9%, 0%, 31.7%, 51.8%)
CIE-LABlab(45.59, -37.63, 13.60)
CIE-LCHlch(45.59, 40.01, 160.13°)
OKLaboklab(51.79% -0.1024 0.0345)
OKLCHoklch(51.79% 0.108 161.4)
XYZxyz(8.9915, 14.9643, 10.8003)
Luminance0.1497 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B54 #7B153C
analogous
#157B21 #157B54 #156F7B
triadic
#157B54 #54157B #7B5415
tetradic
#157B54 #21157B #7B153C #6F7B15
square
#157B54 #21157B #7B153C #6F7B15
split-complementary
#157B54 #7B156F #7B2115
monochromatic
#041A12 #0C4730 #157B54 #1EAF78 #2FDB99

Accessibility & contrast

On white

5.26
#157B54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#157B54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157B54
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157B54#FFFFFF#000000##FFFFFF
##157B541.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797152
Deuteranopia (green-blind)
#6D6857
Tritanopia (blue-blind)
#007B71
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157b54;
/* rgb */ color: rgb(21, 123, 84);
/* oklch */ color: oklch(51.8% 0.108 161.4);
Tailwind
colors: {
  custom: {
    50: '#66a284',
    500: '#157b54',
    950: '#000000',
  },
}
SCSS
$custom: #157b54;
$custom-light: #66a284;
$custom-dark: #000000;
JSON
{
  "hex": "#157b54",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 84
  },
  "hsl": {
    "h": 157.059,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51788,
    "c": 0.10811,
    "h": 161.4
  },
  "luminance": 0.14965
}

Semantic roles & 50–950 ramp

primary
#157B54
secondary
#B03B68
accent
#3A7FEE
background
#F6FAF8
surface
#EBF3EF
border
#C6CDCA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #157B54

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

Preview Lab → · Contrast checker → · Palette generator →

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