#4D9C19#4D9C19

#4D9C19 is a mid, vivid yellow-green. Relative luminance 0.254; OKLCH L 61.8% C 0.176 H 136.6°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#4D9C19
RGBrgb(77, 156, 25)
HSLhsl(96, 72%, 35%)
HSVhsv(96, 84%, 61%)
CMYKcmyk(50.6%, 0%, 84%, 38.8%)
CIE-LABlab(57.49, -45.81, 54.94)
CIE-LCHlch(57.49, 71.53, 129.82°)
OKLaboklab(61.83% -0.1276 0.1208)
OKLCHoklch(61.83% 0.176 136.6)
XYZxyz(15.1241, 25.4238, 5.0299)
Luminance0.2542 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D9C19 #68199C
analogous
#8E9C19 #4D9C19 #199C26
triadic
#4D9C19 #194D9C #9C194D
tetradic
#4D9C19 #198E9C #68199C #9C2619
square
#4D9C19 #198E9C #68199C #9C2619
split-complementary
#4D9C19 #26199C #9C198E
monochromatic
#193308 #336711 #4D9C19 #67D121 #88E24D

Accessibility & contrast

On white

3.45
#4D9C19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#4D9C19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D9C19
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D9C19#FFFFFF#000000##000000
##4D9C191.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28E00
Deuteranopia (green-blind)
#97882A
Tritanopia (blue-blind)
#499685
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #4d9c19;
/* rgb */ color: rgb(77, 156, 25);
/* oklch */ color: oklch(61.8% 0.176 136.6);
Tailwind
colors: {
  custom: {
    50: '#87ba63',
    500: '#4d9c19',
    950: '#000000',
  },
}
SCSS
$custom: #4d9c19;
$custom-light: #87ba63;
$custom-dark: #000000;
JSON
{
  "hex": "#4d9c19",
  "rgb": {
    "r": 77,
    "g": 156,
    "b": 25
  },
  "hsl": {
    "h": 96.183,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61833,
    "c": 0.17569,
    "h": 136.6
  },
  "luminance": 0.25425
}

Semantic roles & 50–950 ramp

primary
#4D9C19
secondary
#954CC4
accent
#39EFA7
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4D9C19

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

Preview Lab → · Contrast checker → · Palette generator →

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