#4D9820#4D9820

#4D9820 is a mid, vivid yellow-green. Relative luminance 0.241; OKLCH L 60.8% C 0.168 H 136.7°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#4D9820
RGBrgb(77, 152, 32)
HSLhsl(98, 65%, 36%)
HSVhsv(98, 79%, 60%)
CMYKcmyk(49.3%, 0%, 78.9%, 40.4%)
CIE-LABlab(56.23, -43.85, 51.69)
CIE-LCHlch(56.23, 67.79, 130.31°)
OKLaboklab(60.81% -0.1219 0.115)
OKLCHoklch(60.81% 0.168 136.7)
XYZxyz(14.5491, 24.1375, 5.2586)
Luminance0.2414 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D9820 #6B2098
analogous
#899820 #4D9820 #20982F
triadic
#4D9820 #204D98 #98204D
tetradic
#4D9820 #208998 #6B2098 #982F20
square
#4D9820 #208998 #6B2098 #982F20
split-complementary
#4D9820 #2F2098 #982089
monochromatic
#1A330B #336515 #4D9820 #67CB2B #89DC57

Accessibility & contrast

On white

3.60
#4D9820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#4D9820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D9820
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D9820#FFFFFF#000000##000000
##4D98201.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B00
Deuteranopia (green-blind)
#94842D
Tritanopia (blue-blind)
#499282
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4d9820;
/* rgb */ color: rgb(77, 152, 32);
/* oklch */ color: oklch(60.8% 0.168 136.7);
Tailwind
colors: {
  custom: {
    50: '#86b766',
    500: '#4d9820',
    950: '#000000',
  },
}
SCSS
$custom: #4d9820;
$custom-light: #86b766;
$custom-dark: #000000;
JSON
{
  "hex": "#4d9820",
  "rgb": {
    "r": 77,
    "g": 152,
    "b": 32
  },
  "hsl": {
    "h": 97.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60806,
    "c": 0.16763,
    "h": 136.7
  },
  "luminance": 0.24139
}

Semantic roles & 50–950 ramp

primary
#4D9820
secondary
#9754BF
accent
#40E8A9
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4D9820

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

Preview Lab → · Contrast checker → · Palette generator →

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