#4D8020#4D8020

#4D8020 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.4% C 0.137 H 133.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4D8020
RGBrgb(77, 128, 32)
HSLhsl(92, 60%, 31%)
HSVhsv(92, 75%, 50%)
CMYKcmyk(39.8%, 0%, 75%, 49.8%)
CIE-LABlab(48.41, -33.67, 44.08)
CIE-LCHlch(48.41, 55.47, 127.38°)
OKLaboklab(54.4% -0.0945 0.0991)
OKLCHoklch(54.4% 0.137 133.6)
XYZxyz(11.0403, 17.1199, 4.0890)
Luminance0.1712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8020 #532080
analogous
#7D8020 #4D8020 #208023
triadic
#4D8020 #204D80 #80204D
tetradic
#4D8020 #207D80 #532080 #802320
square
#4D8020 #207D80 #532080 #802320
split-complementary
#4D8020 #232080 #80207D
monochromatic
#121E08 #304F14 #4D8020 #6AB12C #89D149

Accessibility & contrast

On white

4.75
#4D8020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#4D8020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D8020
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8020#FFFFFF#000000##FFFFFF
##4D80201.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85760E
Deuteranopia (green-blind)
#7E7129
Tritanopia (blue-blind)
#4D7B6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4d8020;
/* rgb */ color: rgb(77, 128, 32);
/* oklch */ color: oklch(54.4% 0.137 133.6);
Tailwind
colors: {
  custom: {
    50: '#83a562',
    500: '#4d8020',
    950: '#000000',
  },
}
SCSS
$custom: #4d8020;
$custom-light: #83a562;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8020",
  "rgb": {
    "r": 77,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 91.875,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54396,
    "c": 0.13692,
    "h": 133.6
  },
  "luminance": 0.1712
}

Semantic roles & 50–950 ramp

primary
#4D8020
secondary
#8149B3
accent
#45E399
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4D8020

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

Preview Lab → · Contrast checker → · Palette generator →

#4D8020 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva