#20811D#20811D

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

Color values

HEX#20811D
RGBrgb(32, 129, 29)
HSLhsl(118, 63%, 31%)
HSVhsv(118, 78%, 51%)
CMYKcmyk(75.2%, 0%, 77.5%, 49.4%)
CIE-LABlab(47.10, -46.93, 43.36)
CIE-LCHlch(47.10, 63.90, 137.26°)
OKLaboklab(52.86% -0.1275 0.0977)
OKLCHoklch(52.86% 0.161 142.5)
XYZxyz(8.6672, 16.0953, 3.8121)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20811D #7E1D81
analogous
#52811D #20811D #1D814C
triadic
#20811D #1D2081 #811D20
tetradic
#20811D #1D5281 #7E1D81 #814C1D
square
#20811D #1D5281 #7E1D81 #814C1D
split-complementary
#20811D #4C1D81 #811D52
monochromatic
#071D07 #144F12 #20811D #2CB328 #48D544

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20811D#FFFFFF#000000##FFFFFF
##20811D1.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)
#847408
Deuteranopia (green-blind)
#796D28
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #20811d;
/* rgb */ color: rgb(32, 129, 29);
/* oklch */ color: oklch(52.9% 0.161 142.5);
Tailwind
colors: {
  custom: {
    50: '#6ca761',
    500: '#20811d',
    950: '#000000',
  },
}
SCSS
$custom: #20811d;
$custom-light: #6ca761;
$custom-dark: #000000;
JSON
{
  "hex": "#20811d",
  "rgb": {
    "r": 32,
    "g": 129,
    "b": 29
  },
  "hsl": {
    "h": 118.2,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52857,
    "c": 0.16065,
    "h": 142.5
  },
  "luminance": 0.16096
}

Semantic roles & 50–950 ramp

primary
#20811D
secondary
#B146B4
accent
#41E6E1
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #20811D

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

Preview Lab → · Contrast checker → · Palette generator →

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