#157A22#157A22

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

Color values

HEX#157A22
RGBrgb(21, 122, 34)
HSLhsl(128, 71%, 28%)
HSVhsv(128, 83%, 48%)
CMYKcmyk(82.8%, 0%, 72.1%, 52.2%)
CIE-LABlab(44.51, -45.81, 38.66)
CIE-LCHlch(44.51, 59.94, 139.84°)
OKLaboklab(50.66% -0.1237 0.0886)
OKLCHoklch(50.66% 0.152 144.4)
XYZxyz(7.5570, 14.1931, 3.8543)
Luminance0.1419 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A22 #7A156D
analogous
#3A7A15 #157A22 #157A54
triadic
#157A22 #22157A #7A2215
tetradic
#157A22 #153A7A #7A156D #7A5415
square
#157A22 #153A7A #7A156D #7A5415
split-complementary
#157A22 #54157A #7A153A
monochromatic
#041A07 #0C4613 #157A22 #1EAE31 #2EDB45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157A22#FFFFFF#000000##FFFFFF
##157A221.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)
#7C6E15
Deuteranopia (green-blind)
#71662B
Tritanopia (blue-blind)
#007768
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #157a22;
/* rgb */ color: rgb(21, 122, 34);
/* oklch */ color: oklch(50.7% 0.152 144.4);
Tailwind
colors: {
  custom: {
    50: '#67a162',
    500: '#157a22',
    950: '#000000',
  },
}
SCSS
$custom: #157a22;
$custom-light: #67a162;
$custom-dark: #000000;
JSON
{
  "hex": "#157a22",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 127.723,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50658,
    "c": 0.15218,
    "h": 144.4
  },
  "luminance": 0.14194
}

Semantic roles & 50–950 ramp

primary
#157A22
secondary
#AF3BA0
accent
#3AD6ED
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #157A22

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

Preview Lab → · Contrast checker → · Palette generator →

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