#20701B#20701B

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

Color values

HEX#20701B
RGBrgb(32, 112, 27)
HSLhsl(116, 61%, 27%)
HSVhsv(116, 76%, 44%)
CMYKcmyk(71.4%, 0%, 75.9%, 56.1%)
CIE-LABlab(41.17, -41.06, 38.17)
CIE-LCHlch(41.17, 56.06, 137.09°)
OKLaboklab(47.94% -0.1118 0.0866)
OKLCHoklch(47.94% 0.141 142.2)
XYZxyz(6.5873, 11.9739, 3.0007)
Luminance0.1197 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20701B #6B1B70
analogous
#4A701B #20701B #1B7041
triadic
#20701B #1B2070 #701B20
tetradic
#20701B #1B4A70 #6B1B70 #70411B
square
#20701B #1B4A70 #6B1B70 #70411B
split-complementary
#20701B #411B70 #701B4A
monochromatic
#071906 #123F0F #20701B #2EA127 #40CF37

Accessibility & contrast

On white

6.19
#20701B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #20701B
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20701B#FFFFFF#000000##FFFFFF
##20701B1.006.193.406.19
#FFFFFF6.191.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20701b;
/* rgb */ color: rgb(32, 112, 27);
/* oklch */ color: oklch(47.9% 0.141 142.2);
Tailwind
colors: {
  custom: {
    50: '#689a5d',
    500: '#20701b',
    950: '#000000',
  },
}
SCSS
$custom: #20701b;
$custom-light: #689a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#20701b",
  "rgb": {
    "r": 32,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 116.471,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.47936,
    "c": 0.14136,
    "h": 142.2
  },
  "luminance": 0.11975
}

Semantic roles & 50–950 ramp

primary
#20701B
secondary
#9F42A5
accent
#44E4DB
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #20701B

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

Preview Lab → · Contrast checker → · Palette generator →

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