#20831C#20831C

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

Color values

HEX#20831C
RGBrgb(32, 131, 28)
HSLhsl(118, 65%, 31%)
HSVhsv(118, 79%, 51%)
CMYKcmyk(75.6%, 0%, 78.6%, 48.6%)
CIE-LABlab(47.78, -47.69, 44.40)
CIE-LCHlch(47.78, 65.16, 137.05°)
OKLaboklab(53.42% -0.1297 0.0997)
OKLCHoklch(53.42% 0.164 142.4)
XYZxyz(8.9210, 16.6225, 3.8367)
Luminance0.1662 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20831C #7F1C83
analogous
#53831C #20831C #1C834B
triadic
#20831C #1C2083 #831C20
tetradic
#20831C #1C5383 #7F1C83 #834B1C
square
#20831C #1C5383 #7F1C83 #834B1C
split-complementary
#20831C #4B1C83 #831C53
monochromatic
#071E06 #145111 #20831C #2CB527 #48D743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20831C#FFFFFF#000000##FFFFFF
##20831C1.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)
#867604
Deuteranopia (green-blind)
#7B6E28
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #20831c;
/* rgb */ color: rgb(32, 131, 28);
/* oklch */ color: oklch(53.4% 0.164 142.4);
Tailwind
colors: {
  custom: {
    50: '#6da860',
    500: '#20831c',
    950: '#000000',
  },
}
SCSS
$custom: #20831c;
$custom-light: #6da860;
$custom-dark: #000000;
JSON
{
  "hex": "#20831c",
  "rgb": {
    "r": 32,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 117.67,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53421,
    "c": 0.16357,
    "h": 142.4
  },
  "luminance": 0.16624
}

Semantic roles & 50–950 ramp

primary
#20831C
secondary
#B245B6
accent
#40E8E1
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #20831C

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

Preview Lab → · Contrast checker → · Palette generator →

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