#158D22#158D22

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

Color values

HEX#158D22
RGBrgb(21, 141, 34)
HSLhsl(127, 74%, 32%)
HSVhsv(127, 85%, 55%)
CMYKcmyk(85.1%, 0%, 75.9%, 44.7%)
CIE-LABlab(51.06, -52.07, 45.42)
CIE-LCHlch(51.06, 69.09, 138.90°)
OKLaboklab(56.11% -0.1408 0.1027)
OKLCHoklch(56.11% 0.174 143.9)
XYZxyz(10.1222, 19.3234, 4.7094)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158D22 #8D1580
analogous
#448D15 #158D22 #158D5E
triadic
#158D22 #22158D #8D2215
tetradic
#158D22 #15448D #8D1580 #8D5E15
square
#158D22 #15448D #8D1580 #8D5E15
split-complementary
#158D22 #5E158D #8D1544
monochromatic
#052208 #0D5815 #158D22 #1DC22F #3BE24D

Accessibility & contrast

On white

4.32
#158D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##158D22#FFFFFF#000000##000000
##158D221.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0D
Deuteranopia (green-blind)
#83762E
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #158d22;
/* rgb */ color: rgb(21, 141, 34);
/* oklch */ color: oklch(56.1% 0.174 143.9);
Tailwind
colors: {
  custom: {
    50: '#6cb065',
    500: '#158d22',
    950: '#000000',
  },
}
SCSS
$custom: #158d22;
$custom-light: #6cb065;
$custom-dark: #000000;
JSON
{
  "hex": "#158d22",
  "rgb": {
    "r": 21,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 126.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56111,
    "c": 0.17427,
    "h": 143.9
  },
  "luminance": 0.19325
}

Semantic roles & 50–950 ramp

primary
#158D22
secondary
#C13DB2
accent
#37DDF1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #158D22

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

Preview Lab → · Contrast checker → · Palette generator →

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