#20712A#20712A

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

Color values

HEX#20712A
RGBrgb(32, 113, 42)
HSLhsl(127, 56%, 28%)
HSVhsv(127, 72%, 44%)
CMYKcmyk(71.7%, 0%, 62.8%, 55.7%)
CIE-LABlab(41.66, -39.79, 31.86)
CIE-LCHlch(41.66, 50.97, 141.31°)
OKLaboklab(48.39% -0.1075 0.075)
OKLCHoklch(48.39% 0.131 145.1)
XYZxyz(6.9183, 12.2838, 4.1964)
Luminance0.1228 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20712A #712067
analogous
#3E7120 #20712A #207152
triadic
#20712A #2A2071 #712A20
tetradic
#20712A #203E71 #712067 #715220
square
#20712A #203E71 #712067 #715220
split-complementary
#20712A #522071 #71203E
monochromatic
#071809 #124118 #20712A #2EA13C #42C953

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20712A#FFFFFF#000000##FFFFFF
##20712A1.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)
#736622
Deuteranopia (green-blind)
#696030
Tritanopia (blue-blind)
#046E62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #20712a;
/* rgb */ color: rgb(32, 113, 42);
/* oklch */ color: oklch(48.4% 0.131 145.1);
Tailwind
colors: {
  custom: {
    50: '#689b66',
    500: '#20712a',
    950: '#000000',
  },
}
SCSS
$custom: #20712a;
$custom-light: #689b66;
$custom-dark: #000000;
JSON
{
  "hex": "#20712a",
  "rgb": {
    "r": 32,
    "g": 113,
    "b": 42
  },
  "hsl": {
    "h": 127.407,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48386,
    "c": 0.13112,
    "h": 145.1
  },
  "luminance": 0.12284
}

Semantic roles & 50–950 ramp

primary
#20712A
secondary
#A54899
accent
#49CDDF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #20712A

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

Preview Lab → · Contrast checker → · Palette generator →

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