#20701C#20701C

#20701C is a mid, vivid green. Relative luminance 0.120; OKLCH L 47.9% C 0.141 H 142.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#20701C
RGBrgb(32, 112, 28)
HSLhsl(117, 60%, 27%)
HSVhsv(117, 75%, 44%)
CMYKcmyk(71.4%, 0%, 75%, 56.1%)
CIE-LABlab(41.18, -40.97, 37.77)
CIE-LCHlch(41.18, 55.72, 137.33°)
OKLaboklab(47.95% -0.1115 0.0859)
OKLCHoklch(47.95% 0.141 142.4)
XYZxyz(6.5991, 11.9786, 3.0627)
Luminance0.1198 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20701C #6C1C70
analogous
#4A701C #20701C #1C7042
triadic
#20701C #1C2070 #701C20
tetradic
#20701C #1C4A70 #6C1C70 #70421C
square
#20701C #1C4A70 #6C1C70 #70421C
split-complementary
#20701C #421C70 #701C4A
monochromatic
#071806 #123F10 #20701C #2EA128 #40CD39

Accessibility & contrast

On white

6.18
#20701C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#20701C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20701C
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20701C#FFFFFF#000000##FFFFFF
##20701C1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73650E
Deuteranopia (green-blind)
#695F24
Tritanopia (blue-blind)
#0C6C5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #20701c;
/* rgb */ color: rgb(32, 112, 28);
/* oklch */ color: oklch(47.9% 0.141 142.4);
Tailwind
colors: {
  custom: {
    50: '#689a5e',
    500: '#20701c',
    950: '#000000',
  },
}
SCSS
$custom: #20701c;
$custom-light: #689a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#20701c",
  "rgb": {
    "r": 32,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 117.143,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.47945,
    "c": 0.1407,
    "h": 142.4
  },
  "luminance": 0.11979
}

Semantic roles & 50–950 ramp

primary
#20701C
secondary
#A043A5
accent
#45E3DC
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #20701C

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

Preview Lab → · Contrast checker → · Palette generator →

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