#4D8016#4D8016

#4D8016 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.3% C 0.143 H 132.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4D8016
RGBrgb(77, 128, 22)
HSLhsl(89, 71%, 29%)
HSVhsv(89, 83%, 50%)
CMYKcmyk(39.8%, 0%, 82.8%, 49.8%)
CIE-LABlab(48.35, -34.28, 47.49)
CIE-LCHlch(48.35, 58.57, 125.82°)
OKLaboklab(54.33% -0.0968 0.1046)
OKLCHoklch(54.33% 0.143 132.8)
XYZxyz(10.9244, 17.0735, 3.4788)
Luminance0.1707 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8016 #491680
analogous
#807E16 #4D8016 #188016
triadic
#4D8016 #164D80 #80164D
tetradic
#4D8016 #16807E #491680 #801618
square
#4D8016 #16807E #491680 #801618
split-complementary
#4D8016 #161880 #7E1680
monochromatic
#101A04 #2E4C0D #4D8016 #6CB41F #8BDC34

Accessibility & contrast

On white

4.76
#4D8016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#4D8016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D8016
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8016#FFFFFF#000000##FFFFFF
##4D80161.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#7F7122
Tritanopia (blue-blind)
#4D7A6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4d8016;
/* rgb */ color: rgb(77, 128, 22);
/* oklch */ color: oklch(54.3% 0.143 132.8);
Tailwind
colors: {
  custom: {
    50: '#84a55e',
    500: '#4d8016',
    950: '#000000',
  },
}
SCSS
$custom: #4d8016;
$custom-light: #84a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8016",
  "rgb": {
    "r": 77,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 88.868,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5433,
    "c": 0.14257,
    "h": 132.8
  },
  "luminance": 0.17074
}

Semantic roles & 50–950 ramp

primary
#4D8016
secondary
#773DB5
accent
#3AED91
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D8016

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

Preview Lab → · Contrast checker → · Palette generator →

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