#4D9D17#4D9D17

#4D9D17 is a light, vivid yellow-green. Relative luminance 0.258; OKLCH L 62.1% C 0.178 H 136.6°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#4D9D17
RGBrgb(77, 157, 23)
HSLhsl(96, 74%, 35%)
HSVhsv(96, 85%, 62%)
CMYKcmyk(51%, 0%, 85.4%, 38.4%)
CIE-LABlab(57.80, -46.29, 55.74)
CIE-LCHlch(57.80, 72.45, 129.71°)
OKLaboklab(62.09% -0.129 0.1222)
OKLCHoklch(62.09% 0.178 136.6)
XYZxyz(15.2718, 25.7525, 4.9764)
Luminance0.2575 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D9D17 #67179D
analogous
#909D17 #4D9D17 #179D24
triadic
#4D9D17 #174D9D #9D174D
tetradic
#4D9D17 #17909D #67179D #9D2417
square
#4D9D17 #17909D #67179D #9D2417
split-complementary
#4D9D17 #24179D #9D1790
monochromatic
#193207 #33680F #4D9D17 #67D21F #88E44A

Accessibility & contrast

On white

3.41
#4D9D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#4D9D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D9D17
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D9D17#FFFFFF#000000##000000
##4D9D171.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#988829
Tritanopia (blue-blind)
#499785
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #4d9d17;
/* rgb */ color: rgb(77, 157, 23);
/* oklch */ color: oklch(62.1% 0.178 136.6);
Tailwind
colors: {
  custom: {
    50: '#87bb63',
    500: '#4d9d17',
    950: '#000000',
  },
}
SCSS
$custom: #4d9d17;
$custom-light: #87bb63;
$custom-dark: #000000;
JSON
{
  "hex": "#4d9d17",
  "rgb": {
    "r": 77,
    "g": 157,
    "b": 23
  },
  "hsl": {
    "h": 95.821,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.6209,
    "c": 0.17766,
    "h": 136.6
  },
  "luminance": 0.25754
}

Semantic roles & 50–950 ramp

primary
#4D9D17
secondary
#944AC6
accent
#37F1A6
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4D9D17

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

Preview Lab → · Contrast checker → · Palette generator →

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