#20711F#20711F

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

Color values

HEX#20711F
RGBrgb(32, 113, 31)
HSLhsl(119, 57%, 28%)
HSVhsv(119, 73%, 44%)
CMYKcmyk(71.7%, 0%, 72.6%, 55.7%)
CIE-LABlab(41.56, -41.05, 36.89)
CIE-LCHlch(41.56, 55.19, 138.06°)
OKLaboklab(48.26% -0.1115 0.0844)
OKLCHoklch(48.26% 0.14 142.9)
XYZxyz(6.7477, 12.2155, 3.2983)
Luminance0.1222 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20711F #701F71
analogous
#49711F #20711F #1F7147
triadic
#20711F #1F2071 #711F20
tetradic
#20711F #1F4971 #701F71 #71471F
square
#20711F #1F4971 #701F71 #71471F
split-complementary
#20711F #471F71 #711F49
monochromatic
#071807 #124112 #20711F #2EA12C #42CB40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20711F#FFFFFF#000000##FFFFFF
##20711F1.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)
#746613
Deuteranopia (green-blind)
#6A6027
Tritanopia (blue-blind)
#0A6E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #20711f;
/* rgb */ color: rgb(32, 113, 31);
/* oklch */ color: oklch(48.3% 0.140 142.9);
Tailwind
colors: {
  custom: {
    50: '#689b60',
    500: '#20711f',
    950: '#000000',
  },
}
SCSS
$custom: #20711f;
$custom-light: #689b60;
$custom-dark: #000000;
JSON
{
  "hex": "#20711f",
  "rgb": {
    "r": 32,
    "g": 113,
    "b": 31
  },
  "hsl": {
    "h": 119.268,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48263,
    "c": 0.13989,
    "h": 142.9
  },
  "luminance": 0.12216
}

Semantic roles & 50–950 ramp

primary
#20711F
secondary
#A447A5
accent
#48E0DE
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #20711F

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

Preview Lab → · Contrast checker → · Palette generator →

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