#4D9822#4D9822

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

Color values

HEX#4D9822
RGBrgb(77, 152, 34)
HSLhsl(98, 63%, 36%)
HSVhsv(98, 78%, 60%)
CMYKcmyk(49.3%, 0%, 77.6%, 40.4%)
CIE-LABlab(56.24, -43.73, 51.04)
CIE-LCHlch(56.24, 67.21, 130.59°)
OKLaboklab(60.82% -0.1215 0.1139)
OKLCHoklch(60.82% 0.167 136.8)
XYZxyz(14.5771, 24.1487, 5.4061)
Luminance0.2415 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D9822 #6D2298
analogous
#889822 #4D9822 #229832
triadic
#4D9822 #224D98 #98224D
tetradic
#4D9822 #228898 #6D2298 #983222
square
#4D9822 #228898 #6D2298 #983222
split-complementary
#4D9822 #322298 #982288
monochromatic
#1A340C #346617 #4D9822 #66CA2D #89DA5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D9822#FFFFFF#000000##000000
##4D98221.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)
#9D8B05
Deuteranopia (green-blind)
#93852F
Tritanopia (blue-blind)
#499282
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4d9822;
/* rgb */ color: rgb(77, 152, 34);
/* oklch */ color: oklch(60.8% 0.167 136.8);
Tailwind
colors: {
  custom: {
    50: '#86b766',
    500: '#4d9822',
    950: '#000000',
  },
}
SCSS
$custom: #4d9822;
$custom-light: #86b766;
$custom-dark: #000000;
JSON
{
  "hex": "#4d9822",
  "rgb": {
    "r": 77,
    "g": 152,
    "b": 34
  },
  "hsl": {
    "h": 98.136,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60819,
    "c": 0.16656,
    "h": 136.8
  },
  "luminance": 0.2415
}

Semantic roles & 50–950 ramp

primary
#4D9822
secondary
#9957BE
accent
#41E6AA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4D9822

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

Preview Lab → · Contrast checker → · Palette generator →

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