#20802E#20802E

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

Color values

HEX#20802E
RGBrgb(32, 128, 46)
HSLhsl(129, 60%, 31%)
HSVhsv(129, 75%, 50%)
CMYKcmyk(75%, 0%, 64.1%, 49.8%)
CIE-LABlab(46.90, -44.85, 35.90)
CIE-LCHlch(46.90, 57.45, 141.33°)
OKLaboklab(52.74% -0.1211 0.0841)
OKLCHoklch(52.74% 0.147 145.2)
XYZxyz(8.8074, 15.9417, 5.1971)
Luminance0.1594 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20802E #802072
analogous
#428020 #20802E #20805E
triadic
#20802E #2E2080 #802E20
tetradic
#20802E #204280 #802072 #805E20
square
#20802E #204280 #802072 #805E20
split-complementary
#20802E #5E2080 #802042
monochromatic
#081E0B #144F1C #20802E #2CB140 #49D15D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20802E#FFFFFF#000000##FFFFFF
##20802E1.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)
#827425
Deuteranopia (green-blind)
#776C35
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #20802e;
/* rgb */ color: rgb(32, 128, 46);
/* oklch */ color: oklch(52.7% 0.147 145.2);
Tailwind
colors: {
  custom: {
    50: '#6ba66a',
    500: '#20802e',
    950: '#000000',
  },
}
SCSS
$custom: #20802e;
$custom-light: #6ba66a;
$custom-dark: #000000;
JSON
{
  "hex": "#20802e",
  "rgb": {
    "r": 32,
    "g": 128,
    "b": 46
  },
  "hsl": {
    "h": 128.75,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52735,
    "c": 0.14742,
    "h": 145.2
  },
  "luminance": 0.15943
}

Semantic roles & 50–950 ramp

primary
#20802E
secondary
#B349A3
accent
#45CCE3
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #20802E

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

Preview Lab → · Contrast checker → · Palette generator →

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