#157F45#157F45

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

Color values

HEX#157F45
RGBrgb(21, 127, 69)
HSLhsl(147, 72%, 29%)
HSVhsv(147, 83%, 50%)
CMYKcmyk(83.5%, 0%, 45.7%, 50.2%)
CIE-LABlab(46.67, -42.46, 23.59)
CIE-LCHlch(46.67, 48.57, 150.94°)
OKLaboklab(52.59% -0.1141 0.0582)
OKLCHoklch(52.59% 0.128 153)
XYZxyz(8.9720, 15.7667, 8.1995)
Luminance0.1577 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F45 #7F154F
analogous
#1A7F15 #157F45 #157F7A
triadic
#157F45 #45157F #7F4515
tetradic
#157F45 #151A7F #7F154F #7F7A15
square
#157F45 #151A7F #7F154F #7F7A15
split-complementary
#157F45 #7A157F #7F151A
monochromatic
#041A0E #0C4A28 #157F45 #1EB462 #31DD7F

Accessibility & contrast

On white

5.06
#157F45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#157F45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157F45
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F45#FFFFFF#000000##FFFFFF
##157F451.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #157f45;
/* rgb */ color: rgb(21, 127, 69);
/* oklch */ color: oklch(52.6% 0.128 153.0);
Tailwind
colors: {
  custom: {
    50: '#67a579',
    500: '#157f45',
    950: '#000000',
  },
}
SCSS
$custom: #157f45;
$custom-light: #67a579;
$custom-dark: #000000;
JSON
{
  "hex": "#157f45",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 69
  },
  "hsl": {
    "h": 147.17,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52587,
    "c": 0.12805,
    "h": 153
  },
  "luminance": 0.15768
}

Semantic roles & 50–950 ramp

primary
#157F45
secondary
#B43C7E
accent
#399CEE
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #157F45

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

Preview Lab → · Contrast checker → · Palette generator →

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