#4C9D17#4C9D17

#4C9D17 is a light, vivid yellow-green. Relative luminance 0.257; OKLCH L 62.0% C 0.178 H 136.7°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#4C9D17
RGBrgb(76, 157, 23)
HSLhsl(96, 74%, 35%)
HSVhsv(96, 85%, 62%)
CMYKcmyk(51.6%, 0%, 85.4%, 38.4%)
CIE-LABlab(57.76, -46.59, 55.69)
CIE-LCHlch(57.76, 72.61, 129.92°)
OKLaboklab(62.05% -0.1297 0.1221)
OKLCHoklch(62.05% 0.178 136.7)
XYZxyz(15.1917, 25.7112, 4.9727)
Luminance0.2571 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C9D17 #68179D
analogous
#8F9D17 #4C9D17 #179D25
triadic
#4C9D17 #174C9D #9D174C
tetradic
#4C9D17 #178F9D #68179D #9D2517
square
#4C9D17 #178F9D #68179D #9D2517
split-complementary
#4C9D17 #25179D #9D178F
monochromatic
#183207 #32680F #4C9D17 #66D21F #87E44A

Accessibility & contrast

On white

3.42
#4C9D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#4C9D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C9D17
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C9D17#FFFFFF#000000##000000
##4C9D171.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c9d17;
/* rgb */ color: rgb(76, 157, 23);
/* oklch */ color: oklch(62.0% 0.178 136.7);
Tailwind
colors: {
  custom: {
    50: '#87bb63',
    500: '#4c9d17',
    950: '#000000',
  },
}
SCSS
$custom: #4c9d17;
$custom-light: #87bb63;
$custom-dark: #000000;
JSON
{
  "hex": "#4c9d17",
  "rgb": {
    "r": 76,
    "g": 157,
    "b": 23
  },
  "hsl": {
    "h": 96.269,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.62046,
    "c": 0.17815,
    "h": 136.7
  },
  "luminance": 0.25712
}

Semantic roles & 50–950 ramp

primary
#4C9D17
secondary
#954AC6
accent
#37F1A7
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4C9D17

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

Preview Lab → · Contrast checker → · Palette generator →

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