#4D8617#4D8617

#4D8617 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 55.9% C 0.150 H 133.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4D8617
RGBrgb(77, 134, 23)
HSLhsl(91, 71%, 31%)
HSVhsv(91, 83%, 53%)
CMYKcmyk(42.5%, 0%, 82.8%, 47.5%)
CIE-LABlab(50.32, -36.86, 48.99)
CIE-LCHlch(50.32, 61.31, 126.96°)
OKLaboklab(55.94% -0.1037 0.108)
OKLCHoklch(55.94% 0.15 133.9)
XYZxyz(11.7401, 18.6892, 3.7992)
Luminance0.1869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8617 #501786
analogous
#848617 #4D8617 #178618
triadic
#4D8617 #174D86 #86174D
tetradic
#4D8617 #178486 #501786 #861817
square
#4D8617 #178486 #501786 #861817
split-complementary
#4D8617 #181786 #861784
monochromatic
#111E05 #2F520E #4D8617 #6BBA20 #89DD3A

Accessibility & contrast

On white

4.43
#4D8617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#4D8617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8617
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8617#FFFFFF#000000##000000
##4D86171.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#847624
Tritanopia (blue-blind)
#4D8072
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4d8617;
/* rgb */ color: rgb(77, 134, 23);
/* oklch */ color: oklch(55.9% 0.150 133.9);
Tailwind
colors: {
  custom: {
    50: '#84aa5f',
    500: '#4d8617',
    950: '#000000',
  },
}
SCSS
$custom: #4d8617;
$custom-light: #84aa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8617",
  "rgb": {
    "r": 77,
    "g": 134,
    "b": 23
  },
  "hsl": {
    "h": 90.811,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55944,
    "c": 0.14971,
    "h": 133.9
  },
  "luminance": 0.1869
}

Semantic roles & 50–950 ramp

primary
#4D8617
secondary
#7E3FBA
accent
#3AED96
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4D8617

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

Preview Lab → · Contrast checker → · Palette generator →

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