#20802D#20802D

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

Color values

HEX#20802D
RGBrgb(32, 128, 45)
HSLhsl(128, 60%, 31%)
HSVhsv(128, 75%, 50%)
CMYKcmyk(75%, 0%, 64.8%, 49.8%)
CIE-LABlab(46.89, -44.98, 36.36)
CIE-LCHlch(46.89, 57.83, 141.05°)
OKLaboklab(52.72% -0.1215 0.085)
OKLCHoklch(52.72% 0.148 145)
XYZxyz(8.7879, 15.9339, 5.0945)
Luminance0.1593 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20802D #802073
analogous
#438020 #20802D #20805D
triadic
#20802D #2D2080 #802D20
tetradic
#20802D #204380 #802073 #805D20
square
#20802D #204380 #802073 #805D20
split-complementary
#20802D #5D2080 #802043
monochromatic
#081E0B #144F1C #20802D #2CB13E #49D15B

Accessibility & contrast

On white

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

On black

4.19
#20802D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##20802D#FFFFFF#000000##FFFFFF
##20802D1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827423
Deuteranopia (green-blind)
#776C34
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #20802d;
/* rgb */ color: rgb(32, 128, 45);
/* oklch */ color: oklch(52.7% 0.148 145.0);
Tailwind
colors: {
  custom: {
    50: '#6ba669',
    500: '#20802d',
    950: '#000000',
  },
}
SCSS
$custom: #20802d;
$custom-light: #6ba669;
$custom-dark: #000000;
JSON
{
  "hex": "#20802d",
  "rgb": {
    "r": 32,
    "g": 128,
    "b": 45
  },
  "hsl": {
    "h": 128.125,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52723,
    "c": 0.14823,
    "h": 145
  },
  "luminance": 0.15935
}

Semantic roles & 50–950 ramp

primary
#20802D
secondary
#B349A4
accent
#45CEE3
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #20802D

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

Preview Lab → · Contrast checker → · Palette generator →

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