#20831E#20831E

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

Color values

HEX#20831E
RGBrgb(32, 131, 30)
HSLhsl(119, 63%, 32%)
HSVhsv(119, 77%, 51%)
CMYKcmyk(75.6%, 0%, 77.1%, 48.6%)
CIE-LABlab(47.79, -47.53, 43.69)
CIE-LCHlch(47.79, 64.56, 137.42°)
OKLaboklab(53.44% -0.1291 0.0985)
OKLCHoklch(53.44% 0.162 142.7)
XYZxyz(8.9458, 16.6324, 3.9670)
Luminance0.1663 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20831E #811E83
analogous
#53831E #20831E #1E834F
triadic
#20831E #1E2083 #831E20
tetradic
#20831E #1E5383 #811E83 #834F1E
square
#20831E #1E5383 #811E83 #834F1E
split-complementary
#20831E #4F1E83 #831E53
monochromatic
#081F07 #145113 #20831E #2CB529 #49D547

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20831E#FFFFFF#000000##FFFFFF
##20831E1.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)
#867609
Deuteranopia (green-blind)
#7B6E29
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #20831e;
/* rgb */ color: rgb(32, 131, 30);
/* oklch */ color: oklch(53.4% 0.162 142.7);
Tailwind
colors: {
  custom: {
    50: '#6da861',
    500: '#20831e',
    950: '#000000',
  },
}
SCSS
$custom: #20831e;
$custom-light: #6da861;
$custom-dark: #000000;
JSON
{
  "hex": "#20831e",
  "rgb": {
    "r": 32,
    "g": 131,
    "b": 30
  },
  "hsl": {
    "h": 118.812,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53435,
    "c": 0.16242,
    "h": 142.7
  },
  "luminance": 0.16633
}

Semantic roles & 50–950 ramp

primary
#20831E
secondary
#B447B6
accent
#42E6E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #20831E

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

Preview Lab → · Contrast checker → · Palette generator →

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