#4D9721#4D9721

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

Color values

HEX#4D9721
RGBrgb(77, 151, 33)
HSLhsl(98, 64%, 36%)
HSVhsv(98, 78%, 59%)
CMYKcmyk(49%, 0%, 78.1%, 40.8%)
CIE-LABlab(55.91, -43.39, 51.06)
CIE-LCHlch(55.91, 67.00, 130.36°)
OKLaboklab(60.55% -0.1206 0.1138)
OKLCHoklch(60.55% 0.166 136.7)
XYZxyz(14.4013, 23.8198, 5.2774)
Luminance0.2382 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D9721 #6B2197
analogous
#889721 #4D9721 #219730
triadic
#4D9721 #214D97 #97214D
tetradic
#4D9721 #218897 #6B2197 #973021
square
#4D9721 #218897 #6B2197 #973021
split-complementary
#4D9721 #302197 #972188
monochromatic
#1A330B #336516 #4D9721 #67C92C #89DA58

Accessibility & contrast

On white

3.64
#4D9721 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D9721#FFFFFF#000000##000000
##4D97211.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d9721;
/* rgb */ color: rgb(77, 151, 33);
/* oklch */ color: oklch(60.5% 0.166 136.7);
Tailwind
colors: {
  custom: {
    50: '#86b666',
    500: '#4d9721',
    950: '#000000',
  },
}
SCSS
$custom: #4d9721;
$custom-light: #86b666;
$custom-dark: #000000;
JSON
{
  "hex": "#4d9721",
  "rgb": {
    "r": 77,
    "g": 151,
    "b": 33
  },
  "hsl": {
    "h": 97.627,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60546,
    "c": 0.16587,
    "h": 136.7
  },
  "luminance": 0.23821
}

Semantic roles & 50–950 ramp

primary
#4D9721
secondary
#9755BE
accent
#41E7A9
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4D9721

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

Preview Lab → · Contrast checker → · Palette generator →

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