#4D8517#4D8517

#4D8517 is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 55.7% C 0.148 H 133.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4D8517
RGBrgb(77, 133, 23)
HSLhsl(91, 71%, 31%)
HSVhsv(91, 83%, 52%)
CMYKcmyk(42.1%, 0%, 82.7%, 47.8%)
CIE-LABlab(49.99, -36.43, 48.69)
CIE-LCHlch(49.99, 60.81, 126.80°)
OKLaboklab(55.68% -0.1026 0.1073)
OKLCHoklch(55.68% 0.148 133.7)
XYZxyz(11.6026, 18.4141, 3.7534)
Luminance0.1842 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8517 #4F1785
analogous
#848517 #4D8517 #178518
triadic
#4D8517 #174D85 #85174D
tetradic
#4D8517 #178485 #4F1785 #851817
square
#4D8517 #178485 #4F1785 #851817
split-complementary
#4D8517 #181785 #851784
monochromatic
#111D05 #2F510E #4D8517 #6BB920 #8ADD3A

Accessibility & contrast

On white

4.48
#4D8517 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#4D8517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8517
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8517#FFFFFF#000000##000000
##4D85171.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#837524
Tritanopia (blue-blind)
#4D7F71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4d8517;
/* rgb */ color: rgb(77, 133, 23);
/* oklch */ color: oklch(55.7% 0.148 133.7);
Tailwind
colors: {
  custom: {
    50: '#84a95f',
    500: '#4d8517',
    950: '#000000',
  },
}
SCSS
$custom: #4d8517;
$custom-light: #84a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8517",
  "rgb": {
    "r": 77,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 90.545,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55676,
    "c": 0.14845,
    "h": 133.7
  },
  "luminance": 0.18415
}

Semantic roles & 50–950 ramp

primary
#4D8517
secondary
#7D3FB9
accent
#3BED96
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4D8517

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

Preview Lab → · Contrast checker → · Palette generator →

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