#20804C#20804C

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

Color values

HEX#20804C
RGBrgb(32, 128, 76)
HSLhsl(148, 60%, 31%)
HSVhsv(148, 75%, 50%)
CMYKcmyk(75%, 0%, 40.6%, 49.8%)
CIE-LABlab(47.32, -39.94, 20.57)
CIE-LCHlch(47.32, 44.92, 152.75°)
OKLaboklab(53.22% -0.1078 0.0513)
OKLCHoklch(53.22% 0.119 154.6)
XYZxyz(9.6185, 16.2661, 9.4688)
Luminance0.1627 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20804C #802054
analogous
#248020 #20804C #20807C
triadic
#20804C #4C2080 #804C20
tetradic
#20804C #202480 #802054 #807C20
square
#20804C #202480 #802054 #807C20
split-complementary
#20804C #7C2080 #802024
monochromatic
#081E12 #144F2F #20804C #2CB169 #49D188

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20804C#FFFFFF#000000##FFFFFF
##20804C1.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)
#807548
Deuteranopia (green-blind)
#746D4F
Tritanopia (blue-blind)
#007F73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #20804c;
/* rgb */ color: rgb(32, 128, 76);
/* oklch */ color: oklch(53.2% 0.119 154.6);
Tailwind
colors: {
  custom: {
    50: '#6aa67e',
    500: '#20804c',
    950: '#000000',
  },
}
SCSS
$custom: #20804c;
$custom-light: #6aa67e;
$custom-dark: #000000;
JSON
{
  "hex": "#20804c",
  "rgb": {
    "r": 32,
    "g": 128,
    "b": 76
  },
  "hsl": {
    "h": 147.5,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53224,
    "c": 0.11934,
    "h": 154.6
  },
  "luminance": 0.16267
}

Semantic roles & 50–950 ramp

primary
#20804C
secondary
#B34982
accent
#459BE3
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #20804C

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

Preview Lab → · Contrast checker → · Palette generator →

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