#20702C#20702C

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

Color values

HEX#20702C
RGBrgb(32, 112, 44)
HSLhsl(129, 56%, 28%)
HSVhsv(129, 71%, 44%)
CMYKcmyk(71.4%, 0%, 60.7%, 56.1%)
CIE-LABlab(41.34, -39.13, 30.47)
CIE-LCHlch(41.34, 49.60, 142.09°)
OKLaboklab(48.12% -0.1057 0.0722)
OKLCHoklch(48.12% 0.128 145.7)
XYZxyz(6.8440, 12.0765, 4.3527)
Luminance0.1208 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20702C #702064
analogous
#3C7020 #20702C #207054
triadic
#20702C #2C2070 #702C20
tetradic
#20702C #203C70 #702064 #705420
square
#20702C #203C70 #702064 #705420
split-complementary
#20702C #542070 #70203C
monochromatic
#071809 #124019 #20702C #2EA03F #42C956

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20702C#FFFFFF#000000##FFFFFF
##20702C1.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)
#726625
Deuteranopia (green-blind)
#685F31
Tritanopia (blue-blind)
#046D61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #20702c;
/* rgb */ color: rgb(32, 112, 44);
/* oklch */ color: oklch(48.1% 0.128 145.7);
Tailwind
colors: {
  custom: {
    50: '#679a67',
    500: '#20702c',
    950: '#000000',
  },
}
SCSS
$custom: #20702c;
$custom-light: #679a67;
$custom-dark: #000000;
JSON
{
  "hex": "#20702c",
  "rgb": {
    "r": 32,
    "g": 112,
    "b": 44
  },
  "hsl": {
    "h": 129,
    "s": 55.556,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48124,
    "c": 0.12799,
    "h": 145.7
  },
  "luminance": 0.12077
}

Semantic roles & 50–950 ramp

primary
#20702C
secondary
#A44896
accent
#49C8DF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #20702C

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

Preview Lab → · Contrast checker → · Palette generator →

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