#157B4B#157B4B

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

Color values

HEX#157B4B
RGBrgb(21, 123, 75)
HSLhsl(152, 71%, 28%)
HSVhsv(152, 83%, 48%)
CMYKcmyk(82.9%, 0%, 39%, 51.8%)
CIE-LABlab(45.40, -39.67, 18.55)
CIE-LCHlch(45.40, 43.79, 154.94°)
OKLaboklab(51.58% -0.107 0.0465)
OKLCHoklch(51.58% 0.117 156.5)
XYZxyz(8.6613, 14.8323, 9.0617)
Luminance0.1483 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B4B #7B1545
analogous
#157B18 #157B4B #15787B
triadic
#157B4B #4B157B #7B4B15
tetradic
#157B4B #18157B #7B1545 #787B15
square
#157B4B #18157B #7B1545 #787B15
split-complementary
#157B4B #7B1578 #7B1815
monochromatic
#041A10 #0C472B #157B4B #1EAF6B #2FDB8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157B4B#FFFFFF#000000##FFFFFF
##157B4B1.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)
#7A7148
Deuteranopia (green-blind)
#6E684E
Tritanopia (blue-blind)
#007A6F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157b4b;
/* rgb */ color: rgb(21, 123, 75);
/* oklch */ color: oklch(51.6% 0.117 156.5);
Tailwind
colors: {
  custom: {
    50: '#66a27d',
    500: '#157b4b',
    950: '#000000',
  },
}
SCSS
$custom: #157b4b;
$custom-light: #66a27d;
$custom-dark: #000000;
JSON
{
  "hex": "#157b4b",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 75
  },
  "hsl": {
    "h": 151.765,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51578,
    "c": 0.11669,
    "h": 156.5
  },
  "luminance": 0.14833
}

Semantic roles & 50–950 ramp

primary
#157B4B
secondary
#B03B72
accent
#3A8FEE
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #157B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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