#157F24#157F24

#157F24 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.1% C 0.157 H 144.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#157F24
RGBrgb(21, 127, 36)
HSLhsl(128, 72%, 29%)
HSVhsv(128, 83%, 50%)
CMYKcmyk(83.5%, 0%, 71.7%, 50.2%)
CIE-LABlab(46.26, -47.30, 39.67)
CIE-LCHlch(46.26, 61.73, 140.02°)
OKLaboklab(52.12% -0.1277 0.091)
OKLCHoklch(52.12% 0.157 144.5)
XYZxyz(8.2165, 15.4645, 4.2206)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F24 #7F1570
analogous
#3B7F15 #157F24 #157F59
triadic
#157F24 #24157F #7F2415
tetradic
#157F24 #153B7F #7F1570 #7F5915
square
#157F24 #153B7F #7F1570 #7F5915
split-complementary
#157F24 #59157F #7F153B
monochromatic
#041A07 #0C4A15 #157F24 #1EB433 #31DD4A

Accessibility & contrast

On white

5.13
#157F24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#157F24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157F24
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F24#FFFFFF#000000##FFFFFF
##157F241.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817217
Deuteranopia (green-blind)
#766B2D
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #157f24;
/* rgb */ color: rgb(21, 127, 36);
/* oklch */ color: oklch(52.1% 0.157 144.5);
Tailwind
colors: {
  custom: {
    50: '#68a564',
    500: '#157f24',
    950: '#000000',
  },
}
SCSS
$custom: #157f24;
$custom-light: #68a564;
$custom-dark: #000000;
JSON
{
  "hex": "#157f24",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 36
  },
  "hsl": {
    "h": 128.491,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52123,
    "c": 0.15678,
    "h": 144.5
  },
  "luminance": 0.15466
}

Semantic roles & 50–950 ramp

primary
#157F24
secondary
#B43CA3
accent
#39D5EE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157F24

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

Preview Lab → · Contrast checker → · Palette generator →

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