#157B4A#157B4A

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

Color values

HEX#157B4A
RGBrgb(21, 123, 74)
HSLhsl(151, 71%, 28%)
HSVhsv(151, 83%, 48%)
CMYKcmyk(82.9%, 0%, 39.8%, 51.8%)
CIE-LABlab(45.38, -39.88, 19.09)
CIE-LCHlch(45.38, 44.22, 154.42°)
OKLaboklab(51.56% -0.1075 0.0477)
OKLCHoklch(51.56% 0.118 156.1)
XYZxyz(8.6274, 14.8187, 8.8828)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B4A #7B1546
analogous
#157B17 #157B4A #15797B
triadic
#157B4A #4A157B #7B4A15
tetradic
#157B4A #17157B #7B1546 #797B15
square
#157B4A #17157B #7B1546 #797B15
split-complementary
#157B4A #7B1579 #7B1715
monochromatic
#041A10 #0C472B #157B4A #1EAF69 #2FDB89

Accessibility & contrast

On white

5.30
#157B4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#157B4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157B4A
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157B4A#FFFFFF#000000##FFFFFF
##157B4A1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7047
Deuteranopia (green-blind)
#6F684D
Tritanopia (blue-blind)
#007A6F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157b4a;
/* rgb */ color: rgb(21, 123, 74);
/* oklch */ color: oklch(51.6% 0.118 156.1);
Tailwind
colors: {
  custom: {
    50: '#66a27d',
    500: '#157b4a',
    950: '#000000',
  },
}
SCSS
$custom: #157b4a;
$custom-light: #66a27d;
$custom-dark: #000000;
JSON
{
  "hex": "#157b4a",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 74
  },
  "hsl": {
    "h": 151.176,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51556,
    "c": 0.11767,
    "h": 156.1
  },
  "luminance": 0.1482
}

Semantic roles & 50–950 ramp

primary
#157B4A
secondary
#B03B74
accent
#3A90EE
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #157B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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