#20811F#20811F

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

Color values

HEX#20811F
RGBrgb(32, 129, 31)
HSLhsl(119, 61%, 31%)
HSVhsv(119, 76%, 51%)
CMYKcmyk(75.2%, 0%, 76%, 49.4%)
CIE-LABlab(47.11, -46.76, 42.63)
CIE-LCHlch(47.11, 63.28, 137.65°)
OKLaboklab(52.87% -0.127 0.0964)
OKLCHoklch(52.87% 0.159 142.8)
XYZxyz(8.6927, 16.1055, 3.9466)
Luminance0.1611 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20811F #801F81
analogous
#51811F #20811F #1F814F
triadic
#20811F #1F2081 #811F20
tetradic
#20811F #1F5181 #801F81 #814F1F
square
#20811F #1F5181 #801F81 #814F1F
split-complementary
#20811F #4F1F81 #811F51
monochromatic
#081E07 #145013 #20811F #2CB22B #49D347

Accessibility & contrast

On white

4.97
#20811F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #20811F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20811F#FFFFFF#000000##FFFFFF
##20811F1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84740C
Deuteranopia (green-blind)
#796D29
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #20811f;
/* rgb */ color: rgb(32, 129, 31);
/* oklch */ color: oklch(52.9% 0.159 142.8);
Tailwind
colors: {
  custom: {
    50: '#6ca762',
    500: '#20811f',
    950: '#000000',
  },
}
SCSS
$custom: #20811f;
$custom-light: #6ca762;
$custom-dark: #000000;
JSON
{
  "hex": "#20811f",
  "rgb": {
    "r": 32,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 119.388,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52872,
    "c": 0.15947,
    "h": 142.8
  },
  "luminance": 0.16107
}

Semantic roles & 50–950 ramp

primary
#20811F
secondary
#B348B4
accent
#43E4E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #20811F

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

Preview Lab → · Contrast checker → · Palette generator →

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