#158F24#158F24

#158F24 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.175 H 144.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#158F24
RGBrgb(21, 143, 36)
HSLhsl(127, 74%, 32%)
HSVhsv(127, 85%, 56%)
CMYKcmyk(85.3%, 0%, 74.8%, 43.9%)
CIE-LABlab(51.76, -52.54, 45.37)
CIE-LCHlch(51.76, 69.42, 139.18°)
OKLaboklab(56.69% -0.142 0.1029)
OKLCHoklch(56.69% 0.175 144.1)
XYZxyz(10.4494, 19.9304, 4.9650)
Luminance0.1993 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158F24 #8F1580
analogous
#438F15 #158F24 #158F61
triadic
#158F24 #24158F #8F2415
tetradic
#158F24 #15438F #8F1580 #8F6115
square
#158F24 #15438F #8F1580 #8F6115
split-complementary
#158F24 #61158F #8F1543
monochromatic
#052409 #0D5A17 #158F24 #1DC431 #3CE250

Accessibility & contrast

On white

4.21
#158F24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#158F24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158F24
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158F24#FFFFFF#000000##000000
##158F241.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928110
Deuteranopia (green-blind)
#85782F
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #158f24;
/* rgb */ color: rgb(21, 143, 36);
/* oklch */ color: oklch(56.7% 0.175 144.1);
Tailwind
colors: {
  custom: {
    50: '#6db166',
    500: '#158f24',
    950: '#000000',
  },
}
SCSS
$custom: #158f24;
$custom-light: #6db166;
$custom-dark: #000000;
JSON
{
  "hex": "#158f24",
  "rgb": {
    "r": 21,
    "g": 143,
    "b": 36
  },
  "hsl": {
    "h": 127.377,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56694,
    "c": 0.17533,
    "h": 144.1
  },
  "luminance": 0.19932
}

Semantic roles & 50–950 ramp

primary
#158F24
secondary
#C23EB2
accent
#37DAF1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #158F24

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

Preview Lab → · Contrast checker → · Palette generator →

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