#157A21#157A21

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

Color values

HEX#157A21
RGBrgb(21, 122, 33)
HSLhsl(127, 71%, 28%)
HSVhsv(127, 83%, 48%)
CMYKcmyk(82.8%, 0%, 73%, 52.2%)
CIE-LABlab(44.50, -45.91, 39.07)
CIE-LCHlch(44.50, 60.29, 139.60°)
OKLaboklab(50.65% -0.1241 0.0893)
OKLCHoklch(50.65% 0.153 144.2)
XYZxyz(7.5428, 14.1874, 3.7795)
Luminance0.1419 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A21 #7A156E
analogous
#3B7A15 #157A21 #157A53
triadic
#157A21 #21157A #7A2115
tetradic
#157A21 #153B7A #7A156E #7A5315
square
#157A21 #153B7A #7A156E #7A5315
split-complementary
#157A21 #53157A #7A153B
monochromatic
#041A07 #0C4613 #157A21 #1EAE2F #2EDB43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157A21#FFFFFF#000000##FFFFFF
##157A211.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)
#7C6E13
Deuteranopia (green-blind)
#72662A
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #157a21;
/* rgb */ color: rgb(21, 122, 33);
/* oklch */ color: oklch(50.6% 0.153 144.2);
Tailwind
colors: {
  custom: {
    50: '#67a162',
    500: '#157a21',
    950: '#000000',
  },
}
SCSS
$custom: #157a21;
$custom-light: #67a162;
$custom-dark: #000000;
JSON
{
  "hex": "#157a21",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 33
  },
  "hsl": {
    "h": 127.129,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50648,
    "c": 0.15287,
    "h": 144.2
  },
  "luminance": 0.14188
}

Semantic roles & 50–950 ramp

primary
#157A21
secondary
#AF3BA2
accent
#3AD8ED
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #157A21

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

Preview Lab → · Contrast checker → · Palette generator →

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