#157A23#157A23

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

Color values

HEX#157A23
RGBrgb(21, 122, 35)
HSLhsl(128, 71%, 28%)
HSVhsv(128, 83%, 48%)
CMYKcmyk(82.8%, 0%, 71.3%, 52.2%)
CIE-LABlab(44.52, -45.71, 38.24)
CIE-LCHlch(44.52, 59.59, 140.09°)
OKLaboklab(50.67% -0.1234 0.0878)
OKLCHoklch(50.67% 0.151 144.6)
XYZxyz(7.5716, 14.1989, 3.9314)
Luminance0.1420 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A23 #7A156C
analogous
#397A15 #157A23 #157A55
triadic
#157A23 #23157A #7A2315
tetradic
#157A23 #15397A #7A156C #7A5515
square
#157A23 #15397A #7A156C #7A5515
split-complementary
#157A23 #55157A #7A1539
monochromatic
#041A07 #0C4614 #157A23 #1EAE32 #2EDB46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #157a23;
/* rgb */ color: rgb(21, 122, 35);
/* oklch */ color: oklch(50.7% 0.151 144.6);
Tailwind
colors: {
  custom: {
    50: '#67a163',
    500: '#157a23',
    950: '#000000',
  },
}
SCSS
$custom: #157a23;
$custom-light: #67a163;
$custom-dark: #000000;
JSON
{
  "hex": "#157a23",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 35
  },
  "hsl": {
    "h": 128.317,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50667,
    "c": 0.15148,
    "h": 144.6
  },
  "luminance": 0.142
}

Semantic roles & 50–950 ramp

primary
#157A23
secondary
#AF3B9F
accent
#3AD5ED
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #157A23

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

Preview Lab → · Contrast checker → · Palette generator →

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