#4D8519#4D8519

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

Color values

HEX#4D8519
RGBrgb(77, 133, 25)
HSLhsl(91, 68%, 31%)
HSVhsv(91, 81%, 52%)
CMYKcmyk(42.1%, 0%, 81.2%, 47.8%)
CIE-LABlab(50.00, -36.32, 48.08)
CIE-LCHlch(50.00, 60.26, 127.07°)
OKLaboklab(55.69% -0.1021 0.1064)
OKLCHoklch(55.69% 0.147 133.8)
XYZxyz(11.6234, 18.4224, 3.8630)
Luminance0.1842 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8519 #511985
analogous
#838519 #4D8519 #19851B
triadic
#4D8519 #194D85 #85194D
tetradic
#4D8519 #198385 #511985 #851B19
square
#4D8519 #198385 #511985 #851B19
split-complementary
#4D8519 #1B1985 #851983
monochromatic
#111E06 #2F510F #4D8519 #6BB923 #89DB3E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D8519#FFFFFF#000000##000000
##4D85191.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)
#837525
Tritanopia (blue-blind)
#4D7F71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4d8519;
/* rgb */ color: rgb(77, 133, 25);
/* oklch */ color: oklch(55.7% 0.147 133.8);
Tailwind
colors: {
  custom: {
    50: '#84a960',
    500: '#4d8519',
    950: '#000000',
  },
}
SCSS
$custom: #4d8519;
$custom-light: #84a960;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8519",
  "rgb": {
    "r": 77,
    "g": 133,
    "b": 25
  },
  "hsl": {
    "h": 91.111,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55687,
    "c": 0.14747,
    "h": 133.8
  },
  "luminance": 0.18423
}

Semantic roles & 50–950 ramp

primary
#4D8519
secondary
#7F41B9
accent
#3DEB97
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4D8519

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

Preview Lab → · Contrast checker → · Palette generator →

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