#20702A#20702A

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

Color values

HEX#20702A
RGBrgb(32, 112, 42)
HSLhsl(128, 56%, 28%)
HSVhsv(128, 71%, 44%)
CMYKcmyk(71.4%, 0%, 62.5%, 56.1%)
CIE-LABlab(41.31, -39.40, 31.46)
CIE-LCHlch(41.31, 50.42, 141.40°)
OKLaboklab(48.1% -0.1065 0.0741)
OKLCHoklch(48.1% 0.13 145.2)
XYZxyz(6.8073, 12.0619, 4.1595)
Luminance0.1206 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20702A #702066
analogous
#3E7020 #20702A #207052
triadic
#20702A #2A2070 #702A20
tetradic
#20702A #203E70 #702066 #705220
square
#20702A #203E70 #702066 #705220
split-complementary
#20702A #522070 #70203E
monochromatic
#071809 #124018 #20702A #2EA03C #42C952

Accessibility & contrast

On white

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

On black

3.41
#20702A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##20702A#FFFFFF#000000##FFFFFF
##20702A1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726523
Deuteranopia (green-blind)
#685F30
Tritanopia (blue-blind)
#056D61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #20702a;
/* rgb */ color: rgb(32, 112, 42);
/* oklch */ color: oklch(48.1% 0.130 145.2);
Tailwind
colors: {
  custom: {
    50: '#689a66',
    500: '#20702a',
    950: '#000000',
  },
}
SCSS
$custom: #20702a;
$custom-light: #689a66;
$custom-dark: #000000;
JSON
{
  "hex": "#20702a",
  "rgb": {
    "r": 32,
    "g": 112,
    "b": 42
  },
  "hsl": {
    "h": 127.5,
    "s": 55.556,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48097,
    "c": 0.12977,
    "h": 145.2
  },
  "luminance": 0.12063
}

Semantic roles & 50–950 ramp

primary
#20702A
secondary
#A44898
accent
#49CCDF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #20702A

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

Preview Lab → · Contrast checker → · Palette generator →

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