#157C4F#157C4F

#157C4F is a mid, moderate teal. Relative luminance 0.151; OKLCH L 51.9% C 0.114 H 158.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#157C4F
RGBrgb(21, 124, 79)
HSLhsl(154, 71%, 28%)
HSVhsv(154, 83%, 49%)
CMYKcmyk(83.1%, 0%, 36.3%, 51.4%)
CIE-LABlab(45.82, -39.20, 16.82)
CIE-LCHlch(45.82, 42.65, 156.78°)
OKLaboklab(51.95% -0.106 0.0423)
OKLCHoklch(51.95% 0.114 158.2)
XYZxyz(8.9273, 15.1381, 9.8471)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C4F #7C1542
analogous
#157C1B #157C4F #15757C
triadic
#157C4F #4F157C #7C4F15
tetradic
#157C4F #1B157C #7C1542 #757C15
square
#157C4F #1B157C #7C1542 #757C15
split-complementary
#157C4F #7C1575 #7C1B15
monochromatic
#041A11 #0C482E #157C4F #1EB070 #30DC91

Accessibility & contrast

On white

5.21
#157C4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#157C4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157C4F
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157C4F#FFFFFF#000000##FFFFFF
##157C4F1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B724C
Deuteranopia (green-blind)
#6F6952
Tritanopia (blue-blind)
#007B70
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157c4f;
/* rgb */ color: rgb(21, 124, 79);
/* oklch */ color: oklch(51.9% 0.114 158.2);
Tailwind
colors: {
  custom: {
    50: '#66a380',
    500: '#157c4f',
    950: '#000000',
  },
}
SCSS
$custom: #157c4f;
$custom-light: #66a380;
$custom-dark: #000000;
JSON
{
  "hex": "#157c4f",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 79
  },
  "hsl": {
    "h": 153.786,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51949,
    "c": 0.11419,
    "h": 158.2
  },
  "luminance": 0.15139
}

Semantic roles & 50–950 ramp

primary
#157C4F
secondary
#B13C6F
accent
#3A89EE
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #157C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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