#158C20#158C20

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

Color values

HEX#158C20
RGBrgb(21, 140, 32)
HSLhsl(126, 74%, 32%)
HSVhsv(126, 85%, 55%)
CMYKcmyk(85%, 0%, 77.1%, 45.1%)
CIE-LABlab(50.71, -51.91, 45.80)
CIE-LCHlch(50.71, 69.23, 138.58°)
OKLaboklab(55.81% -0.1404 0.1033)
OKLCHoklch(55.81% 0.174 143.7)
XYZxyz(9.9474, 19.0186, 4.5129)
Luminance0.1902 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158C20 #8C1581
analogous
#468C15 #158C20 #158C5C
triadic
#158C20 #20158C #8C2015
tetradic
#158C20 #15468C #8C1581 #8C5C15
square
#158C20 #15468C #8C1581 #8C5C15
split-complementary
#158C20 #5C158C #8C1546
monochromatic
#052208 #0D5714 #158C20 #1DC12C #3AE149

Accessibility & contrast

On white

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

On black

4.80
#158C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158C20
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158C20#FFFFFF#000000##000000
##158C201.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E08
Deuteranopia (green-blind)
#83752C
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #158c20;
/* rgb */ color: rgb(21, 140, 32);
/* oklch */ color: oklch(55.8% 0.174 143.7);
Tailwind
colors: {
  custom: {
    50: '#6caf63',
    500: '#158c20',
    950: '#000000',
  },
}
SCSS
$custom: #158c20;
$custom-light: #6caf63;
$custom-dark: #000000;
JSON
{
  "hex": "#158c20",
  "rgb": {
    "r": 21,
    "g": 140,
    "b": 32
  },
  "hsl": {
    "h": 125.546,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55812,
    "c": 0.1743,
    "h": 143.7
  },
  "luminance": 0.1902
}

Semantic roles & 50–950 ramp

primary
#158C20
secondary
#C03DB4
accent
#37DFF1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #158C20

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

Preview Lab → · Contrast checker → · Palette generator →

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