#157A20#157A20

#157A20 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.6% C 0.154 H 144.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#157A20
RGBrgb(21, 122, 32)
HSLhsl(127, 71%, 28%)
HSVhsv(127, 83%, 48%)
CMYKcmyk(82.8%, 0%, 73.8%, 52.2%)
CIE-LABlab(44.49, -46.01, 39.48)
CIE-LCHlch(44.49, 60.62, 139.37°)
OKLaboklab(50.64% -0.1244 0.0901)
OKLCHoklch(50.64% 0.154 144.1)
XYZxyz(7.5290, 14.1819, 3.7068)
Luminance0.1418 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A20 #7A156F
analogous
#3C7A15 #157A20 #157A52
triadic
#157A20 #20157A #7A2015
tetradic
#157A20 #153C7A #7A156F #7A5215
square
#157A20 #153C7A #7A156F #7A5215
split-complementary
#157A20 #52157A #7A153C
monochromatic
#041A07 #0C4612 #157A20 #1EAE2E #2EDB41

Accessibility & contrast

On white

5.47
#157A20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#157A20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157A20
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157A20#FFFFFF#000000##FFFFFF
##157A201.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E11
Deuteranopia (green-blind)
#726629
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #157a20;
/* rgb */ color: rgb(21, 122, 32);
/* oklch */ color: oklch(50.6% 0.154 144.1);
Tailwind
colors: {
  custom: {
    50: '#67a161',
    500: '#157a20',
    950: '#000000',
  },
}
SCSS
$custom: #157a20;
$custom-light: #67a161;
$custom-dark: #000000;
JSON
{
  "hex": "#157a20",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 32
  },
  "hsl": {
    "h": 126.535,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50639,
    "c": 0.15355,
    "h": 144.1
  },
  "luminance": 0.14183
}

Semantic roles & 50–950 ramp

primary
#157A20
secondary
#AF3BA3
accent
#3ADAED
background
#F6FAF5
surface
#EBF3EA
border
#C6CDC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #157A20

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

Preview Lab → · Contrast checker → · Palette generator →

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