#158C22#158C22

#158C22 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.8% C 0.173 H 143.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#158C22
RGBrgb(21, 140, 34)
HSLhsl(127, 74%, 32%)
HSVhsv(127, 85%, 55%)
CMYKcmyk(85%, 0%, 75.7%, 45.1%)
CIE-LABlab(50.72, -51.75, 45.08)
CIE-LCHlch(50.72, 68.63, 138.94°)
OKLaboklab(55.83% -0.1399 0.102)
OKLCHoklch(55.83% 0.173 143.9)
XYZxyz(9.9754, 19.0299, 4.6605)
Luminance0.1903 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158C22 #8C157F
analogous
#448C15 #158C22 #158C5E
triadic
#158C22 #22158C #8C2215
tetradic
#158C22 #15448C #8C157F #8C5E15
square
#158C22 #15448C #8C157F #8C5E15
split-complementary
#158C22 #5E158C #8C1544
monochromatic
#052208 #0D5715 #158C22 #1DC12F #3AE14C

Accessibility & contrast

On white

4.37
#158C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#158C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158C22
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158C22#FFFFFF#000000##000000
##158C221.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0D
Deuteranopia (green-blind)
#82752D
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #158c22;
/* rgb */ color: rgb(21, 140, 34);
/* oklch */ color: oklch(55.8% 0.173 143.9);
Tailwind
colors: {
  custom: {
    50: '#6caf64',
    500: '#158c22',
    950: '#000000',
  },
}
SCSS
$custom: #158c22;
$custom-light: #6caf64;
$custom-dark: #000000;
JSON
{
  "hex": "#158c22",
  "rgb": {
    "r": 21,
    "g": 140,
    "b": 34
  },
  "hsl": {
    "h": 126.555,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55827,
    "c": 0.17315,
    "h": 143.9
  },
  "luminance": 0.19031
}

Semantic roles & 50–950 ramp

primary
#158C22
secondary
#C03DB2
accent
#37DCF1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #158C22

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

Preview Lab → · Contrast checker → · Palette generator →

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