#4D8917#4D8917

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

Color values

HEX#4D8917
RGBrgb(77, 137, 23)
HSLhsl(92, 71%, 31%)
HSVhsv(92, 83%, 54%)
CMYKcmyk(43.8%, 0%, 83.2%, 46.3%)
CIE-LABlab(51.30, -38.15, 49.89)
CIE-LCHlch(51.30, 62.80, 127.40°)
OKLaboklab(56.75% -0.1072 0.1099)
OKLCHoklch(56.75% 0.153 134.3)
XYZxyz(12.1606, 19.5303, 3.9394)
Luminance0.1953 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8917 #531789
analogous
#868917 #4D8917 #17891A
triadic
#4D8917 #174D89 #89174D
tetradic
#4D8917 #178689 #531789 #891A17
square
#4D8917 #178689 #531789 #891A17
split-complementary
#4D8917 #1A1789 #891786
monochromatic
#122005 #30550E #4D8917 #6ABD20 #89DE3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D8917#FFFFFF#000000##000000
##4D89171.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)
#877825
Tritanopia (blue-blind)
#4C8374
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4d8917;
/* rgb */ color: rgb(77, 137, 23);
/* oklch */ color: oklch(56.7% 0.153 134.3);
Tailwind
colors: {
  custom: {
    50: '#85ac60',
    500: '#4d8917',
    950: '#000000',
  },
}
SCSS
$custom: #4d8917;
$custom-light: #85ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8917",
  "rgb": {
    "r": 77,
    "g": 137,
    "b": 23
  },
  "hsl": {
    "h": 91.579,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56748,
    "c": 0.15347,
    "h": 134.3
  },
  "luminance": 0.19531
}

Semantic roles & 50–950 ramp

primary
#4D8917
secondary
#813FBD
accent
#3AEE99
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4D8917

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

Preview Lab → · Contrast checker → · Palette generator →

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