#4C9E17#4C9E17

#4C9E17 is a light, vivid yellow-green. Relative luminance 0.261; OKLCH L 62.3% C 0.179 H 136.8°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#4C9E17
RGBrgb(76, 158, 23)
HSLhsl(96, 75%, 35%)
HSVhsv(96, 85%, 62%)
CMYKcmyk(51.9%, 0%, 85.4%, 38%)
CIE-LABlab(58.09, -46.98, 55.97)
CIE-LCHlch(58.09, 73.08, 130.01°)
OKLaboklab(62.31% -0.1308 0.1227)
OKLCHoklch(62.31% 0.179 136.8)
XYZxyz(15.3615, 26.0510, 5.0293)
Luminance0.2605 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C9E17 #69179E
analogous
#909E17 #4C9E17 #179E25
triadic
#4C9E17 #174C9E #9E174C
tetradic
#4C9E17 #17909E #69179E #9E2517
square
#4C9E17 #17909E #69179E #9E2517
split-complementary
#4C9E17 #25179E #9E1790
monochromatic
#193307 #32690F #4C9E17 #66D31F #87E54B

Accessibility & contrast

On white

3.38
#4C9E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#4C9E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C9E17
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C9E17#FFFFFF#000000##000000
##4C9E171.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#998929
Tritanopia (blue-blind)
#479886
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #4c9e17;
/* rgb */ color: rgb(76, 158, 23);
/* oklch */ color: oklch(62.3% 0.179 136.8);
Tailwind
colors: {
  custom: {
    50: '#87bb63',
    500: '#4c9e17',
    950: '#000000',
  },
}
SCSS
$custom: #4c9e17;
$custom-light: #87bb63;
$custom-dark: #000000;
JSON
{
  "hex": "#4c9e17",
  "rgb": {
    "r": 76,
    "g": 158,
    "b": 23
  },
  "hsl": {
    "h": 96.444,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.62313,
    "c": 0.17931,
    "h": 136.8
  },
  "luminance": 0.26052
}

Semantic roles & 50–950 ramp

primary
#4C9E17
secondary
#964AC6
accent
#37F1A8
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4C9E17

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

Preview Lab → · Contrast checker → · Palette generator →

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