#158F20#158F20

#158F20 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.178 H 143.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#158F20
RGBrgb(21, 143, 32)
HSLhsl(125, 74%, 32%)
HSVhsv(125, 85%, 56%)
CMYKcmyk(85.3%, 0%, 77.6%, 43.9%)
CIE-LABlab(51.73, -52.86, 46.82)
CIE-LCHlch(51.73, 70.61, 138.47°)
OKLaboklab(56.66% -0.143 0.1054)
OKLCHoklch(56.66% 0.178 143.6)
XYZxyz(10.3917, 19.9073, 4.6610)
Luminance0.1991 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158F20 #8F1584
analogous
#478F15 #158F20 #158F5D
triadic
#158F20 #20158F #8F2015
tetradic
#158F20 #15478F #8F1584 #8F5D15
square
#158F20 #15478F #8F1584 #8F5D15
split-complementary
#158F20 #5D158F #8F1547
monochromatic
#052408 #0D5A14 #158F20 #1DC42C #3CE24B

Accessibility & contrast

On white

4.22
#158F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#158F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158F20
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158F20#FFFFFF#000000##000000
##158F201.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928106
Deuteranopia (green-blind)
#85782C
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #158f20;
/* rgb */ color: rgb(21, 143, 32);
/* oklch */ color: oklch(56.7% 0.178 143.6);
Tailwind
colors: {
  custom: {
    50: '#6db164',
    500: '#158f20',
    950: '#000000',
  },
}
SCSS
$custom: #158f20;
$custom-light: #6db164;
$custom-dark: #000000;
JSON
{
  "hex": "#158f20",
  "rgb": {
    "r": 21,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 125.41,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56663,
    "c": 0.17765,
    "h": 143.6
  },
  "luminance": 0.19909
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #158F20

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

Preview Lab → · Contrast checker → · Palette generator →

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