#20721F#20721F

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

Color values

HEX#20721F
RGBrgb(32, 114, 31)
HSLhsl(119, 57%, 28%)
HSVhsv(119, 73%, 45%)
CMYKcmyk(71.9%, 0%, 72.8%, 55.3%)
CIE-LABlab(41.91, -41.42, 37.26)
CIE-LCHlch(41.91, 55.71, 138.03°)
OKLaboklab(48.55% -0.1125 0.0852)
OKLCHoklch(48.55% 0.141 142.9)
XYZxyz(6.8599, 12.4399, 3.3357)
Luminance0.1244 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20721F #711F72
analogous
#49721F #20721F #1F7247
triadic
#20721F #1F2072 #721F20
tetradic
#20721F #1F4972 #711F72 #72471F
square
#20721F #1F4972 #711F72 #72471F
split-complementary
#20721F #471F72 #721F49
monochromatic
#071807 #124212 #20721F #2EA22C #42CB40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20721F#FFFFFF#000000##FFFFFF
##20721F1.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)
#756712
Deuteranopia (green-blind)
#6B6027
Tritanopia (blue-blind)
#096F61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #20721f;
/* rgb */ color: rgb(32, 114, 31);
/* oklch */ color: oklch(48.6% 0.141 142.9);
Tailwind
colors: {
  custom: {
    50: '#699b60',
    500: '#20721f',
    950: '#000000',
  },
}
SCSS
$custom: #20721f;
$custom-light: #699b60;
$custom-dark: #000000;
JSON
{
  "hex": "#20721f",
  "rgb": {
    "r": 32,
    "g": 114,
    "b": 31
  },
  "hsl": {
    "h": 119.277,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48553,
    "c": 0.14114,
    "h": 142.9
  },
  "luminance": 0.12441
}

Semantic roles & 50–950 ramp

primary
#20721F
secondary
#A547A6
accent
#47E0DF
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #20721F

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

Preview Lab → · Contrast checker → · Palette generator →

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