#20804F#20804F

#20804F is a mid, moderate green. Relative luminance 0.163; OKLCH L 53.3% C 0.116 H 155.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#20804F
RGBrgb(32, 128, 79)
HSLhsl(149, 60%, 31%)
HSVhsv(149, 75%, 50%)
CMYKcmyk(75%, 0%, 38.3%, 49.8%)
CIE-LABlab(47.38, -39.32, 18.94)
CIE-LCHlch(47.38, 43.64, 154.28°)
OKLaboklab(53.29% -0.1063 0.0475)
OKLCHoklch(53.29% 0.116 155.9)
XYZxyz(9.7252, 16.3088, 10.0310)
Luminance0.1631 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20804F #802051
analogous
#218020 #20804F #20807F
triadic
#20804F #4F2080 #804F20
tetradic
#20804F #202180 #802051 #807F20
square
#20804F #202180 #802051 #807F20
split-complementary
#20804F #7F2080 #802021
monochromatic
#081E13 #144F31 #20804F #2CB16D #49D18C

Accessibility & contrast

On white

4.93
#20804F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#20804F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20804F
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20804F#FFFFFF#000000##FFFFFF
##20804F1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F754C
Deuteranopia (green-blind)
#746D52
Tritanopia (blue-blind)
#007F74
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #20804f;
/* rgb */ color: rgb(32, 128, 79);
/* oklch */ color: oklch(53.3% 0.116 155.9);
Tailwind
colors: {
  custom: {
    50: '#6aa680',
    500: '#20804f',
    950: '#000000',
  },
}
SCSS
$custom: #20804f;
$custom-light: #6aa680;
$custom-dark: #000000;
JSON
{
  "hex": "#20804f",
  "rgb": {
    "r": 32,
    "g": 128,
    "b": 79
  },
  "hsl": {
    "h": 149.375,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53287,
    "c": 0.11639,
    "h": 155.9
  },
  "luminance": 0.1631
}

Semantic roles & 50–950 ramp

primary
#20804F
secondary
#B3497F
accent
#4596E3
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #20804F

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

Preview Lab → · Contrast checker → · Palette generator →

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