#20831A#20831A

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

Color values

HEX#20831A
RGBrgb(32, 131, 26)
HSLhsl(117, 67%, 31%)
HSVhsv(117, 80%, 51%)
CMYKcmyk(75.6%, 0%, 80.2%, 48.6%)
CIE-LABlab(47.77, -47.84, 45.08)
CIE-LCHlch(47.77, 65.73, 136.70°)
OKLaboklab(53.41% -0.1301 0.1008)
OKLCHoklch(53.41% 0.165 142.2)
XYZxyz(8.8979, 16.6133, 3.7148)
Luminance0.1661 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20831A #7D1A83
analogous
#54831A #20831A #1A8348
triadic
#20831A #1A2083 #831A20
tetradic
#20831A #1A5483 #7D1A83 #83481A
square
#20831A #1A5483 #7D1A83 #83481A
split-complementary
#20831A #481A83 #831A54
monochromatic
#071D06 #145010 #20831A #2CB624 #47D93F

Accessibility & contrast

On white

4.86
#20831A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#20831A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20831A
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20831A#FFFFFF#000000##FFFFFF
##20831A1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7B6E26
Tritanopia (blue-blind)
#007F6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #20831a;
/* rgb */ color: rgb(32, 131, 26);
/* oklch */ color: oklch(53.4% 0.165 142.2);
Tailwind
colors: {
  custom: {
    50: '#6da85f',
    500: '#20831a',
    950: '#000000',
  },
}
SCSS
$custom: #20831a;
$custom-light: #6da85f;
$custom-dark: #000000;
JSON
{
  "hex": "#20831a",
  "rgb": {
    "r": 32,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 116.571,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53407,
    "c": 0.16464,
    "h": 142.2
  },
  "luminance": 0.16614
}

Semantic roles & 50–950 ramp

primary
#20831A
secondary
#B042B7
accent
#3EEAE0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #20831A

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

Preview Lab → · Contrast checker → · Palette generator →

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