#157A32#157A32

#157A32 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.8% C 0.139 H 147.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#157A32
RGBrgb(21, 122, 50)
HSLhsl(137, 71%, 28%)
HSVhsv(137, 83%, 48%)
CMYKcmyk(82.8%, 0%, 59%, 52.2%)
CIE-LABlab(44.67, -43.83, 31.28)
CIE-LCHlch(44.67, 53.84, 144.48°)
OKLaboklab(50.85% -0.1178 0.0745)
OKLCHoklch(50.85% 0.139 147.7)
XYZxyz(7.8439, 14.3078, 5.3653)
Luminance0.1431 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A32 #7A155D
analogous
#2A7A15 #157A32 #157A64
triadic
#157A32 #32157A #7A3215
tetradic
#157A32 #152A7A #7A155D #7A6415
square
#157A32 #152A7A #7A155D #7A6415
split-complementary
#157A32 #64157A #7A152A
monochromatic
#041A0B #0C461D #157A32 #1EAE47 #2EDB60

Accessibility & contrast

On white

5.44
#157A32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#157A32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157A32
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157A32#FFFFFF#000000##FFFFFF
##157A321.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E2B
Deuteranopia (green-blind)
#706738
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #157a32;
/* rgb */ color: rgb(21, 122, 50);
/* oklch */ color: oklch(50.8% 0.139 147.7);
Tailwind
colors: {
  custom: {
    50: '#66a16c',
    500: '#157a32',
    950: '#000000',
  },
}
SCSS
$custom: #157a32;
$custom-light: #66a16c;
$custom-dark: #000000;
JSON
{
  "hex": "#157a32",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 50
  },
  "hsl": {
    "h": 137.228,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50845,
    "c": 0.13935,
    "h": 147.7
  },
  "luminance": 0.14309
}

Semantic roles & 50–950 ramp

primary
#157A32
secondary
#AF3B8E
accent
#3ABAED
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #157A32

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

Preview Lab → · Contrast checker → · Palette generator →

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