#20831F#20831F

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

Color values

HEX#20831F
RGBrgb(32, 131, 31)
HSLhsl(119, 62%, 32%)
HSVhsv(119, 76%, 51%)
CMYKcmyk(75.6%, 0%, 76.3%, 48.6%)
CIE-LABlab(47.80, -47.45, 43.32)
CIE-LCHlch(47.80, 64.25, 137.61°)
OKLaboklab(53.44% -0.1289 0.0979)
OKLCHoklch(53.44% 0.162 142.8)
XYZxyz(8.9587, 16.6376, 4.0353)
Luminance0.1664 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20831F #821F83
analogous
#52831F #20831F #1F8350
triadic
#20831F #1F2083 #831F20
tetradic
#20831F #1F5283 #821F83 #83501F
square
#20831F #1F5283 #821F83 #83501F
split-complementary
#20831F #501F83 #831F52
monochromatic
#082008 #145213 #20831F #2CB42B #4AD449

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20831F#FFFFFF#000000##FFFFFF
##20831F1.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)
#86760B
Deuteranopia (green-blind)
#7B6E2A
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #20831f;
/* rgb */ color: rgb(32, 131, 31);
/* oklch */ color: oklch(53.4% 0.162 142.8);
Tailwind
colors: {
  custom: {
    50: '#6da862',
    500: '#20831f',
    950: '#000000',
  },
}
SCSS
$custom: #20831f;
$custom-light: #6da862;
$custom-dark: #000000;
JSON
{
  "hex": "#20831f",
  "rgb": {
    "r": 32,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 119.4,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53443,
    "c": 0.16183,
    "h": 142.8
  },
  "luminance": 0.16639
}

Semantic roles & 50–950 ramp

primary
#20831F
secondary
#B548B6
accent
#43E5E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #20831F

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

Preview Lab → · Contrast checker → · Palette generator →

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