#157E39#157E39

#157E39 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.138 H 149.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#157E39
RGBrgb(21, 126, 57)
HSLhsl(141, 71%, 29%)
HSVhsv(141, 83%, 49%)
CMYKcmyk(83.3%, 0%, 54.8%, 50.6%)
CIE-LABlab(46.14, -44.20, 29.43)
CIE-LCHlch(46.14, 53.10, 146.35°)
OKLaboklab(52.1% -0.1186 0.0709)
OKLCHoklch(52.1% 0.138 149.2)
XYZxyz(8.5079, 15.3755, 6.3895)
Luminance0.1538 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E39 #7E155A
analogous
#267E15 #157E39 #157E6E
triadic
#157E39 #39157E #7E3915
tetradic
#157E39 #15267E #7E155A #7E6E15
square
#157E39 #15267E #7E155A #7E6E15
split-complementary
#157E39 #6E157E #7E1526
monochromatic
#041A0C #0C4A21 #157E39 #1EB251 #31DD6C

Accessibility & contrast

On white

5.15
#157E39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#157E39 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157E39
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157E39#FFFFFF#000000##FFFFFF
##157E391.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7233
Deuteranopia (green-blind)
#736A3E
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157e39;
/* rgb */ color: rgb(21, 126, 57);
/* oklch */ color: oklch(52.1% 0.138 149.2);
Tailwind
colors: {
  custom: {
    50: '#67a471',
    500: '#157e39',
    950: '#000000',
  },
}
SCSS
$custom: #157e39;
$custom-light: #67a471;
$custom-dark: #000000;
JSON
{
  "hex": "#157e39",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 57
  },
  "hsl": {
    "h": 140.571,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52096,
    "c": 0.1382,
    "h": 149.2
  },
  "luminance": 0.15377
}

Semantic roles & 50–950 ramp

primary
#157E39
secondary
#B33C8A
accent
#3AB0EE
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #157E39

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

Preview Lab → · Contrast checker → · Palette generator →

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