#157F48#157F48

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

Color values

HEX#157F48
RGBrgb(21, 127, 72)
HSLhsl(149, 72%, 29%)
HSVhsv(149, 83%, 50%)
CMYKcmyk(83.5%, 0%, 43.3%, 50.2%)
CIE-LABlab(46.72, -41.87, 21.98)
CIE-LCHlch(46.72, 47.29, 152.30°)
OKLaboklab(52.65% -0.1126 0.0545)
OKLCHoklch(52.65% 0.125 154.2)
XYZxyz(9.0675, 15.8049, 8.7024)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F48 #7F154C
analogous
#177F15 #157F48 #157F7D
triadic
#157F48 #48157F #7F4815
tetradic
#157F48 #15177F #7F154C #7F7D15
square
#157F48 #15177F #7F154C #7F7D15
split-complementary
#157F48 #7D157F #7F1517
monochromatic
#041A0F #0C4A2A #157F48 #1EB466 #31DD84

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157F48#FFFFFF#000000##FFFFFF
##157F481.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)
#7F7444
Deuteranopia (green-blind)
#736B4C
Tritanopia (blue-blind)
#007D71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #157f48;
/* rgb */ color: rgb(21, 127, 72);
/* oklch */ color: oklch(52.6% 0.125 154.2);
Tailwind
colors: {
  custom: {
    50: '#67a57b',
    500: '#157f48',
    950: '#000000',
  },
}
SCSS
$custom: #157f48;
$custom-light: #67a57b;
$custom-dark: #000000;
JSON
{
  "hex": "#157f48",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 72
  },
  "hsl": {
    "h": 148.868,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52646,
    "c": 0.12512,
    "h": 154.2
  },
  "luminance": 0.15806
}

Semantic roles & 50–950 ramp

primary
#157F48
secondary
#B43C7A
accent
#3997EE
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #157F48

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

Preview Lab → · Contrast checker → · Palette generator →

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