#20811A#20811A

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

Color values

HEX#20811A
RGBrgb(32, 129, 26)
HSLhsl(117, 66%, 30%)
HSVhsv(117, 80%, 51%)
CMYKcmyk(75.2%, 0%, 79.8%, 49.4%)
CIE-LABlab(47.08, -47.15, 44.41)
CIE-LCHlch(47.08, 64.78, 136.71°)
OKLaboklab(52.84% -0.1283 0.0995)
OKLCHoklch(52.84% 0.162 142.2)
XYZxyz(8.6319, 16.0812, 3.6261)
Luminance0.1608 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20811A #7B1A81
analogous
#53811A #20811A #1A8147
triadic
#20811A #1A2081 #811A20
tetradic
#20811A #1A5381 #7B1A81 #81471A
square
#20811A #1A5381 #7B1A81 #81471A
split-complementary
#20811A #471A81 #811A53
monochromatic
#071B05 #134E10 #20811A #2DB424 #46D83D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20811A#FFFFFF#000000##FFFFFF
##20811A1.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)
#847401
Deuteranopia (green-blind)
#796D26
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #20811a;
/* rgb */ color: rgb(32, 129, 26);
/* oklch */ color: oklch(52.8% 0.162 142.2);
Tailwind
colors: {
  custom: {
    50: '#6da75f',
    500: '#20811a',
    950: '#000000',
  },
}
SCSS
$custom: #20811a;
$custom-light: #6da75f;
$custom-dark: #000000;
JSON
{
  "hex": "#20811a",
  "rgb": {
    "r": 32,
    "g": 129,
    "b": 26
  },
  "hsl": {
    "h": 116.505,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52835,
    "c": 0.16234,
    "h": 142.2
  },
  "luminance": 0.16082
}

Semantic roles & 50–950 ramp

primary
#20811A
secondary
#AE42B5
accent
#3EE9DF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #20811A

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

Preview Lab → · Contrast checker → · Palette generator →

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