#20701F#20701F

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

Color values

HEX#20701F
RGBrgb(32, 112, 31)
HSLhsl(119, 57%, 28%)
HSVhsv(119, 72%, 44%)
CMYKcmyk(71.4%, 0%, 72.3%, 56.1%)
CIE-LABlab(41.21, -40.68, 36.52)
CIE-LCHlch(41.21, 54.67, 138.09°)
OKLaboklab(47.97% -0.1105 0.0837)
OKLCHoklch(47.97% 0.139 142.9)
XYZxyz(6.6368, 11.9936, 3.2613)
Luminance0.1199 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20701F #6F1F70
analogous
#48701F #20701F #1F7046
triadic
#20701F #1F2070 #701F20
tetradic
#20701F #1F4870 #6F1F70 #70461F
square
#20701F #1F4870 #6F1F70 #70461F
split-complementary
#20701F #461F70 #701F48
monochromatic
#071807 #124012 #20701F #2EA02C #41CA3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20701F#FFFFFF#000000##FFFFFF
##20701F1.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)
#736513
Deuteranopia (green-blind)
#695F27
Tritanopia (blue-blind)
#0B6D60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #20701f;
/* rgb */ color: rgb(32, 112, 31);
/* oklch */ color: oklch(48.0% 0.139 142.9);
Tailwind
colors: {
  custom: {
    50: '#689a5f',
    500: '#20701f',
    950: '#000000',
  },
}
SCSS
$custom: #20701f;
$custom-light: #689a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#20701f",
  "rgb": {
    "r": 32,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 119.259,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.47972,
    "c": 0.13861,
    "h": 142.9
  },
  "luminance": 0.11994
}

Semantic roles & 50–950 ramp

primary
#20701F
secondary
#A347A4
accent
#48E0DE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #20701F

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

Preview Lab → · Contrast checker → · Palette generator →

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