#157C24#157C24

#157C24 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.153 H 144.6°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#157C24
RGBrgb(21, 124, 36)
HSLhsl(129, 71%, 28%)
HSVhsv(129, 83%, 49%)
CMYKcmyk(83.1%, 0%, 71%, 51.4%)
CIE-LABlab(45.22, -46.28, 38.56)
CIE-LCHlch(45.22, 60.24, 140.21°)
OKLaboklab(51.26% -0.1249 0.0886)
OKLCHoklch(51.26% 0.153 144.6)
XYZxyz(7.8348, 14.7012, 4.0934)
Luminance0.1470 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C24 #7C156D
analogous
#397C15 #157C24 #157C57
triadic
#157C24 #24157C #7C2415
tetradic
#157C24 #15397C #7C156D #7C5715
square
#157C24 #15397C #7C156D #7C5715
split-complementary
#157C24 #57157C #7C1539
monochromatic
#041A08 #0C4815 #157C24 #1EB033 #30DC49

Accessibility & contrast

On white

5.33
#157C24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#157C24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157C24
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157C24#FFFFFF#000000##FFFFFF
##157C241.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7017
Deuteranopia (green-blind)
#73682C
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157c24;
/* rgb */ color: rgb(21, 124, 36);
/* oklch */ color: oklch(51.3% 0.153 144.6);
Tailwind
colors: {
  custom: {
    50: '#67a364',
    500: '#157c24',
    950: '#000000',
  },
}
SCSS
$custom: #157c24;
$custom-light: #67a364;
$custom-dark: #000000;
JSON
{
  "hex": "#157c24",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 36
  },
  "hsl": {
    "h": 128.738,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51256,
    "c": 0.15318,
    "h": 144.6
  },
  "luminance": 0.14702
}

Semantic roles & 50–950 ramp

primary
#157C24
secondary
#B13CA0
accent
#3AD4EE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157C24

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

Preview Lab → · Contrast checker → · Palette generator →

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