#157E3A#157E3A

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

Color values

HEX#157E3A
RGBrgb(21, 126, 58)
HSLhsl(141, 71%, 29%)
HSVhsv(141, 83%, 49%)
CMYKcmyk(83.3%, 0%, 54%, 50.6%)
CIE-LABlab(46.16, -44.04, 28.91)
CIE-LCHlch(46.16, 52.68, 146.71°)
OKLaboklab(52.11% -0.1182 0.0698)
OKLCHoklch(52.11% 0.137 149.4)
XYZxyz(8.5331, 15.3856, 6.5222)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E3A #7E1559
analogous
#257E15 #157E3A #157E6F
triadic
#157E3A #3A157E #7E3A15
tetradic
#157E3A #15257E #7E1559 #7E6F15
square
#157E3A #15257E #7E1559 #7E6F15
split-complementary
#157E3A #6F157E #7E1525
monochromatic
#041A0C #0C4A22 #157E3A #1EB252 #31DD6D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157E3A#FFFFFF#000000##FFFFFF
##157E3A1.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)
#7F7234
Deuteranopia (green-blind)
#736A3F
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157e3a;
/* rgb */ color: rgb(21, 126, 58);
/* oklch */ color: oklch(52.1% 0.137 149.4);
Tailwind
colors: {
  custom: {
    50: '#67a472',
    500: '#157e3a',
    950: '#000000',
  },
}
SCSS
$custom: #157e3a;
$custom-light: #67a472;
$custom-dark: #000000;
JSON
{
  "hex": "#157e3a",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 58
  },
  "hsl": {
    "h": 141.143,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52112,
    "c": 0.13727,
    "h": 149.4
  },
  "luminance": 0.15387
}

Semantic roles & 50–950 ramp

primary
#157E3A
secondary
#B33C89
accent
#3AAFEE
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #157E3A

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

Preview Lab → · Contrast checker → · Palette generator →

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