#20821E#20821E

#20821E is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.1% C 0.161 H 142.7°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#20821E
RGBrgb(32, 130, 30)
HSLhsl(119, 63%, 31%)
HSVhsv(119, 77%, 51%)
CMYKcmyk(75.4%, 0%, 76.9%, 49%)
CIE-LABlab(47.45, -47.19, 43.34)
CIE-LCHlch(47.45, 64.08, 137.43°)
OKLaboklab(53.15% -0.1282 0.0978)
OKLCHoklch(53.15% 0.161 142.7)
XYZxyz(8.8121, 16.3651, 3.9224)
Luminance0.1637 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20821E #801E82
analogous
#52821E #20821E #1E824E
triadic
#20821E #1E2082 #821E20
tetradic
#20821E #1E5282 #801E82 #824E1E
square
#20821E #1E5282 #801E82 #824E1E
split-complementary
#20821E #4E1E82 #821E52
monochromatic
#081F07 #145013 #20821E #2CB429 #49D446

Accessibility & contrast

On white

4.91
#20821E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#20821E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20821E
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20821E#FFFFFF#000000##FFFFFF
##20821E1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857509
Deuteranopia (green-blind)
#7A6E29
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #20821e;
/* rgb */ color: rgb(32, 130, 30);
/* oklch */ color: oklch(53.1% 0.161 142.7);
Tailwind
colors: {
  custom: {
    50: '#6da761',
    500: '#20821e',
    950: '#000000',
  },
}
SCSS
$custom: #20821e;
$custom-light: #6da761;
$custom-dark: #000000;
JSON
{
  "hex": "#20821e",
  "rgb": {
    "r": 32,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 118.8,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5315,
    "c": 0.16125,
    "h": 142.7
  },
  "luminance": 0.16366
}

Semantic roles & 50–950 ramp

primary
#20821E
secondary
#B347B5
accent
#42E6E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #20821E

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

Preview Lab → · Contrast checker → · Palette generator →

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