#20831D#20831D

#20831D is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.4% C 0.163 H 142.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#20831D
RGBrgb(32, 131, 29)
HSLhsl(118, 64%, 31%)
HSVhsv(118, 78%, 51%)
CMYKcmyk(75.6%, 0%, 77.9%, 48.6%)
CIE-LABlab(47.79, -47.61, 44.05)
CIE-LCHlch(47.79, 64.86, 137.23°)
OKLaboklab(53.43% -0.1294 0.0991)
OKLCHoklch(53.43% 0.163 142.5)
XYZxyz(8.9332, 16.6274, 3.9008)
Luminance0.1663 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20831D #801D83
analogous
#53831D #20831D #1D834D
triadic
#20831D #1D2083 #831D20
tetradic
#20831D #1D5383 #801D83 #834D1D
square
#20831D #1D5383 #801D83 #834D1D
split-complementary
#20831D #4D1D83 #831D53
monochromatic
#081F07 #145112 #20831D #2CB528 #49D645

Accessibility & contrast

On white

4.85
#20831D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#20831D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20831D
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20831D#FFFFFF#000000##FFFFFF
##20831D1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867606
Deuteranopia (green-blind)
#7B6E28
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #20831d;
/* rgb */ color: rgb(32, 131, 29);
/* oklch */ color: oklch(53.4% 0.163 142.5);
Tailwind
colors: {
  custom: {
    50: '#6da861',
    500: '#20831d',
    950: '#000000',
  },
}
SCSS
$custom: #20831d;
$custom-light: #6da861;
$custom-dark: #000000;
JSON
{
  "hex": "#20831d",
  "rgb": {
    "r": 32,
    "g": 131,
    "b": 29
  },
  "hsl": {
    "h": 118.235,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53428,
    "c": 0.163,
    "h": 142.5
  },
  "luminance": 0.16628
}

Semantic roles & 50–950 ramp

primary
#20831D
secondary
#B346B6
accent
#41E7E2
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #20831D

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

Preview Lab → · Contrast checker → · Palette generator →

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