#4C9820#4C9820

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

Color values

HEX#4C9820
RGBrgb(76, 152, 32)
HSLhsl(98, 65%, 36%)
HSVhsv(98, 79%, 60%)
CMYKcmyk(50%, 0%, 78.9%, 40.4%)
CIE-LABlab(56.18, -44.16, 51.64)
CIE-LCHlch(56.18, 67.95, 130.54°)
OKLaboklab(60.76% -0.1227 0.1149)
OKLCHoklch(60.76% 0.168 136.9)
XYZxyz(14.4690, 24.0962, 5.2548)
Luminance0.2410 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C9820 #6C2098
analogous
#889820 #4C9820 #209830
triadic
#4C9820 #204C98 #98204C
tetradic
#4C9820 #208898 #6C2098 #983020
square
#4C9820 #208898 #6C2098 #983020
split-complementary
#4C9820 #302098 #982088
monochromatic
#19330B #336515 #4C9820 #65CB2B #87DC57

Accessibility & contrast

On white

3.61
#4C9820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#4C9820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C9820
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C9820#FFFFFF#000000##000000
##4C98201.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c9820;
/* rgb */ color: rgb(76, 152, 32);
/* oklch */ color: oklch(60.8% 0.168 136.9);
Tailwind
colors: {
  custom: {
    50: '#86b766',
    500: '#4c9820',
    950: '#000000',
  },
}
SCSS
$custom: #4c9820;
$custom-light: #86b766;
$custom-dark: #000000;
JSON
{
  "hex": "#4c9820",
  "rgb": {
    "r": 76,
    "g": 152,
    "b": 32
  },
  "hsl": {
    "h": 98,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60761,
    "c": 0.16813,
    "h": 136.9
  },
  "luminance": 0.24097
}

Semantic roles & 50–950 ramp

primary
#4C9820
secondary
#9854BF
accent
#40E8AA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4C9820

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

Preview Lab → · Contrast checker → · Palette generator →

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