#4D9918#4D9918

#4D9918 is a mid, vivid yellow-green. Relative luminance 0.244; OKLCH L 61.0% C 0.173 H 136.2°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#4D9918
RGBrgb(77, 153, 24)
HSLhsl(95, 73%, 35%)
HSVhsv(95, 84%, 60%)
CMYKcmyk(49.7%, 0%, 84.3%, 40%)
CIE-LABlab(56.51, -44.67, 54.33)
CIE-LCHlch(56.51, 70.33, 129.43°)
OKLaboklab(61.03% -0.1246 0.1194)
OKLCHoklch(61.03% 0.173 136.2)
XYZxyz(14.6163, 24.4252, 4.8083)
Luminance0.2443 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D9918 #641899
analogous
#8D9918 #4D9918 #189924
triadic
#4D9918 #184D99 #99184D
tetradic
#4D9918 #188D99 #641899 #992418
square
#4D9918 #188D99 #641899 #992418
split-complementary
#4D9918 #241899 #99188D
monochromatic
#182F07 #326410 #4D9918 #68CE20 #88E249

Accessibility & contrast

On white

3.57
#4D9918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#4D9918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D9918
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D9918#FFFFFF#000000##000000
##4D99181.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8B00
Deuteranopia (green-blind)
#958528
Tritanopia (blue-blind)
#499382
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #4d9918;
/* rgb */ color: rgb(77, 153, 24);
/* oklch */ color: oklch(61.0% 0.173 136.2);
Tailwind
colors: {
  custom: {
    50: '#87b862',
    500: '#4d9918',
    950: '#000000',
  },
}
SCSS
$custom: #4d9918;
$custom-light: #87b862;
$custom-dark: #000000;
JSON
{
  "hex": "#4d9918",
  "rgb": {
    "r": 77,
    "g": 153,
    "b": 24
  },
  "hsl": {
    "h": 95.349,
    "s": 72.881,
    "l": 34.706
  },
  "oklch": {
    "l": 0.61029,
    "c": 0.17254,
    "h": 136.2
  },
  "luminance": 0.24426
}

Semantic roles & 50–950 ramp

primary
#4D9918
secondary
#9149C4
accent
#38F0A4
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4D9918

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

Preview Lab → · Contrast checker → · Palette generator →

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