#158C21#158C21

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

Color values

HEX#158C21
RGBrgb(21, 140, 33)
HSLhsl(126, 74%, 32%)
HSVhsv(126, 85%, 55%)
CMYKcmyk(85%, 0%, 76.4%, 45.1%)
CIE-LABlab(50.72, -51.83, 45.44)
CIE-LCHlch(50.72, 68.93, 138.76°)
OKLaboklab(55.82% -0.1402 0.1027)
OKLCHoklch(55.82% 0.174 143.8)
XYZxyz(9.9612, 19.0242, 4.5856)
Luminance0.1903 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158C21 #8C1580
analogous
#458C15 #158C21 #158C5D
triadic
#158C21 #21158C #8C2115
tetradic
#158C21 #15458C #8C1580 #8C5D15
square
#158C21 #15458C #8C1580 #8C5D15
split-complementary
#158C21 #5D158C #8C1545
monochromatic
#052208 #0D5714 #158C21 #1DC12E #3AE14B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158C21#FFFFFF#000000##000000
##158C211.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)
#8F7E0B
Deuteranopia (green-blind)
#82752D
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #158c21;
/* rgb */ color: rgb(21, 140, 33);
/* oklch */ color: oklch(55.8% 0.174 143.8);
Tailwind
colors: {
  custom: {
    50: '#6caf64',
    500: '#158c21',
    950: '#000000',
  },
}
SCSS
$custom: #158c21;
$custom-light: #6caf64;
$custom-dark: #000000;
JSON
{
  "hex": "#158c21",
  "rgb": {
    "r": 21,
    "g": 140,
    "b": 33
  },
  "hsl": {
    "h": 126.05,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55819,
    "c": 0.17374,
    "h": 143.8
  },
  "luminance": 0.19025
}

Semantic roles & 50–950 ramp

primary
#158C21
secondary
#C03DB3
accent
#37DEF1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #158C21

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

Preview Lab → · Contrast checker → · Palette generator →

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