#157A24#157A24

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

Color values

HEX#157A24
RGBrgb(21, 122, 36)
HSLhsl(129, 71%, 28%)
HSVhsv(129, 83%, 48%)
CMYKcmyk(82.8%, 0%, 70.5%, 52.2%)
CIE-LABlab(44.53, -45.60, 37.81)
CIE-LCHlch(44.53, 59.24, 140.34°)
OKLaboklab(50.68% -0.1231 0.0871)
OKLCHoklch(50.68% 0.151 144.7)
XYZxyz(7.5867, 14.2050, 4.0107)
Luminance0.1421 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A24 #7A156B
analogous
#387A15 #157A24 #157A56
triadic
#157A24 #24157A #7A2415
tetradic
#157A24 #15387A #7A156B #7A5615
square
#157A24 #15387A #7A156B #7A5615
split-complementary
#157A24 #56157A #7A1538
monochromatic
#041A08 #0C4615 #157A24 #1EAE33 #2EDB48

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157A24#FFFFFF#000000##FFFFFF
##157A241.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)
#7C6E18
Deuteranopia (green-blind)
#71662C
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #157a24;
/* rgb */ color: rgb(21, 122, 36);
/* oklch */ color: oklch(50.7% 0.151 144.7);
Tailwind
colors: {
  custom: {
    50: '#67a163',
    500: '#157a24',
    950: '#000000',
  },
}
SCSS
$custom: #157a24;
$custom-light: #67a163;
$custom-dark: #000000;
JSON
{
  "hex": "#157a24",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 36
  },
  "hsl": {
    "h": 128.911,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50677,
    "c": 0.15076,
    "h": 144.7
  },
  "luminance": 0.14206
}

Semantic roles & 50–950 ramp

primary
#157A24
secondary
#AF3B9E
accent
#3AD3ED
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #157A24

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

Preview Lab → · Contrast checker → · Palette generator →

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