#157A4C#157A4C

#157A4C is a mid, moderate teal. Relative luminance 0.146; OKLCH L 51.3% C 0.114 H 157.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#157A4C
RGBrgb(21, 122, 76)
HSLhsl(153, 71%, 28%)
HSVhsv(153, 83%, 48%)
CMYKcmyk(82.8%, 0%, 37.7%, 52.2%)
CIE-LABlab(45.08, -39.05, 17.54)
CIE-LCHlch(45.08, 42.81, 155.81°)
OKLaboklab(51.32% -0.1055 0.0441)
OKLCHoklch(51.32% 0.114 157.3)
XYZxyz(8.5724, 14.5992, 9.2022)
Luminance0.1460 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A4C #7A1543
analogous
#157A19 #157A4C #15757A
triadic
#157A4C #4C157A #7A4C15
tetradic
#157A4C #19157A #7A1543 #757A15
square
#157A4C #19157A #7A1543 #757A15
split-complementary
#157A4C #7A1575 #7A1915
monochromatic
#041A10 #0C462B #157A4C #1EAE6D #2EDB8C

Accessibility & contrast

On white

5.36
#157A4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#157A4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157A4C
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157A4C#FFFFFF#000000##FFFFFF
##157A4C1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797049
Deuteranopia (green-blind)
#6D674F
Tritanopia (blue-blind)
#00796E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157a4c;
/* rgb */ color: rgb(21, 122, 76);
/* oklch */ color: oklch(51.3% 0.114 157.3);
Tailwind
colors: {
  custom: {
    50: '#66a17e',
    500: '#157a4c',
    950: '#000000',
  },
}
SCSS
$custom: #157a4c;
$custom-light: #66a17e;
$custom-dark: #000000;
JSON
{
  "hex": "#157a4c",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 76
  },
  "hsl": {
    "h": 152.673,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51317,
    "c": 0.11434,
    "h": 157.3
  },
  "luminance": 0.146
}

Semantic roles & 50–950 ramp

primary
#157A4C
secondary
#AF3B70
accent
#3A8CED
background
#F6FAF7
surface
#EBF3EE
border
#C6CDC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #157A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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