#20861C#20861C

#20861C is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.167 H 142.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#20861C
RGBrgb(32, 134, 28)
HSLhsl(118, 65%, 32%)
HSVhsv(118, 79%, 53%)
CMYKcmyk(76.1%, 0%, 79.1%, 47.5%)
CIE-LABlab(48.81, -48.71, 45.40)
CIE-LCHlch(48.81, 66.59, 137.01°)
OKLaboklab(54.28% -0.1324 0.1018)
OKLCHoklch(54.28% 0.167 142.4)
XYZxyz(9.3298, 17.4400, 3.9730)
Luminance0.1744 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20861C #821C86
analogous
#55861C #20861C #1C864D
triadic
#20861C #1C2086 #861C20
tetradic
#20861C #1C5586 #821C86 #864D1C
square
#20861C #1C5586 #821C86 #864D1C
split-complementary
#20861C #4D1C86 #861C55
monochromatic
#082107 #145311 #20861C #2CB927 #4AD844

Accessibility & contrast

On white

4.68
#20861C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#20861C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20861C
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20861C#FFFFFF#000000##FFFFFF
##20861C1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897902
Deuteranopia (green-blind)
#7E7128
Tritanopia (blue-blind)
#008272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #20861c;
/* rgb */ color: rgb(32, 134, 28);
/* oklch */ color: oklch(54.3% 0.167 142.4);
Tailwind
colors: {
  custom: {
    50: '#6eaa61',
    500: '#20861c',
    950: '#000000',
  },
}
SCSS
$custom: #20861c;
$custom-light: #6eaa61;
$custom-dark: #000000;
JSON
{
  "hex": "#20861c",
  "rgb": {
    "r": 32,
    "g": 134,
    "b": 28
  },
  "hsl": {
    "h": 117.736,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54275,
    "c": 0.16703,
    "h": 142.4
  },
  "luminance": 0.17441
}

Semantic roles & 50–950 ramp

primary
#20861C
secondary
#B545B9
accent
#3FE8E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #20861C

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

Preview Lab → · Contrast checker → · Palette generator →

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