#20802B#20802B

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

Color values

HEX#20802B
RGBrgb(32, 128, 43)
HSLhsl(127, 60%, 31%)
HSVhsv(127, 75%, 50%)
CMYKcmyk(75%, 0%, 66.4%, 49.8%)
CIE-LABlab(46.87, -45.21, 37.27)
CIE-LCHlch(46.87, 58.59, 140.50°)
OKLaboklab(52.7% -0.1222 0.0867)
OKLCHoklch(52.7% 0.15 144.7)
XYZxyz(8.7503, 15.9189, 4.8965)
Luminance0.1592 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20802B #802075
analogous
#458020 #20802B #20805B
triadic
#20802B #2B2080 #802B20
tetradic
#20802B #204580 #802075 #805B20
square
#20802B #204580 #802075 #805B20
split-complementary
#20802B #5B2080 #802045
monochromatic
#081E0A #144F1B #20802B #2CB13B #49D159

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20802B#FFFFFF#000000##FFFFFF
##20802B1.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)
#827421
Deuteranopia (green-blind)
#776C33
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #20802b;
/* rgb */ color: rgb(32, 128, 43);
/* oklch */ color: oklch(52.7% 0.150 144.7);
Tailwind
colors: {
  custom: {
    50: '#6ba668',
    500: '#20802b',
    950: '#000000',
  },
}
SCSS
$custom: #20802b;
$custom-light: #6ba668;
$custom-dark: #000000;
JSON
{
  "hex": "#20802b",
  "rgb": {
    "r": 32,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 126.875,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52701,
    "c": 0.14982,
    "h": 144.7
  },
  "luminance": 0.1592
}

Semantic roles & 50–950 ramp

primary
#20802B
secondary
#B349A7
accent
#45D1E3
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #20802B

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

Preview Lab → · Contrast checker → · Palette generator →

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