#20721E#20721E

#20721E is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.5% C 0.142 H 142.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#20721E
RGBrgb(32, 114, 30)
HSLhsl(119, 58%, 28%)
HSVhsv(119, 74%, 45%)
CMYKcmyk(71.9%, 0%, 73.7%, 55.3%)
CIE-LABlab(41.90, -41.52, 37.68)
CIE-LCHlch(41.90, 56.07, 137.78°)
OKLaboklab(48.54% -0.1128 0.086)
OKLCHoklch(48.54% 0.142 142.7)
XYZxyz(6.8469, 12.4347, 3.2673)
Luminance0.1244 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20721E #701E72
analogous
#4A721E #20721E #1E7246
triadic
#20721E #1E2072 #721E20
tetradic
#20721E #1E4A72 #701E72 #72461E
square
#20721E #1E4A72 #701E72 #72461E
split-complementary
#20721E #461E72 #721E4A
monochromatic
#071806 #124211 #20721E #2EA22B #42CC3E

Accessibility & contrast

On white

6.02
#20721E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#20721E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20721E
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20721E#FFFFFF#000000##FFFFFF
##20721E1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756711
Deuteranopia (green-blind)
#6B6026
Tritanopia (blue-blind)
#0A6E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #20721e;
/* rgb */ color: rgb(32, 114, 30);
/* oklch */ color: oklch(48.5% 0.142 142.7);
Tailwind
colors: {
  custom: {
    50: '#699b5f',
    500: '#20721e',
    950: '#000000',
  },
}
SCSS
$custom: #20721e;
$custom-light: #699b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#20721e",
  "rgb": {
    "r": 32,
    "g": 114,
    "b": 30
  },
  "hsl": {
    "h": 118.571,
    "s": 58.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48544,
    "c": 0.14185,
    "h": 142.7
  },
  "luminance": 0.12435
}

Semantic roles & 50–950 ramp

primary
#20721E
secondary
#A446A6
accent
#46E2DE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #20721E

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

Preview Lab → · Contrast checker → · Palette generator →

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