#20981E#20981E

#20981E is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.4% C 0.186 H 142.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#20981E
RGBrgb(32, 152, 30)
HSLhsl(119, 67%, 36%)
HSVhsv(119, 80%, 60%)
CMYKcmyk(78.9%, 0%, 80.3%, 40.4%)
CIE-LABlab(54.92, -54.47, 50.64)
CIE-LCHlch(54.92, 74.38, 137.09°)
OKLaboklab(59.36% -0.1479 0.113)
OKLCHoklch(59.36% 0.186 142.6)
XYZxyz(12.0575, 22.8559, 5.0042)
Luminance0.2286 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20981E #961E98
analogous
#5D981E #20981E #1E9859
triadic
#20981E #1E2098 #981E20
tetradic
#20981E #1E5D98 #961E98 #98591E
square
#20981E #1E5D98 #961E98 #98591E
split-complementary
#20981E #591E98 #981E5D
monochromatic
#0A320A #156514 #20981E #2BCB28 #56DD53

Accessibility & contrast

On white

3.77
#20981E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#20981E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #20981E
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20981E#FFFFFF#000000##000000
##20981E1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8900
Deuteranopia (green-blind)
#8E802D
Tritanopia (blue-blind)
#009381
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #20981e;
/* rgb */ color: rgb(32, 152, 30);
/* oklch */ color: oklch(59.4% 0.186 142.6);
Tailwind
colors: {
  custom: {
    50: '#72b764',
    500: '#20981e',
    950: '#000000',
  },
}
SCSS
$custom: #20981e;
$custom-light: #72b764;
$custom-dark: #000000;
JSON
{
  "hex": "#20981e",
  "rgb": {
    "r": 32,
    "g": 152,
    "b": 30
  },
  "hsl": {
    "h": 119.016,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59362,
    "c": 0.18617,
    "h": 142.6
  },
  "luminance": 0.22857
}

Semantic roles & 50–950 ramp

primary
#20981E
secondary
#BE51C0
accent
#3EEAE7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #20981E

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

Preview Lab → · Contrast checker → · Palette generator →

#20981E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva