#20712C#20712C

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

Color values

HEX#20712C
RGBrgb(32, 113, 44)
HSLhsl(129, 56%, 28%)
HSVhsv(129, 72%, 44%)
CMYKcmyk(71.7%, 0%, 61.1%, 55.7%)
CIE-LABlab(41.69, -39.52, 30.88)
CIE-LCHlch(41.69, 50.15, 141.99°)
OKLaboklab(48.41% -0.1067 0.0731)
OKLCHoklch(48.41% 0.129 145.6)
XYZxyz(6.9549, 12.2984, 4.3897)
Luminance0.1230 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20712C #712065
analogous
#3C7120 #20712C #207154
triadic
#20712C #2C2071 #712C20
tetradic
#20712C #203C71 #712065 #715420
square
#20712C #203C71 #712065 #715420
split-complementary
#20712C #542071 #71203C
monochromatic
#071809 #124119 #20712C #2EA13F #42C956

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20712C#FFFFFF#000000##FFFFFF
##20712C1.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)
#736625
Deuteranopia (green-blind)
#696032
Tritanopia (blue-blind)
#036E62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #20712c;
/* rgb */ color: rgb(32, 113, 44);
/* oklch */ color: oklch(48.4% 0.129 145.6);
Tailwind
colors: {
  custom: {
    50: '#689b67',
    500: '#20712c',
    950: '#000000',
  },
}
SCSS
$custom: #20712c;
$custom-light: #689b67;
$custom-dark: #000000;
JSON
{
  "hex": "#20712c",
  "rgb": {
    "r": 32,
    "g": 113,
    "b": 44
  },
  "hsl": {
    "h": 128.889,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48412,
    "c": 0.12935,
    "h": 145.6
  },
  "luminance": 0.12299
}

Semantic roles & 50–950 ramp

primary
#20712C
secondary
#A54897
accent
#49C9DF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #20712C

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

Preview Lab → · Contrast checker → · Palette generator →

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