#20981D#20981D

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

Color values

HEX#20981D
RGBrgb(32, 152, 29)
HSLhsl(119, 68%, 35%)
HSVhsv(119, 81%, 60%)
CMYKcmyk(78.9%, 0%, 80.9%, 40.4%)
CIE-LABlab(54.92, -54.54, 50.95)
CIE-LCHlch(54.92, 74.63, 136.95°)
OKLaboklab(59.36% -0.1482 0.1135)
OKLCHoklch(59.36% 0.187 142.5)
XYZxyz(12.0449, 22.8508, 4.9380)
Luminance0.2285 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20981D #951D98
analogous
#5D981D #20981D #1D9858
triadic
#20981D #1D2098 #981D20
tetradic
#20981D #1D5D98 #951D98 #98581D
square
#20981D #1D5D98 #951D98 #98581D
split-complementary
#20981D #581D98 #981D5D
monochromatic
#0A3109 #156513 #20981D #2BCB27 #55DE52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20981D#FFFFFF#000000##000000
##20981D1.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)
#9C8900
Deuteranopia (green-blind)
#8F802C
Tritanopia (blue-blind)
#009381
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #20981d;
/* rgb */ color: rgb(32, 152, 29);
/* oklch */ color: oklch(59.4% 0.187 142.5);
Tailwind
colors: {
  custom: {
    50: '#72b764',
    500: '#20981d',
    950: '#000000',
  },
}
SCSS
$custom: #20981d;
$custom-light: #72b764;
$custom-dark: #000000;
JSON
{
  "hex": "#20981d",
  "rgb": {
    "r": 32,
    "g": 152,
    "b": 29
  },
  "hsl": {
    "h": 118.537,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59356,
    "c": 0.18664,
    "h": 142.5
  },
  "luminance": 0.22852
}

Semantic roles & 50–950 ramp

primary
#20981D
secondary
#BE50C1
accent
#3DEBE7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #20981D

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

Preview Lab → · Contrast checker → · Palette generator →

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