#20712E#20712E

#20712E is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.4% C 0.128 H 146.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#20712E
RGBrgb(32, 113, 46)
HSLhsl(130, 56%, 28%)
HSVhsv(130, 72%, 44%)
CMYKcmyk(71.7%, 0%, 59.3%, 55.7%)
CIE-LABlab(41.71, -39.24, 29.88)
CIE-LCHlch(41.71, 49.32, 142.71°)
OKLaboklab(48.44% -0.1059 0.0711)
OKLCHoklch(48.44% 0.128 146.1)
XYZxyz(6.9934, 12.3138, 4.5925)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20712E #712063
analogous
#3A7120 #20712E #207156
triadic
#20712E #2E2071 #712E20
tetradic
#20712E #203A71 #712063 #715620
square
#20712E #203A71 #712063 #715620
split-complementary
#20712E #562071 #71203A
monochromatic
#07180A #12411B #20712E #2EA141 #42C959

Accessibility & contrast

On white

6.06
#20712E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#20712E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20712E
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20712E#FFFFFF#000000##FFFFFF
##20712E1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736627
Deuteranopia (green-blind)
#696033
Tritanopia (blue-blind)
#026E62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #20712e;
/* rgb */ color: rgb(32, 113, 46);
/* oklch */ color: oklch(48.4% 0.128 146.1);
Tailwind
colors: {
  custom: {
    50: '#689b69',
    500: '#20712e',
    950: '#000000',
  },
}
SCSS
$custom: #20712e;
$custom-light: #689b69;
$custom-dark: #000000;
JSON
{
  "hex": "#20712e",
  "rgb": {
    "r": 32,
    "g": 113,
    "b": 46
  },
  "hsl": {
    "h": 130.37,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4844,
    "c": 0.12754,
    "h": 146.1
  },
  "luminance": 0.12315
}

Semantic roles & 50–950 ramp

primary
#20712E
secondary
#A54895
accent
#49C5DF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #20712E

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

Preview Lab → · Contrast checker → · Palette generator →

#20712E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva