#4D8722#4D8722

#4D8722 is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.3% C 0.145 H 134.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4D8722
RGBrgb(77, 135, 34)
HSLhsl(94, 60%, 33%)
HSVhsv(94, 75%, 53%)
CMYKcmyk(43%, 0%, 74.8%, 47.1%)
CIE-LABlab(50.71, -36.63, 45.61)
CIE-LCHlch(50.71, 58.49, 128.77°)
OKLaboklab(56.28% -0.1023 0.1026)
OKLCHoklch(56.28% 0.145 134.9)
XYZxyz(12.0130, 19.0206, 4.5514)
Luminance0.1902 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8722 #5C2287
analogous
#7F8722 #4D8722 #228729
triadic
#4D8722 #224D87 #87224D
tetradic
#4D8722 #227F87 #5C2287 #872922
square
#4D8722 #227F87 #5C2287 #872922
split-complementary
#4D8722 #292287 #87227F
monochromatic
#152509 #315616 #4D8722 #69B82E #88D350

Accessibility & contrast

On white

4.37
#4D8722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#4D8722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8722
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8722#FFFFFF#000000##000000
##4D87221.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C0F
Deuteranopia (green-blind)
#84772C
Tritanopia (blue-blind)
#4C8273
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4d8722;
/* rgb */ color: rgb(77, 135, 34);
/* oklch */ color: oklch(56.3% 0.145 134.9);
Tailwind
colors: {
  custom: {
    50: '#84aa64',
    500: '#4d8722',
    950: '#000000',
  },
}
SCSS
$custom: #4d8722;
$custom-light: #84aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8722",
  "rgb": {
    "r": 77,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 94.455,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56283,
    "c": 0.14491,
    "h": 134.9
  },
  "luminance": 0.19021
}

Semantic roles & 50–950 ramp

primary
#4D8722
secondary
#8A4EB7
accent
#45E3A0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4D8722

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

Preview Lab → · Contrast checker → · Palette generator →

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