#20711C#20711C

#20711C is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.2% C 0.142 H 142.4°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#20711C
RGBrgb(32, 113, 28)
HSLhsl(117, 60%, 28%)
HSVhsv(117, 75%, 44%)
CMYKcmyk(71.7%, 0%, 75.2%, 55.7%)
CIE-LABlab(41.53, -41.34, 38.13)
CIE-LCHlch(41.53, 56.24, 137.32°)
OKLaboklab(48.24% -0.1125 0.0866)
OKLCHoklch(48.24% 0.142 142.4)
XYZxyz(6.7100, 12.2005, 3.0997)
Luminance0.1220 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20711C #6D1C71
analogous
#4B711C #20711C #1C7142
triadic
#20711C #1C2071 #711C20
tetradic
#20711C #1C4B71 #6D1C71 #71421C
square
#20711C #1C4B71 #6D1C71 #71421C
split-complementary
#20711C #421C71 #711C4B
monochromatic
#071906 #124010 #20711C #2EA228 #40CE39

Accessibility & contrast

On white

6.10
#20711C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#20711C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20711C
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20711C#FFFFFF#000000##FFFFFF
##20711C1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74660E
Deuteranopia (green-blind)
#6A5F25
Tritanopia (blue-blind)
#0B6D60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #20711c;
/* rgb */ color: rgb(32, 113, 28);
/* oklch */ color: oklch(48.2% 0.142 142.4);
Tailwind
colors: {
  custom: {
    50: '#699b5e',
    500: '#20711c',
    950: '#000000',
  },
}
SCSS
$custom: #20711c;
$custom-light: #699b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#20711c",
  "rgb": {
    "r": 32,
    "g": 113,
    "b": 28
  },
  "hsl": {
    "h": 117.176,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.48236,
    "c": 0.14195,
    "h": 142.4
  },
  "luminance": 0.12201
}

Semantic roles & 50–950 ramp

primary
#20711C
secondary
#A143A6
accent
#44E3DC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #20711C

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

Preview Lab → · Contrast checker → · Palette generator →

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