#4D9921#4D9921

#4D9921 is a mid, vivid yellow-green. Relative luminance 0.245; OKLCH L 61.1% C 0.168 H 136.8°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#4D9921
RGBrgb(77, 153, 33)
HSLhsl(98, 65%, 36%)
HSVhsv(98, 78%, 60%)
CMYKcmyk(49.7%, 0%, 78.4%, 40%)
CIE-LABlab(56.55, -44.19, 51.68)
CIE-LCHlch(56.55, 67.99, 130.53°)
OKLaboklab(61.08% -0.1228 0.1151)
OKLCHoklch(61.08% 0.168 136.8)
XYZxyz(14.7259, 24.4690, 5.3856)
Luminance0.2447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D9921 #6D2199
analogous
#899921 #4D9921 #219931
triadic
#4D9921 #214D99 #99214D
tetradic
#4D9921 #218999 #6D2199 #993121
square
#4D9921 #218999 #6D2199 #993121
split-complementary
#4D9921 #312199 #992189
monochromatic
#1A340B #346716 #4D9921 #66CB2C #89DB59

Accessibility & contrast

On white

3.56
#4D9921 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#4D9921 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D9921
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D9921#FFFFFF#000000##000000
##4D99211.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C01
Deuteranopia (green-blind)
#94852E
Tritanopia (blue-blind)
#499383
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #4d9921;
/* rgb */ color: rgb(77, 153, 33);
/* oklch */ color: oklch(61.1% 0.168 136.8);
Tailwind
colors: {
  custom: {
    50: '#86b866',
    500: '#4d9921',
    950: '#000000',
  },
}
SCSS
$custom: #4d9921;
$custom-light: #86b866;
$custom-dark: #000000;
JSON
{
  "hex": "#4d9921",
  "rgb": {
    "r": 77,
    "g": 153,
    "b": 33
  },
  "hsl": {
    "h": 98,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61078,
    "c": 0.16834,
    "h": 136.8
  },
  "luminance": 0.2447
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D9921

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

Preview Lab → · Contrast checker → · Palette generator →

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