#4D8918#4D8918

#4D8918 is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 56.8% C 0.153 H 134.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4D8918
RGBrgb(77, 137, 24)
HSLhsl(92, 70%, 32%)
HSVhsv(92, 82%, 54%)
CMYKcmyk(43.8%, 0%, 82.5%, 46.3%)
CIE-LABlab(51.31, -38.10, 49.60)
CIE-LCHlch(51.31, 62.54, 127.53°)
OKLaboklab(56.75% -0.107 0.1094)
OKLCHoklch(56.75% 0.153 134.4)
XYZxyz(12.1709, 19.5344, 3.9932)
Luminance0.1953 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8918 #541889
analogous
#868918 #4D8918 #18891B
triadic
#4D8918 #184D89 #89184D
tetradic
#4D8918 #188689 #541889 #891B18
square
#4D8918 #188689 #541889 #891B18
split-complementary
#4D8918 #1B1889 #891886
monochromatic
#122106 #30550F #4D8918 #6ABD21 #89DD3E

Accessibility & contrast

On white

4.28
#4D8918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#4D8918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8918
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8918#FFFFFF#000000##000000
##4D89181.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#877825
Tritanopia (blue-blind)
#4C8374
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4d8918;
/* rgb */ color: rgb(77, 137, 24);
/* oklch */ color: oklch(56.8% 0.153 134.4);
Tailwind
colors: {
  custom: {
    50: '#85ac60',
    500: '#4d8918',
    950: '#000000',
  },
}
SCSS
$custom: #4d8918;
$custom-light: #85ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8918",
  "rgb": {
    "r": 77,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 91.858,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56753,
    "c": 0.15301,
    "h": 134.4
  },
  "luminance": 0.19535
}

Semantic roles & 50–950 ramp

primary
#4D8918
secondary
#8240BD
accent
#3BED99
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4D8918

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

Preview Lab → · Contrast checker → · Palette generator →

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