#20721C#20721C

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

Color values

HEX#20721C
RGBrgb(32, 114, 28)
HSLhsl(117, 61%, 28%)
HSVhsv(117, 75%, 45%)
CMYKcmyk(71.9%, 0%, 75.4%, 55.3%)
CIE-LABlab(41.88, -41.70, 38.49)
CIE-LCHlch(41.88, 56.75, 137.30°)
OKLaboklab(48.53% -0.1134 0.0874)
OKLCHoklch(48.53% 0.143 142.4)
XYZxyz(6.8222, 12.4248, 3.1371)
Luminance0.1243 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20721C #6E1C72
analogous
#4B721C #20721C #1C7243
triadic
#20721C #1C2072 #721C20
tetradic
#20721C #1C4B72 #6E1C72 #72431C
square
#20721C #1C4B72 #6E1C72 #72431C
split-complementary
#20721C #431C72 #721C4B
monochromatic
#071906 #124110 #20721C #2EA328 #41CF3A

Accessibility & contrast

On white

6.03
#20721C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #20721C
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20721C#FFFFFF#000000##FFFFFF
##20721C1.006.033.496.03
#FFFFFF6.031.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75670D
Deuteranopia (green-blind)
#6B6025
Tritanopia (blue-blind)
#0A6E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #20721c;
/* rgb */ color: rgb(32, 114, 28);
/* oklch */ color: oklch(48.5% 0.143 142.4);
Tailwind
colors: {
  custom: {
    50: '#699b5e',
    500: '#20721c',
    950: '#000000',
  },
}
SCSS
$custom: #20721c;
$custom-light: #699b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#20721c",
  "rgb": {
    "r": 32,
    "g": 114,
    "b": 28
  },
  "hsl": {
    "h": 117.209,
    "s": 60.563,
    "l": 27.843
  },
  "oklch": {
    "l": 0.48526,
    "c": 0.14319,
    "h": 142.4
  },
  "luminance": 0.12426
}

Semantic roles & 50–950 ramp

primary
#20721C
secondary
#A243A6
accent
#44E4DC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #20721C

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

Preview Lab → · Contrast checker → · Palette generator →

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