#157B4D#157B4D

#157B4D is a mid, moderate teal. Relative luminance 0.149; OKLCH L 51.6% C 0.115 H 157.5°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#157B4D
RGBrgb(21, 123, 77)
HSLhsl(153, 71%, 28%)
HSVhsv(153, 83%, 48%)
CMYKcmyk(82.9%, 0%, 37.4%, 51.8%)
CIE-LABlab(45.44, -39.23, 17.45)
CIE-LCHlch(45.44, 42.94, 156.02°)
OKLaboklab(51.62% -0.106 0.0439)
OKLCHoklch(51.62% 0.115 157.5)
XYZxyz(8.7309, 14.8601, 9.4279)
Luminance0.1486 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B4D #7B1543
analogous
#157B1A #157B4D #15767B
triadic
#157B4D #4D157B #7B4D15
tetradic
#157B4D #1A157B #7B1543 #767B15
square
#157B4D #1A157B #7B1543 #767B15
split-complementary
#157B4D #7B1576 #7B1A15
monochromatic
#041A10 #0C472C #157B4D #1EAF6E #2FDB8E

Accessibility & contrast

On white

5.29
#157B4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#157B4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157B4D
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157B4D#FFFFFF#000000##FFFFFF
##157B4D1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A714A
Deuteranopia (green-blind)
#6E6850
Tritanopia (blue-blind)
#007A6F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157b4d;
/* rgb */ color: rgb(21, 123, 77);
/* oklch */ color: oklch(51.6% 0.115 157.5);
Tailwind
colors: {
  custom: {
    50: '#66a27f',
    500: '#157b4d',
    950: '#000000',
  },
}
SCSS
$custom: #157b4d;
$custom-light: #66a27f;
$custom-dark: #000000;
JSON
{
  "hex": "#157b4d",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 77
  },
  "hsl": {
    "h": 152.941,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51622,
    "c": 0.11474,
    "h": 157.5
  },
  "luminance": 0.14861
}

Semantic roles & 50–950 ramp

primary
#157B4D
secondary
#B03B70
accent
#3A8BEE
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #157B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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