#20802F#20802F

#20802F is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.7% C 0.147 H 145.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#20802F
RGBrgb(32, 128, 47)
HSLhsl(129, 60%, 31%)
HSVhsv(129, 75%, 50%)
CMYKcmyk(75%, 0%, 63.3%, 49.8%)
CIE-LABlab(46.91, -44.73, 35.43)
CIE-LCHlch(46.91, 57.06, 141.62°)
OKLaboklab(52.75% -0.1207 0.0832)
OKLCHoklch(52.75% 0.147 145.4)
XYZxyz(8.8273, 15.9497, 5.3021)
Luminance0.1595 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20802F #802071
analogous
#418020 #20802F #20805F
triadic
#20802F #2F2080 #802F20
tetradic
#20802F #204180 #802071 #805F20
square
#20802F #204180 #802071 #805F20
split-complementary
#20802F #5F2080 #802041
monochromatic
#081E0B #144F1D #20802F #2CB141 #49D15E

Accessibility & contrast

On white

5.01
#20802F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #20802F
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20802F#FFFFFF#000000##FFFFFF
##20802F1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827426
Deuteranopia (green-blind)
#776C36
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #20802f;
/* rgb */ color: rgb(32, 128, 47);
/* oklch */ color: oklch(52.7% 0.147 145.4);
Tailwind
colors: {
  custom: {
    50: '#6ba66b',
    500: '#20802f',
    950: '#000000',
  },
}
SCSS
$custom: #20802f;
$custom-light: #6ba66b;
$custom-dark: #000000;
JSON
{
  "hex": "#20802f",
  "rgb": {
    "r": 32,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 129.375,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52747,
    "c": 0.14659,
    "h": 145.4
  },
  "luminance": 0.15951
}

Semantic roles & 50–950 ramp

primary
#20802F
secondary
#B349A2
accent
#45CAE3
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #20802F

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

Preview Lab → · Contrast checker → · Palette generator →

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