#4C9917#4C9917

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

Color values

HEX#4C9917
RGBrgb(76, 153, 23)
HSLhsl(96, 74%, 35%)
HSVhsv(96, 85%, 60%)
CMYKcmyk(50.3%, 0%, 85%, 40%)
CIE-LABlab(56.47, -45.03, 54.53)
CIE-LCHlch(56.47, 70.72, 129.55°)
OKLaboklab(60.98% -0.1255 0.1197)
OKLCHoklch(60.98% 0.173 136.4)
XYZxyz(14.5260, 24.3798, 4.7508)
Luminance0.2438 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C9917 #641799
analogous
#8D9917 #4C9917 #179923
triadic
#4C9917 #174C99 #99174C
tetradic
#4C9917 #178D99 #641799 #992317
square
#4C9917 #178D99 #641799 #992317
split-complementary
#4C9917 #231799 #99178D
monochromatic
#172F07 #32640F #4C9917 #66CE1F #87E347

Accessibility & contrast

On white

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

On black

5.88
#4C9917 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C9917
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C9917#FFFFFF#000000##000000
##4C99171.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c9917;
/* rgb */ color: rgb(76, 153, 23);
/* oklch */ color: oklch(61.0% 0.173 136.4);
Tailwind
colors: {
  custom: {
    50: '#86b862',
    500: '#4c9917',
    950: '#000000',
  },
}
SCSS
$custom: #4c9917;
$custom-light: #86b862;
$custom-dark: #000000;
JSON
{
  "hex": "#4c9917",
  "rgb": {
    "r": 76,
    "g": 153,
    "b": 23
  },
  "hsl": {
    "h": 95.538,
    "s": 73.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.60979,
    "c": 0.17343,
    "h": 136.4
  },
  "luminance": 0.24381
}

Semantic roles & 50–950 ramp

primary
#4C9917
secondary
#9147C5
accent
#37F1A5
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4C9917

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

Preview Lab → · Contrast checker → · Palette generator →

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