#157F47#157F47

#157F47 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.126 H 153.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#157F47
RGBrgb(21, 127, 71)
HSLhsl(148, 72%, 29%)
HSVhsv(148, 83%, 50%)
CMYKcmyk(83.5%, 0%, 44.1%, 50.2%)
CIE-LABlab(46.70, -42.07, 22.52)
CIE-LCHlch(46.70, 47.72, 151.84°)
OKLaboklab(52.63% -0.1131 0.0558)
OKLCHoklch(52.63% 0.126 153.8)
XYZxyz(9.0351, 15.7920, 8.5320)
Luminance0.1579 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F47 #7F154D
analogous
#187F15 #157F47 #157F7C
triadic
#157F47 #47157F #7F4715
tetradic
#157F47 #15187F #7F154D #7F7C15
square
#157F47 #15187F #7F154D #7F7C15
split-complementary
#157F47 #7C157F #7F1518
monochromatic
#041A0F #0C4A2A #157F47 #1EB464 #31DD82

Accessibility & contrast

On white

5.05
#157F47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#157F47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157F47
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F47#FFFFFF#000000##FFFFFF
##157F471.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7443
Deuteranopia (green-blind)
#736B4B
Tritanopia (blue-blind)
#007D71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #157f47;
/* rgb */ color: rgb(21, 127, 71);
/* oklch */ color: oklch(52.6% 0.126 153.8);
Tailwind
colors: {
  custom: {
    50: '#67a57b',
    500: '#157f47',
    950: '#000000',
  },
}
SCSS
$custom: #157f47;
$custom-light: #67a57b;
$custom-dark: #000000;
JSON
{
  "hex": "#157f47",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 71
  },
  "hsl": {
    "h": 148.302,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52626,
    "c": 0.1261,
    "h": 153.8
  },
  "luminance": 0.15793
}

Semantic roles & 50–950 ramp

primary
#157F47
secondary
#B43C7B
accent
#3999EE
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #157F47

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

Preview Lab → · Contrast checker → · Palette generator →

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