#20851F#20851F

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

Color values

HEX#20851F
RGBrgb(32, 133, 31)
HSLhsl(119, 62%, 32%)
HSVhsv(119, 77%, 52%)
CMYKcmyk(75.9%, 0%, 76.7%, 47.8%)
CIE-LABlab(48.49, -48.14, 44.01)
CIE-LCHlch(48.49, 65.22, 137.56°)
OKLaboklab(54.01% -0.1307 0.0993)
OKLCHoklch(54.01% 0.164 142.8)
XYZxyz(9.2300, 17.1800, 4.1257)
Luminance0.1718 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20851F #841F85
analogous
#53851F #20851F #1F8551
triadic
#20851F #1F2085 #851F20
tetradic
#20851F #1F5385 #841F85 #85511F
square
#20851F #1F5385 #841F85 #85511F
split-complementary
#20851F #511F85 #851F53
monochromatic
#082208 #145313 #20851F #2CB72B #4BD54A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20851F#FFFFFF#000000##FFFFFF
##20851F1.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)
#88780A
Deuteranopia (green-blind)
#7D702A
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #20851f;
/* rgb */ color: rgb(32, 133, 31);
/* oklch */ color: oklch(54.0% 0.164 142.8);
Tailwind
colors: {
  custom: {
    50: '#6daa62',
    500: '#20851f',
    950: '#000000',
  },
}
SCSS
$custom: #20851f;
$custom-light: #6daa62;
$custom-dark: #000000;
JSON
{
  "hex": "#20851f",
  "rgb": {
    "r": 32,
    "g": 133,
    "b": 31
  },
  "hsl": {
    "h": 119.412,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54013,
    "c": 0.16417,
    "h": 142.8
  },
  "luminance": 0.17181
}

Semantic roles & 50–950 ramp

primary
#20851F
secondary
#B649B7
accent
#43E5E4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #20851F

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

Preview Lab → · Contrast checker → · Palette generator →

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