#157E20#157E20

#157E20 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.158 H 144.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#157E20
RGBrgb(21, 126, 32)
HSLhsl(126, 71%, 29%)
HSVhsv(126, 83%, 49%)
CMYKcmyk(83.3%, 0%, 74.6%, 50.6%)
CIE-LABlab(45.89, -47.35, 40.92)
CIE-LCHlch(45.89, 62.58, 139.17°)
OKLaboklab(51.8% -0.128 0.0931)
OKLCHoklch(51.8% 0.158 144)
XYZxyz(8.0303, 15.1844, 3.8739)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E20 #7E1573
analogous
#3F7E15 #157E20 #157E55
triadic
#157E20 #20157E #7E2015
tetradic
#157E20 #153F7E #7E1573 #7E5515
square
#157E20 #153F7E #7E1573 #7E5515
split-complementary
#157E20 #55157E #7E153F
monochromatic
#041A07 #0C4A13 #157E20 #1EB22D #31DD43

Accessibility & contrast

On white

5.20
#157E20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#157E20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157E20
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157E20#FFFFFF#000000##FFFFFF
##157E201.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817110
Deuteranopia (green-blind)
#756A2A
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157e20;
/* rgb */ color: rgb(21, 126, 32);
/* oklch */ color: oklch(51.8% 0.158 144.0);
Tailwind
colors: {
  custom: {
    50: '#68a462',
    500: '#157e20',
    950: '#000000',
  },
}
SCSS
$custom: #157e20;
$custom-light: #68a462;
$custom-dark: #000000;
JSON
{
  "hex": "#157e20",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 32
  },
  "hsl": {
    "h": 126.286,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51798,
    "c": 0.15828,
    "h": 144
  },
  "luminance": 0.15185
}

Semantic roles & 50–950 ramp

primary
#157E20
secondary
#B33CA7
accent
#3ADBEE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #157E20

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

Preview Lab → · Contrast checker → · Palette generator →

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