#157E3B#157E3B

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

Color values

HEX#157E3B
RGBrgb(21, 126, 59)
HSLhsl(142, 71%, 29%)
HSVhsv(142, 83%, 49%)
CMYKcmyk(83.3%, 0%, 53.2%, 50.6%)
CIE-LABlab(46.17, -43.87, 28.40)
CIE-LCHlch(46.17, 52.26, 147.08°)
OKLaboklab(52.13% -0.1178 0.0687)
OKLCHoklch(52.13% 0.136 149.7)
XYZxyz(8.5588, 15.3959, 6.6574)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E3B #7E1558
analogous
#247E15 #157E3B #157E70
triadic
#157E3B #3B157E #7E3B15
tetradic
#157E3B #15247E #7E1558 #7E7015
square
#157E3B #15247E #7E1558 #7E7015
split-complementary
#157E3B #70157E #7E1524
monochromatic
#041A0C #0C4A22 #157E3B #1EB254 #31DD6F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157E3B#FFFFFF#000000##FFFFFF
##157E3B1.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)
#7F7235
Deuteranopia (green-blind)
#736A40
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157e3b;
/* rgb */ color: rgb(21, 126, 59);
/* oklch */ color: oklch(52.1% 0.136 149.7);
Tailwind
colors: {
  custom: {
    50: '#67a472',
    500: '#157e3b',
    950: '#000000',
  },
}
SCSS
$custom: #157e3b;
$custom-light: #67a472;
$custom-dark: #000000;
JSON
{
  "hex": "#157e3b",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 59
  },
  "hsl": {
    "h": 141.714,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52128,
    "c": 0.13633,
    "h": 149.7
  },
  "luminance": 0.15397
}

Semantic roles & 50–950 ramp

primary
#157E3B
secondary
#B33C88
accent
#3AADEE
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #157E3B

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

Preview Lab → · Contrast checker → · Palette generator →

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