#157F37#157F37

#157F37 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.141 H 148.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#157F37
RGBrgb(21, 127, 55)
HSLhsl(139, 72%, 29%)
HSVhsv(139, 83%, 50%)
CMYKcmyk(83.5%, 0%, 56.7%, 50.2%)
CIE-LABlab(46.46, -44.88, 30.86)
CIE-LCHlch(46.46, 54.46, 145.49°)
OKLaboklab(52.35% -0.1205 0.0739)
OKLCHoklch(52.35% 0.141 148.5)
XYZxyz(8.5875, 15.6130, 6.1747)
Luminance0.1561 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F37 #7F155D
analogous
#287F15 #157F37 #157F6C
triadic
#157F37 #37157F #7F3715
tetradic
#157F37 #15287F #7F155D #7F6C15
square
#157F37 #15287F #7F155D #7F6C15
split-complementary
#157F37 #6C157F #7F1528
monochromatic
#041A0B #0C4A20 #157F37 #1EB44E #31DD68

Accessibility & contrast

On white

5.09
#157F37 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#157F37 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157F37
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F37#FFFFFF#000000##FFFFFF
##157F371.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807330
Deuteranopia (green-blind)
#756B3D
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #157f37;
/* rgb */ color: rgb(21, 127, 55);
/* oklch */ color: oklch(52.4% 0.141 148.5);
Tailwind
colors: {
  custom: {
    50: '#67a570',
    500: '#157f37',
    950: '#000000',
  },
}
SCSS
$custom: #157f37;
$custom-light: #67a570;
$custom-dark: #000000;
JSON
{
  "hex": "#157f37",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 55
  },
  "hsl": {
    "h": 139.245,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52351,
    "c": 0.14135,
    "h": 148.5
  },
  "luminance": 0.15614
}

Semantic roles & 50–950 ramp

primary
#157F37
secondary
#B43C8D
accent
#39B4EE
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #157F37

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

Preview Lab → · Contrast checker → · Palette generator →

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