#4D8518#4D8518

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

Color values

HEX#4D8518
RGBrgb(77, 133, 24)
HSLhsl(91, 69%, 31%)
HSVhsv(91, 82%, 52%)
CMYKcmyk(42.1%, 0%, 82%, 47.8%)
CIE-LABlab(50.00, -36.38, 48.39)
CIE-LCHlch(50.00, 60.54, 126.93°)
OKLaboklab(55.68% -0.1023 0.1069)
OKLCHoklch(55.68% 0.148 133.8)
XYZxyz(11.6128, 18.4182, 3.8072)
Luminance0.1842 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8518 #501885
analogous
#838518 #4D8518 #18851A
triadic
#4D8518 #184D85 #85184D
tetradic
#4D8518 #188385 #501885 #851A18
square
#4D8518 #188385 #501885 #851A18
split-complementary
#4D8518 #1A1885 #851883
monochromatic
#111D05 #2F510F #4D8518 #6BB921 #89DC3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D8518#FFFFFF#000000##000000
##4D85181.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: #4d8518;
/* rgb */ color: rgb(77, 133, 24);
/* oklch */ color: oklch(55.7% 0.148 133.8);
Tailwind
colors: {
  custom: {
    50: '#84a95f',
    500: '#4d8518',
    950: '#000000',
  },
}
SCSS
$custom: #4d8518;
$custom-light: #84a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8518",
  "rgb": {
    "r": 77,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 90.826,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55681,
    "c": 0.14797,
    "h": 133.8
  },
  "luminance": 0.18419
}

Semantic roles & 50–950 ramp

primary
#4D8518
secondary
#7E40B9
accent
#3CEC96
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4D8518

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

Preview Lab → · Contrast checker → · Palette generator →

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