#20811E#20811E

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

Color values

HEX#20811E
RGBrgb(32, 129, 30)
HSLhsl(119, 62%, 31%)
HSVhsv(119, 77%, 51%)
CMYKcmyk(75.2%, 0%, 76.7%, 49.4%)
CIE-LABlab(47.11, -46.85, 43.00)
CIE-LCHlch(47.11, 63.59, 137.45°)
OKLaboklab(52.86% -0.1273 0.0971)
OKLCHoklch(52.86% 0.16 142.7)
XYZxyz(8.6797, 16.1004, 3.8783)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20811E #7F1E81
analogous
#51811E #20811E #1E814D
triadic
#20811E #1E2081 #811E20
tetradic
#20811E #1E5181 #7F1E81 #814D1E
square
#20811E #1E5181 #7F1E81 #814D1E
split-complementary
#20811E #4D1E81 #811E51
monochromatic
#071E07 #144F12 #20811E #2CB32A #48D446

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #20811e;
/* rgb */ color: rgb(32, 129, 30);
/* oklch */ color: oklch(52.9% 0.160 142.7);
Tailwind
colors: {
  custom: {
    50: '#6ca761',
    500: '#20811e',
    950: '#000000',
  },
}
SCSS
$custom: #20811e;
$custom-light: #6ca761;
$custom-dark: #000000;
JSON
{
  "hex": "#20811e",
  "rgb": {
    "r": 32,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 118.788,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52864,
    "c": 0.16007,
    "h": 142.7
  },
  "luminance": 0.16101
}

Semantic roles & 50–950 ramp

primary
#20811E
secondary
#B247B4
accent
#42E5E2
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #20811E

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

Preview Lab → · Contrast checker → · Palette generator →

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