#20702F#20702F

#20702F is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.125 H 146.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#20702F
RGBrgb(32, 112, 47)
HSLhsl(131, 56%, 28%)
HSVhsv(131, 71%, 44%)
CMYKcmyk(71.4%, 0%, 58%, 56.1%)
CIE-LABlab(41.37, -38.70, 28.96)
CIE-LCHlch(41.37, 48.34, 143.19°)
OKLaboklab(48.17% -0.1044 0.0691)
OKLCHoklch(48.17% 0.125 146.5)
XYZxyz(6.9024, 12.0999, 4.6605)
Luminance0.1210 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20702F #702061
analogous
#397020 #20702F #207057
triadic
#20702F #2F2070 #702F20
tetradic
#20702F #203970 #702061 #705720
square
#20702F #203970 #702061 #705720
split-complementary
#20702F #572070 #702039
monochromatic
#07180A #12401B #20702F #2EA043 #42C95B

Accessibility & contrast

On white

6.14
#20702F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #20702F
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20702F#FFFFFF#000000##FFFFFF
##20702F1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726629
Deuteranopia (green-blind)
#685F34
Tritanopia (blue-blind)
#026D61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #20702f;
/* rgb */ color: rgb(32, 112, 47);
/* oklch */ color: oklch(48.2% 0.125 146.5);
Tailwind
colors: {
  custom: {
    50: '#679a69',
    500: '#20702f',
    950: '#000000',
  },
}
SCSS
$custom: #20702f;
$custom-light: #679a69;
$custom-dark: #000000;
JSON
{
  "hex": "#20702f",
  "rgb": {
    "r": 32,
    "g": 112,
    "b": 47
  },
  "hsl": {
    "h": 131.25,
    "s": 55.556,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48166,
    "c": 0.12523,
    "h": 146.5
  },
  "luminance": 0.12101
}

Semantic roles & 50–950 ramp

primary
#20702F
secondary
#A44893
accent
#49C3DF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #20702F

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

Preview Lab → · Contrast checker → · Palette generator →

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