#20721B#20721B

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

Color values

HEX#20721B
RGBrgb(32, 114, 27)
HSLhsl(117, 62%, 28%)
HSVhsv(117, 76%, 45%)
CMYKcmyk(71.9%, 0%, 76.3%, 55.3%)
CIE-LABlab(41.88, -41.79, 38.88)
CIE-LCHlch(41.88, 57.08, 137.07°)
OKLaboklab(48.52% -0.1137 0.0881)
OKLCHoklch(48.52% 0.144 142.3)
XYZxyz(6.8104, 12.4201, 3.0751)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20721B #6D1B72
analogous
#4B721B #20721B #1B7242
triadic
#20721B #1B2072 #721B20
tetradic
#20721B #1B4B72 #6D1B72 #72421B
square
#20721B #1B4B72 #6D1B72 #72421B
split-complementary
#20721B #421B72 #721B4B
monochromatic
#071906 #12410F #20721B #2EA327 #40D038

Accessibility & contrast

On white

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

On black

3.48
#20721B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##20721B#FFFFFF#000000##FFFFFF
##20721B1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75670B
Deuteranopia (green-blind)
#6B6024
Tritanopia (blue-blind)
#0B6E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #20721b;
/* rgb */ color: rgb(32, 114, 27);
/* oklch */ color: oklch(48.5% 0.144 142.3);
Tailwind
colors: {
  custom: {
    50: '#699b5d',
    500: '#20721b',
    950: '#000000',
  },
}
SCSS
$custom: #20721b;
$custom-light: #699b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#20721b",
  "rgb": {
    "r": 32,
    "g": 114,
    "b": 27
  },
  "hsl": {
    "h": 116.552,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.48518,
    "c": 0.14384,
    "h": 142.3
  },
  "luminance": 0.12421
}

Semantic roles & 50–950 ramp

primary
#20721B
secondary
#A142A7
accent
#43E5DB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #20721B

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

Preview Lab → · Contrast checker → · Palette generator →

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