#4D8916#4D8916

#4D8916 is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 56.7% C 0.154 H 134.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4D8916
RGBrgb(77, 137, 22)
HSLhsl(91, 72%, 31%)
HSVhsv(91, 84%, 54%)
CMYKcmyk(43.8%, 0%, 83.9%, 46.3%)
CIE-LABlab(51.30, -38.20, 50.17)
CIE-LCHlch(51.30, 63.06, 127.28°)
OKLaboklab(56.74% -0.1074 0.1103)
OKLCHoklch(56.74% 0.154 134.2)
XYZxyz(12.1508, 19.5264, 3.8876)
Luminance0.1953 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8916 #521689
analogous
#868916 #4D8916 #168918
triadic
#4D8916 #164D89 #89164D
tetradic
#4D8916 #168689 #521689 #891816
square
#4D8916 #168689 #521689 #891816
split-complementary
#4D8916 #181689 #891686
monochromatic
#122005 #2F540E #4D8916 #6BBE1E #89DF3A

Accessibility & contrast

On white

4.28
#4D8916 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#4D8916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8916
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8916#FFFFFF#000000##000000
##4D89161.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#877824
Tritanopia (blue-blind)
#4C8374
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4d8916;
/* rgb */ color: rgb(77, 137, 22);
/* oklch */ color: oklch(56.7% 0.154 134.2);
Tailwind
colors: {
  custom: {
    50: '#85ac5f',
    500: '#4d8916',
    950: '#000000',
  },
}
SCSS
$custom: #4d8916;
$custom-light: #85ac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8916",
  "rgb": {
    "r": 77,
    "g": 137,
    "b": 22
  },
  "hsl": {
    "h": 91.304,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56742,
    "c": 0.15392,
    "h": 134.2
  },
  "luminance": 0.19527
}

Semantic roles & 50–950 ramp

primary
#4D8916
secondary
#803EBD
accent
#39EF98
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4D8916

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

Preview Lab → · Contrast checker → · Palette generator →

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