#4D8716#4D8716

#4D8716 is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.2% C 0.151 H 133.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4D8716
RGBrgb(77, 135, 22)
HSLhsl(91, 72%, 31%)
HSVhsv(91, 84%, 53%)
CMYKcmyk(43%, 0%, 83.7%, 47.1%)
CIE-LABlab(50.64, -37.34, 49.58)
CIE-LCHlch(50.64, 62.07, 126.98°)
OKLaboklab(56.21% -0.1051 0.109)
OKLCHoklch(56.21% 0.151 133.9)
XYZxyz(11.8691, 18.9630, 3.7937)
Luminance0.1896 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8716 #501687
analogous
#858716 #4D8716 #168717
triadic
#4D8716 #164D87 #87164D
tetradic
#4D8716 #168587 #501687 #871716
square
#4D8716 #168587 #501687 #871716
split-complementary
#4D8716 #171687 #871685
monochromatic
#111E05 #2F520D #4D8716 #6BBC1F #89DF39

Accessibility & contrast

On white

4.38
#4D8716 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#4D8716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8716
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8716#FFFFFF#000000##000000
##4D87161.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7B00
Deuteranopia (green-blind)
#857724
Tritanopia (blue-blind)
#4C8173
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4d8716;
/* rgb */ color: rgb(77, 135, 22);
/* oklch */ color: oklch(56.2% 0.151 133.9);
Tailwind
colors: {
  custom: {
    50: '#85aa5f',
    500: '#4d8716',
    950: '#000000',
  },
}
SCSS
$custom: #4d8716;
$custom-light: #85aa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8716",
  "rgb": {
    "r": 77,
    "g": 135,
    "b": 22
  },
  "hsl": {
    "h": 90.796,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56207,
    "c": 0.15142,
    "h": 133.9
  },
  "luminance": 0.18964
}

Semantic roles & 50–950 ramp

primary
#4D8716
secondary
#7E3EBB
accent
#39EF96
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4D8716

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

Preview Lab → · Contrast checker → · Palette generator →

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