#158D24#158D24

#158D24 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.1% C 0.173 H 144.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#158D24
RGBrgb(21, 141, 36)
HSLhsl(128, 74%, 32%)
HSVhsv(128, 85%, 55%)
CMYKcmyk(85.1%, 0%, 74.5%, 44.7%)
CIE-LABlab(51.08, -51.89, 44.68)
CIE-LCHlch(51.08, 68.48, 139.27°)
OKLaboklab(56.13% -0.1402 0.1015)
OKLCHoklch(56.13% 0.173 144.1)
XYZxyz(10.1519, 19.3353, 4.8658)
Luminance0.1934 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158D24 #8D157E
analogous
#428D15 #158D24 #158D60
triadic
#158D24 #24158D #8D2415
tetradic
#158D24 #15428D #8D157E #8D6015
square
#158D24 #15428D #8D157E #8D6015
split-complementary
#158D24 #60158D #8D1542
monochromatic
#052209 #0D5816 #158D24 #1DC232 #3BE250

Accessibility & contrast

On white

4.31
#158D24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#158D24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158D24
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158D24#FFFFFF#000000##000000
##158D241.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F11
Deuteranopia (green-blind)
#83762F
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #158d24;
/* rgb */ color: rgb(21, 141, 36);
/* oklch */ color: oklch(56.1% 0.173 144.1);
Tailwind
colors: {
  custom: {
    50: '#6cb066',
    500: '#158d24',
    950: '#000000',
  },
}
SCSS
$custom: #158d24;
$custom-light: #6cb066;
$custom-dark: #000000;
JSON
{
  "hex": "#158d24",
  "rgb": {
    "r": 21,
    "g": 141,
    "b": 36
  },
  "hsl": {
    "h": 127.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56127,
    "c": 0.17306,
    "h": 144.1
  },
  "luminance": 0.19337
}

Semantic roles & 50–950 ramp

primary
#158D24
secondary
#C13DB0
accent
#37DAF1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #158D24

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

Preview Lab → · Contrast checker → · Palette generator →

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