#4D9722#4D9722

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

Color values

HEX#4D9722
RGBrgb(77, 151, 34)
HSLhsl(98, 63%, 36%)
HSVhsv(98, 77%, 59%)
CMYKcmyk(49%, 0%, 77.5%, 40.8%)
CIE-LABlab(55.91, -43.32, 50.72)
CIE-LCHlch(55.91, 66.71, 130.50°)
OKLaboklab(60.55% -0.1204 0.1133)
OKLCHoklch(60.55% 0.165 136.7)
XYZxyz(14.4155, 23.8255, 5.3522)
Luminance0.2383 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D9722 #6C2297
analogous
#889722 #4D9722 #229732
triadic
#4D9722 #224D97 #97224D
tetradic
#4D9722 #228897 #6C2297 #973222
square
#4D9722 #228897 #6C2297 #973222
split-complementary
#4D9722 #322297 #972288
monochromatic
#1A330C #346517 #4D9722 #66C92D #89DA5A

Accessibility & contrast

On white

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

On black

5.77
#4D9722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D9722
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D9722#FFFFFF#000000##000000
##4D97221.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d9722;
/* rgb */ color: rgb(77, 151, 34);
/* oklch */ color: oklch(60.6% 0.165 136.7);
Tailwind
colors: {
  custom: {
    50: '#86b666',
    500: '#4d9722',
    950: '#000000',
  },
}
SCSS
$custom: #4d9722;
$custom-light: #86b666;
$custom-dark: #000000;
JSON
{
  "hex": "#4d9722",
  "rgb": {
    "r": 77,
    "g": 151,
    "b": 34
  },
  "hsl": {
    "h": 97.949,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60552,
    "c": 0.16532,
    "h": 136.7
  },
  "luminance": 0.23826
}

Semantic roles & 50–950 ramp

primary
#4D9722
secondary
#9857BE
accent
#42E6AA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4D9722

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

Preview Lab → · Contrast checker → · Palette generator →

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