#20811B#20811B

#20811B is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.8% C 0.162 H 142.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#20811B
RGBrgb(32, 129, 27)
HSLhsl(117, 65%, 31%)
HSVhsv(117, 79%, 51%)
CMYKcmyk(75.2%, 0%, 79.1%, 49.4%)
CIE-LABlab(47.09, -47.08, 44.07)
CIE-LCHlch(47.09, 64.49, 136.89°)
OKLaboklab(52.84% -0.1281 0.0989)
OKLCHoklch(52.84% 0.162 142.3)
XYZxyz(8.6432, 16.0858, 3.6860)
Luminance0.1609 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20811B #7C1B81
analogous
#53811B #20811B #1B8149
triadic
#20811B #1B2081 #811B20
tetradic
#20811B #1B5381 #7C1B81 #81491B
square
#20811B #1B5381 #7C1B81 #81491B
split-complementary
#20811B #491B81 #811B53
monochromatic
#071C06 #134E10 #20811B #2DB426 #47D73F

Accessibility & contrast

On white

4.98
#20811B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#20811B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20811B
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20811B#FFFFFF#000000##FFFFFF
##20811B1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847403
Deuteranopia (green-blind)
#796D27
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #20811b;
/* rgb */ color: rgb(32, 129, 27);
/* oklch */ color: oklch(52.8% 0.162 142.3);
Tailwind
colors: {
  custom: {
    50: '#6da760',
    500: '#20811b',
    950: '#000000',
  },
}
SCSS
$custom: #20811b;
$custom-light: #6da760;
$custom-dark: #000000;
JSON
{
  "hex": "#20811b",
  "rgb": {
    "r": 32,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 117.059,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52842,
    "c": 0.16179,
    "h": 142.3
  },
  "luminance": 0.16087
}

Semantic roles & 50–950 ramp

primary
#20811B
secondary
#AF43B5
accent
#3FE8E0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #20811B

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

Preview Lab → · Contrast checker → · Palette generator →

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