#20811C#20811C

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

Color values

HEX#20811C
RGBrgb(32, 129, 28)
HSLhsl(118, 64%, 31%)
HSVhsv(118, 78%, 51%)
CMYKcmyk(75.2%, 0%, 78.3%, 49.4%)
CIE-LABlab(47.09, -47.01, 43.72)
CIE-LCHlch(47.09, 64.20, 137.07°)
OKLaboklab(52.85% -0.1278 0.0983)
OKLCHoklch(52.85% 0.161 142.4)
XYZxyz(8.6550, 16.0905, 3.7480)
Luminance0.1609 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20811C #7D1C81
analogous
#52811C #20811C #1C814A
triadic
#20811C #1C2081 #811C20
tetradic
#20811C #1C5281 #7D1C81 #814A1C
square
#20811C #1C5281 #7D1C81 #814A1C
split-complementary
#20811C #4A1C81 #811C52
monochromatic
#071C06 #144F11 #20811C #2CB327 #47D642

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20811C#FFFFFF#000000##FFFFFF
##20811C1.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)
#847405
Deuteranopia (green-blind)
#796D27
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #20811c;
/* rgb */ color: rgb(32, 129, 28);
/* oklch */ color: oklch(52.8% 0.161 142.4);
Tailwind
colors: {
  custom: {
    50: '#6da760',
    500: '#20811c',
    950: '#000000',
  },
}
SCSS
$custom: #20811c;
$custom-light: #6da760;
$custom-dark: #000000;
JSON
{
  "hex": "#20811c",
  "rgb": {
    "r": 32,
    "g": 129,
    "b": 28
  },
  "hsl": {
    "h": 117.624,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52849,
    "c": 0.16124,
    "h": 142.4
  },
  "luminance": 0.16091
}

Semantic roles & 50–950 ramp

primary
#20811C
secondary
#B044B4
accent
#40E7E1
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #20811C

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

Preview Lab → · Contrast checker → · Palette generator →

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