#4D8418#4D8418

#4D8418 is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.4% C 0.147 H 133.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#4D8418
RGBrgb(77, 132, 24)
HSLhsl(91, 69%, 31%)
HSVhsv(91, 82%, 52%)
CMYKcmyk(41.7%, 0%, 81.8%, 48.2%)
CIE-LABlab(49.67, -35.94, 48.09)
CIE-LCHlch(49.67, 60.04, 126.77°)
OKLaboklab(55.41% -0.1012 0.1062)
OKLCHoklch(55.41% 0.147 133.6)
XYZxyz(11.4765, 18.1457, 3.7617)
Luminance0.1815 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8418 #4F1884
analogous
#838418 #4D8418 #188419
triadic
#4D8418 #184D84 #84184D
tetradic
#4D8418 #188384 #4F1884 #841918
square
#4D8418 #188384 #4F1884 #841918
split-complementary
#4D8418 #191884 #841883
monochromatic
#111C05 #2F500F #4D8418 #6BB821 #8ADB3B

Accessibility & contrast

On white

4.54
#4D8418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#4D8418 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8418
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8418#FFFFFF#000000##000000
##4D84181.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#827524
Tritanopia (blue-blind)
#4D7E70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4d8418;
/* rgb */ color: rgb(77, 132, 24);
/* oklch */ color: oklch(55.4% 0.147 133.6);
Tailwind
colors: {
  custom: {
    50: '#84a85f',
    500: '#4d8418',
    950: '#000000',
  },
}
SCSS
$custom: #4d8418;
$custom-light: #84a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8418",
  "rgb": {
    "r": 77,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 90.556,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55413,
    "c": 0.1467,
    "h": 133.6
  },
  "luminance": 0.18146
}

Semantic roles & 50–950 ramp

primary
#4D8418
secondary
#7D40B8
accent
#3CEC96
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D8418

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

Preview Lab → · Contrast checker → · Palette generator →

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