#4C9721#4C9721

#4C9721 is a mid, vivid yellow-green. Relative luminance 0.238; OKLCH L 60.5% C 0.166 H 136.9°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#4C9721
RGBrgb(76, 151, 33)
HSLhsl(98, 64%, 36%)
HSVhsv(98, 78%, 59%)
CMYKcmyk(49.7%, 0%, 78.1%, 40.8%)
CIE-LABlab(55.87, -43.70, 51.00)
CIE-LCHlch(55.87, 67.17, 130.59°)
OKLaboklab(60.5% -0.1214 0.1137)
OKLCHoklch(60.5% 0.166 136.9)
XYZxyz(14.3212, 23.7785, 5.2736)
Luminance0.2378 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C9721 #6C2197
analogous
#879721 #4C9721 #219731
triadic
#4C9721 #214C97 #97214C
tetradic
#4C9721 #218797 #6C2197 #973121
square
#4C9721 #218797 #6C2197 #973121
split-complementary
#4C9721 #312197 #972187
monochromatic
#19330B #336516 #4C9721 #65C92C #87DA58

Accessibility & contrast

On white

3.65
#4C9721 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#4C9721 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C9721
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C9721#FFFFFF#000000##000000
##4C97211.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A03
Deuteranopia (green-blind)
#92842E
Tritanopia (blue-blind)
#489181
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4c9721;
/* rgb */ color: rgb(76, 151, 33);
/* oklch */ color: oklch(60.5% 0.166 136.9);
Tailwind
colors: {
  custom: {
    50: '#86b666',
    500: '#4c9721',
    950: '#000000',
  },
}
SCSS
$custom: #4c9721;
$custom-light: #86b666;
$custom-dark: #000000;
JSON
{
  "hex": "#4c9721",
  "rgb": {
    "r": 76,
    "g": 151,
    "b": 33
  },
  "hsl": {
    "h": 98.136,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.605,
    "c": 0.16637,
    "h": 136.9
  },
  "luminance": 0.2378
}

Semantic roles & 50–950 ramp

primary
#4C9721
secondary
#9855BE
accent
#41E7AA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4C9721

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

Preview Lab → · Contrast checker → · Palette generator →

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