#20804B#20804B

#20804B is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.2% C 0.120 H 154.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#20804B
RGBrgb(32, 128, 75)
HSLhsl(147, 60%, 31%)
HSVhsv(147, 75%, 50%)
CMYKcmyk(75%, 0%, 41.4%, 49.8%)
CIE-LABlab(47.30, -40.14, 21.11)
CIE-LCHlch(47.30, 45.35, 152.26°)
OKLaboklab(53.2% -0.1082 0.0525)
OKLCHoklch(53.2% 0.12 154.1)
XYZxyz(9.5840, 16.2523, 9.2872)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20804B #802055
analogous
#258020 #20804B #20807B
triadic
#20804B #4B2080 #804B20
tetradic
#20804B #202580 #802055 #807B20
square
#20804B #202580 #802055 #807B20
split-complementary
#20804B #7B2080 #802025
monochromatic
#081E12 #144F2E #20804B #2CB168 #49D186

Accessibility & contrast

On white

4.94
#20804B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#20804B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20804B
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20804B#FFFFFF#000000##FFFFFF
##20804B1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807547
Deuteranopia (green-blind)
#746D4F
Tritanopia (blue-blind)
#007E73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #20804b;
/* rgb */ color: rgb(32, 128, 75);
/* oklch */ color: oklch(53.2% 0.120 154.1);
Tailwind
colors: {
  custom: {
    50: '#6aa67e',
    500: '#20804b',
    950: '#000000',
  },
}
SCSS
$custom: #20804b;
$custom-light: #6aa67e;
$custom-dark: #000000;
JSON
{
  "hex": "#20804b",
  "rgb": {
    "r": 32,
    "g": 128,
    "b": 75
  },
  "hsl": {
    "h": 146.875,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53203,
    "c": 0.12032,
    "h": 154.1
  },
  "luminance": 0.16253
}

Semantic roles & 50–950 ramp

primary
#20804B
secondary
#B34983
accent
#459CE3
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #20804B

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

Preview Lab → · Contrast checker → · Palette generator →

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