#20851A#20851A

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

Color values

HEX#20851A
RGBrgb(32, 133, 26)
HSLhsl(117, 67%, 31%)
HSVhsv(117, 80%, 52%)
CMYKcmyk(75.9%, 0%, 80.5%, 47.8%)
CIE-LABlab(48.46, -48.51, 45.74)
CIE-LCHlch(48.46, 66.68, 136.68°)
OKLaboklab(53.98% -0.132 0.1022)
OKLCHoklch(53.98% 0.167 142.2)
XYZxyz(9.1691, 17.1557, 3.8052)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20851A #7F1A85
analogous
#55851A #20851A #1A8549
triadic
#20851A #1A2085 #851A20
tetradic
#20851A #1A5585 #7F1A85 #85491A
square
#20851A #1A5585 #7F1A85 #85491A
split-complementary
#20851A #491A85 #851A55
monochromatic
#071F06 #145210 #20851A #2CB824 #48DA40

Accessibility & contrast

On white

4.74
#20851A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#20851A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20851A
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20851A#FFFFFF#000000##FFFFFF
##20851A1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20851a;
/* rgb */ color: rgb(32, 133, 26);
/* oklch */ color: oklch(54.0% 0.167 142.2);
Tailwind
colors: {
  custom: {
    50: '#6eaa60',
    500: '#20851a',
    950: '#000000',
  },
}
SCSS
$custom: #20851a;
$custom-light: #6eaa60;
$custom-dark: #000000;
JSON
{
  "hex": "#20851a",
  "rgb": {
    "r": 32,
    "g": 133,
    "b": 26
  },
  "hsl": {
    "h": 116.636,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53978,
    "c": 0.16694,
    "h": 142.2
  },
  "luminance": 0.17157
}

Semantic roles & 50–950 ramp

primary
#20851A
secondary
#B242B8
accent
#3EEAE1
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #20851A

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

Preview Lab → · Contrast checker → · Palette generator →

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