#20802A#20802A

#20802A is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.151 H 144.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#20802A
RGBrgb(32, 128, 42)
HSLhsl(126, 60%, 31%)
HSVhsv(126, 75%, 50%)
CMYKcmyk(75%, 0%, 67.2%, 49.8%)
CIE-LABlab(46.86, -45.33, 37.72)
CIE-LCHlch(46.86, 58.97, 140.23°)
OKLaboklab(52.69% -0.1226 0.0875)
OKLCHoklch(52.69% 0.151 144.5)
XYZxyz(8.7322, 15.9116, 4.8011)
Luminance0.1591 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20802A #802076
analogous
#468020 #20802A #20805A
triadic
#20802A #2A2080 #802A20
tetradic
#20802A #204680 #802076 #805A20
square
#20802A #204680 #802076 #805A20
split-complementary
#20802A #5A2080 #802046
monochromatic
#081E0A #144F1A #20802A #2CB13A #49D157

Accessibility & contrast

On white

5.02
#20802A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#20802A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20802A
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20802A#FFFFFF#000000##FFFFFF
##20802A1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82741F
Deuteranopia (green-blind)
#776C32
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #20802a;
/* rgb */ color: rgb(32, 128, 42);
/* oklch */ color: oklch(52.7% 0.151 144.5);
Tailwind
colors: {
  custom: {
    50: '#6ca668',
    500: '#20802a',
    950: '#000000',
  },
}
SCSS
$custom: #20802a;
$custom-light: #6ca668;
$custom-dark: #000000;
JSON
{
  "hex": "#20802a",
  "rgb": {
    "r": 32,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 126.25,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5269,
    "c": 0.1506,
    "h": 144.5
  },
  "luminance": 0.15913
}

Semantic roles & 50–950 ramp

primary
#20802A
secondary
#B349A8
accent
#45D3E3
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #20802A

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

Preview Lab → · Contrast checker → · Palette generator →

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