#20802C#20802C

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

Color values

HEX#20802C
RGBrgb(32, 128, 44)
HSLhsl(128, 60%, 31%)
HSVhsv(128, 75%, 50%)
CMYKcmyk(75%, 0%, 65.6%, 49.8%)
CIE-LABlab(46.88, -45.10, 36.82)
CIE-LCHlch(46.88, 58.22, 140.77°)
OKLaboklab(52.71% -0.1218 0.0858)
OKLCHoklch(52.71% 0.149 144.8)
XYZxyz(8.7689, 15.9263, 4.9943)
Luminance0.1593 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20802C #802074
analogous
#448020 #20802C #20805C
triadic
#20802C #2C2080 #802C20
tetradic
#20802C #204480 #802074 #805C20
square
#20802C #204480 #802074 #805C20
split-complementary
#20802C #5C2080 #802044
monochromatic
#081E0A #144F1B #20802C #2CB13D #49D15A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #20802c;
/* rgb */ color: rgb(32, 128, 44);
/* oklch */ color: oklch(52.7% 0.149 144.8);
Tailwind
colors: {
  custom: {
    50: '#6ba669',
    500: '#20802c',
    950: '#000000',
  },
}
SCSS
$custom: #20802c;
$custom-light: #6ba669;
$custom-dark: #000000;
JSON
{
  "hex": "#20802c",
  "rgb": {
    "r": 32,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 127.5,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52712,
    "c": 0.14903,
    "h": 144.8
  },
  "luminance": 0.15927
}

Semantic roles & 50–950 ramp

primary
#20802C
secondary
#B349A6
accent
#45CFE3
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #20802C

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

Preview Lab → · Contrast checker → · Palette generator →

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