#20851E#20851E

#20851E is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.0% C 0.165 H 142.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#20851E
RGBrgb(32, 133, 30)
HSLhsl(119, 63%, 32%)
HSVhsv(119, 77%, 52%)
CMYKcmyk(75.9%, 0%, 77.4%, 47.8%)
CIE-LABlab(48.48, -48.22, 44.37)
CIE-LCHlch(48.48, 65.52, 137.38°)
OKLaboklab(54.01% -0.131 0.0999)
OKLCHoklch(54.01% 0.165 142.7)
XYZxyz(9.2170, 17.1748, 4.0574)
Luminance0.1718 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20851E #831E85
analogous
#54851E #20851E #1E8550
triadic
#20851E #1E2085 #851E20
tetradic
#20851E #1E5485 #831E85 #85501E
square
#20851E #1E5485 #831E85 #85501E
split-complementary
#20851E #501E85 #851E54
monochromatic
#082107 #145313 #20851E #2CB729 #4AD648

Accessibility & contrast

On white

4.73
#20851E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#20851E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20851E
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20851E#FFFFFF#000000##FFFFFF
##20851E1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887808
Deuteranopia (green-blind)
#7D7029
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #20851e;
/* rgb */ color: rgb(32, 133, 30);
/* oklch */ color: oklch(54.0% 0.165 142.7);
Tailwind
colors: {
  custom: {
    50: '#6daa62',
    500: '#20851e',
    950: '#000000',
  },
}
SCSS
$custom: #20851e;
$custom-light: #6daa62;
$custom-dark: #000000;
JSON
{
  "hex": "#20851e",
  "rgb": {
    "r": 32,
    "g": 133,
    "b": 30
  },
  "hsl": {
    "h": 118.835,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54005,
    "c": 0.16475,
    "h": 142.7
  },
  "luminance": 0.17176
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20851E

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

Preview Lab → · Contrast checker → · Palette generator →

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