#20711B#20711B

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

Color values

HEX#20711B
RGBrgb(32, 113, 27)
HSLhsl(117, 61%, 27%)
HSVhsv(117, 76%, 44%)
CMYKcmyk(71.7%, 0%, 76.1%, 55.7%)
CIE-LABlab(41.53, -41.43, 38.52)
CIE-LCHlch(41.53, 56.57, 137.08°)
OKLaboklab(48.23% -0.1128 0.0873)
OKLCHoklch(48.23% 0.143 142.2)
XYZxyz(6.6982, 12.1958, 3.0377)
Luminance0.1220 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20711B #6C1B71
analogous
#4B711B #20711B #1B7141
triadic
#20711B #1B2071 #711B20
tetradic
#20711B #1B4B71 #6C1B71 #71411B
square
#20711B #1B4B71 #6C1B71 #71411B
split-complementary
#20711B #411B71 #711B4B
monochromatic
#071906 #12400F #20711B #2EA227 #40CF37

Accessibility & contrast

On white

6.11
#20711B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #20711B
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20711B#FFFFFF#000000##FFFFFF
##20711B1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20711b;
/* rgb */ color: rgb(32, 113, 27);
/* oklch */ color: oklch(48.2% 0.143 142.2);
Tailwind
colors: {
  custom: {
    50: '#699b5d',
    500: '#20711b',
    950: '#000000',
  },
}
SCSS
$custom: #20711b;
$custom-light: #699b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#20711b",
  "rgb": {
    "r": 32,
    "g": 113,
    "b": 27
  },
  "hsl": {
    "h": 116.512,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48227,
    "c": 0.14261,
    "h": 142.2
  },
  "luminance": 0.12196
}

Semantic roles & 50–950 ramp

primary
#20711B
secondary
#A042A6
accent
#43E5DB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #20711B

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

Preview Lab → · Contrast checker → · Palette generator →

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