#20712F#20712F

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

Color values

HEX#20712F
RGBrgb(32, 113, 47)
HSLhsl(131, 56%, 28%)
HSVhsv(131, 72%, 44%)
CMYKcmyk(71.7%, 0%, 58.4%, 55.7%)
CIE-LABlab(41.72, -39.09, 29.38)
CIE-LCHlch(41.72, 48.90, 143.07°)
OKLaboklab(48.45% -0.1055 0.0701)
OKLCHoklch(48.45% 0.127 146.4)
XYZxyz(7.0134, 12.3218, 4.6975)
Luminance0.1232 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20712F #712062
analogous
#397120 #20712F #207157
triadic
#20712F #2F2071 #712F20
tetradic
#20712F #203971 #712062 #715720
square
#20712F #203971 #712062 #715720
split-complementary
#20712F #572071 #712039
monochromatic
#07180A #12411B #20712F #2EA143 #42C95B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20712F#FFFFFF#000000##FFFFFF
##20712F1.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)
#736729
Deuteranopia (green-blind)
#696034
Tritanopia (blue-blind)
#016E62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #20712f;
/* rgb */ color: rgb(32, 113, 47);
/* oklch */ color: oklch(48.5% 0.127 146.4);
Tailwind
colors: {
  custom: {
    50: '#689b69',
    500: '#20712f',
    950: '#000000',
  },
}
SCSS
$custom: #20712f;
$custom-light: #689b69;
$custom-dark: #000000;
JSON
{
  "hex": "#20712f",
  "rgb": {
    "r": 32,
    "g": 113,
    "b": 47
  },
  "hsl": {
    "h": 131.111,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48454,
    "c": 0.12661,
    "h": 146.4
  },
  "luminance": 0.12323
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20712F

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

Preview Lab → · Contrast checker → · Palette generator →

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