#158E20#158E20

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

Color values

HEX#158E20
RGBrgb(21, 142, 32)
HSLhsl(125, 74%, 32%)
HSVhsv(125, 85%, 56%)
CMYKcmyk(85.2%, 0%, 77.5%, 44.3%)
CIE-LABlab(51.39, -52.55, 46.48)
CIE-LCHlch(51.39, 70.15, 138.51°)
OKLaboklab(56.38% -0.1422 0.1047)
OKLCHoklch(56.38% 0.177 143.6)
XYZxyz(10.2423, 19.6084, 4.6112)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158E20 #8E1583
analogous
#468E15 #158E20 #158E5D
triadic
#158E20 #20158E #8E2015
tetradic
#158E20 #15468E #8E1583 #8E5D15
square
#158E20 #15468E #8E1583 #8E5D15
split-complementary
#158E20 #5D158E #8E1546
monochromatic
#052308 #0D5914 #158E20 #1DC32C #3BE24A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158E20#FFFFFF#000000##000000
##158E201.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)
#918007
Deuteranopia (green-blind)
#84772C
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #158e20;
/* rgb */ color: rgb(21, 142, 32);
/* oklch */ color: oklch(56.4% 0.177 143.6);
Tailwind
colors: {
  custom: {
    50: '#6db064',
    500: '#158e20',
    950: '#000000',
  },
}
SCSS
$custom: #158e20;
$custom-light: #6db064;
$custom-dark: #000000;
JSON
{
  "hex": "#158e20",
  "rgb": {
    "r": 21,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 125.455,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5638,
    "c": 0.17654,
    "h": 143.6
  },
  "luminance": 0.1961
}

Semantic roles & 50–950 ramp

primary
#158E20
secondary
#C23DB6
accent
#37E0F1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #158E20

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

Preview Lab → · Contrast checker → · Palette generator →

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