#157D47#157D47

#157D47 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.123 H 154.2°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#157D47
RGBrgb(21, 125, 71)
HSLhsl(149, 71%, 29%)
HSVhsv(149, 83%, 49%)
CMYKcmyk(83.2%, 0%, 43.2%, 51%)
CIE-LABlab(46.02, -41.29, 21.63)
CIE-LCHlch(46.02, 46.61, 152.36°)
OKLaboklab(52.06% -0.1111 0.0537)
OKLCHoklch(52.06% 0.123 154.2)
XYZxyz(8.7794, 15.2805, 8.4467)
Luminance0.1528 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157D47 #7D154B
analogous
#177D15 #157D47 #157D7B
triadic
#157D47 #47157D #7D4715
tetradic
#157D47 #15177D #7D154B #7D7B15
square
#157D47 #15177D #7D154B #7D7B15
split-complementary
#157D47 #7B157D #7D1517
monochromatic
#041A0F #0C4929 #157D47 #1EB165 #30DC83

Accessibility & contrast

On white

5.18
#157D47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#157D47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157D47
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157D47#FFFFFF#000000##FFFFFF
##157D471.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7243
Deuteranopia (green-blind)
#716A4B
Tritanopia (blue-blind)
#007B70
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157d47;
/* rgb */ color: rgb(21, 125, 71);
/* oklch */ color: oklch(52.1% 0.123 154.2);
Tailwind
colors: {
  custom: {
    50: '#66a47b',
    500: '#157d47',
    950: '#000000',
  },
}
SCSS
$custom: #157d47;
$custom-light: #66a47b;
$custom-dark: #000000;
JSON
{
  "hex": "#157d47",
  "rgb": {
    "r": 21,
    "g": 125,
    "b": 71
  },
  "hsl": {
    "h": 148.846,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5206,
    "c": 0.12336,
    "h": 154.2
  },
  "luminance": 0.15282
}

Semantic roles & 50–950 ramp

primary
#157D47
secondary
#B23C79
accent
#3A97EE
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #157D47

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

Preview Lab → · Contrast checker → · Palette generator →

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