#20702B#20702B

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

Color values

HEX#20702B
RGBrgb(32, 112, 43)
HSLhsl(128, 56%, 28%)
HSVhsv(128, 71%, 44%)
CMYKcmyk(71.4%, 0%, 61.6%, 56.1%)
CIE-LABlab(41.33, -39.27, 30.97)
CIE-LCHlch(41.33, 50.01, 141.74°)
OKLaboklab(48.11% -0.1061 0.0732)
OKLCHoklch(48.11% 0.129 145.4)
XYZxyz(6.8254, 12.0691, 4.2549)
Luminance0.1207 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20702B #702065
analogous
#3D7020 #20702B #207053
triadic
#20702B #2B2070 #702B20
tetradic
#20702B #203D70 #702065 #705320
square
#20702B #203D70 #702065 #705320
split-complementary
#20702B #532070 #70203D
monochromatic
#071809 #124019 #20702B #2EA03D #42C954

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20702B#FFFFFF#000000##FFFFFF
##20702B1.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)
#726524
Deuteranopia (green-blind)
#685F31
Tritanopia (blue-blind)
#056D61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #20702b;
/* rgb */ color: rgb(32, 112, 43);
/* oklch */ color: oklch(48.1% 0.129 145.4);
Tailwind
colors: {
  custom: {
    50: '#689a67',
    500: '#20702b',
    950: '#000000',
  },
}
SCSS
$custom: #20702b;
$custom-light: #689a67;
$custom-dark: #000000;
JSON
{
  "hex": "#20702b",
  "rgb": {
    "r": 32,
    "g": 112,
    "b": 43
  },
  "hsl": {
    "h": 128.25,
    "s": 55.556,
    "l": 28.235
  },
  "oklch": {
    "l": 0.4811,
    "c": 0.12889,
    "h": 145.4
  },
  "luminance": 0.1207
}

Semantic roles & 50–950 ramp

primary
#20702B
secondary
#A44897
accent
#49CADF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #20702B

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

Preview Lab → · Contrast checker → · Palette generator →

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