#20712D#20712D

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

Color values

HEX#20712D
RGBrgb(32, 113, 45)
HSLhsl(130, 56%, 28%)
HSVhsv(130, 72%, 44%)
CMYKcmyk(71.7%, 0%, 60.2%, 55.7%)
CIE-LABlab(41.70, -39.38, 30.38)
CIE-LCHlch(41.70, 49.74, 142.35°)
OKLaboklab(48.43% -0.1063 0.0721)
OKLCHoklch(48.43% 0.128 145.9)
XYZxyz(6.9740, 12.3060, 4.4899)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20712D #712064
analogous
#3B7120 #20712D #207155
triadic
#20712D #2D2071 #712D20
tetradic
#20712D #203B71 #712064 #715520
square
#20712D #203B71 #712064 #715520
split-complementary
#20712D #552071 #71203B
monochromatic
#071809 #12411A #20712D #2EA140 #42C958

Accessibility & contrast

On white

6.07
#20712D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #20712D
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20712D#FFFFFF#000000##FFFFFF
##20712D1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736626
Deuteranopia (green-blind)
#696032
Tritanopia (blue-blind)
#036E62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #20712d;
/* rgb */ color: rgb(32, 113, 45);
/* oklch */ color: oklch(48.4% 0.128 145.9);
Tailwind
colors: {
  custom: {
    50: '#689b68',
    500: '#20712d',
    950: '#000000',
  },
}
SCSS
$custom: #20712d;
$custom-light: #689b68;
$custom-dark: #000000;
JSON
{
  "hex": "#20712d",
  "rgb": {
    "r": 32,
    "g": 113,
    "b": 45
  },
  "hsl": {
    "h": 129.63,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48426,
    "c": 0.12845,
    "h": 145.9
  },
  "luminance": 0.12307
}

Semantic roles & 50–950 ramp

primary
#20712D
secondary
#A54896
accent
#49C7DF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #20712D

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

Preview Lab → · Contrast checker → · Palette generator →

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