#158E21#158E21

#158E21 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.176 H 143.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#158E21
RGBrgb(21, 142, 33)
HSLhsl(126, 74%, 32%)
HSVhsv(126, 85%, 56%)
CMYKcmyk(85.2%, 0%, 76.8%, 44.3%)
CIE-LABlab(51.40, -52.47, 46.13)
CIE-LCHlch(51.40, 69.86, 138.68°)
OKLaboklab(56.39% -0.1419 0.1041)
OKLCHoklch(56.39% 0.176 143.7)
XYZxyz(10.2561, 19.6140, 4.6839)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158E21 #8E1582
analogous
#468E15 #158E21 #158E5D
triadic
#158E21 #21158E #8E2115
tetradic
#158E21 #15468E #8E1582 #8E5D15
square
#158E21 #15468E #8E1582 #8E5D15
split-complementary
#158E21 #5D158E #8E1546
monochromatic
#052308 #0D5915 #158E21 #1DC32D #3BE24C

Accessibility & contrast

On white

4.27
#158E21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#158E21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158E21
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158E21#FFFFFF#000000##000000
##158E211.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800A
Deuteranopia (green-blind)
#84772D
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #158e21;
/* rgb */ color: rgb(21, 142, 33);
/* oklch */ color: oklch(56.4% 0.176 143.7);
Tailwind
colors: {
  custom: {
    50: '#6db064',
    500: '#158e21',
    950: '#000000',
  },
}
SCSS
$custom: #158e21;
$custom-light: #6db064;
$custom-dark: #000000;
JSON
{
  "hex": "#158e21",
  "rgb": {
    "r": 21,
    "g": 142,
    "b": 33
  },
  "hsl": {
    "h": 125.95,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56387,
    "c": 0.17597,
    "h": 143.7
  },
  "luminance": 0.19615
}

Semantic roles & 50–950 ramp

primary
#158E21
secondary
#C23DB4
accent
#37DEF1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #158E21

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

Preview Lab → · Contrast checker → · Palette generator →

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