#157F39#157F39

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

Color values

HEX#157F39
RGBrgb(21, 127, 57)
HSLhsl(140, 72%, 29%)
HSVhsv(140, 83%, 50%)
CMYKcmyk(83.5%, 0%, 55.1%, 50.2%)
CIE-LABlab(46.49, -44.56, 29.85)
CIE-LCHlch(46.49, 53.63, 146.19°)
OKLaboklab(52.38% -0.1196 0.0718)
OKLCHoklch(52.38% 0.14 149)
XYZxyz(8.6364, 15.6325, 6.4323)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F39 #7F155B
analogous
#267F15 #157F39 #157F6E
triadic
#157F39 #39157F #7F3915
tetradic
#157F39 #15267F #7F155B #7F6E15
square
#157F39 #15267F #7F155B #7F6E15
split-complementary
#157F39 #6E157F #7F1526
monochromatic
#041A0C #0C4A21 #157F39 #1EB451 #31DD6C

Accessibility & contrast

On white

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

On black

4.13
#157F39 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##157F39#FFFFFF#000000##FFFFFF
##157F391.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807333
Deuteranopia (green-blind)
#746B3E
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #157f39;
/* rgb */ color: rgb(21, 127, 57);
/* oklch */ color: oklch(52.4% 0.140 149.0);
Tailwind
colors: {
  custom: {
    50: '#67a571',
    500: '#157f39',
    950: '#000000',
  },
}
SCSS
$custom: #157f39;
$custom-light: #67a571;
$custom-dark: #000000;
JSON
{
  "hex": "#157f39",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 57
  },
  "hsl": {
    "h": 140.377,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52382,
    "c": 0.13951,
    "h": 149
  },
  "luminance": 0.15634
}

Semantic roles & 50–950 ramp

primary
#157F39
secondary
#B43C8B
accent
#39B1EE
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #157F39

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

Preview Lab → · Contrast checker → · Palette generator →

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