#20702D#20702D

#20702D is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.1% C 0.127 H 145.9°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#20702D
RGBrgb(32, 112, 45)
HSLhsl(130, 56%, 28%)
HSVhsv(130, 71%, 44%)
CMYKcmyk(71.4%, 0%, 59.8%, 56.1%)
CIE-LABlab(41.35, -38.99, 29.97)
CIE-LCHlch(41.35, 49.18, 142.45°)
OKLaboklab(48.14% -0.1053 0.0712)
OKLCHoklch(48.14% 0.127 145.9)
XYZxyz(6.8630, 12.0841, 4.4529)
Luminance0.1208 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20702D #702063
analogous
#3B7020 #20702D #207055
triadic
#20702D #2D2070 #702D20
tetradic
#20702D #203B70 #702063 #705520
square
#20702D #203B70 #702063 #705520
split-complementary
#20702D #552070 #70203B
monochromatic
#07180A #12401A #20702D #2EA040 #42C958

Accessibility & contrast

On white

6.15
#20702D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#20702D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20702D
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20702D#FFFFFF#000000##FFFFFF
##20702D1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726626
Deuteranopia (green-blind)
#685F32
Tritanopia (blue-blind)
#036D61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #20702d;
/* rgb */ color: rgb(32, 112, 45);
/* oklch */ color: oklch(48.1% 0.127 145.9);
Tailwind
colors: {
  custom: {
    50: '#679a68',
    500: '#20702d',
    950: '#000000',
  },
}
SCSS
$custom: #20702d;
$custom-light: #679a68;
$custom-dark: #000000;
JSON
{
  "hex": "#20702d",
  "rgb": {
    "r": 32,
    "g": 112,
    "b": 45
  },
  "hsl": {
    "h": 129.75,
    "s": 55.556,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48137,
    "c": 0.12708,
    "h": 145.9
  },
  "luminance": 0.12085
}

Semantic roles & 50–950 ramp

primary
#20702D
secondary
#A44895
accent
#49C7DF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #20702D

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

Preview Lab → · Contrast checker → · Palette generator →

#20702D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva