#4C9F17#4C9F17

#4C9F17 is a light, vivid yellow-green. Relative luminance 0.264; OKLCH L 62.6% C 0.180 H 136.9°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#4C9F17
RGBrgb(76, 159, 23)
HSLhsl(97, 75%, 36%)
HSVhsv(97, 86%, 62%)
CMYKcmyk(52.2%, 0%, 85.5%, 37.6%)
CIE-LABlab(58.41, -47.36, 56.26)
CIE-LCHlch(58.41, 73.54, 130.09°)
OKLaboklab(62.58% -0.1318 0.1233)
OKLCHoklch(62.58% 0.18 136.9)
XYZxyz(15.5328, 26.3935, 5.0864)
Luminance0.2640 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C9F17 #6A179F
analogous
#909F17 #4C9F17 #179F26
triadic
#4C9F17 #174C9F #9F174C
tetradic
#4C9F17 #17909F #6A179F #9F2617
square
#4C9F17 #17909F #6A179F #9F2617
split-complementary
#4C9F17 #26179F #9F1790
monochromatic
#193408 #326A0F #4C9F17 #66D41F #87E54B

Accessibility & contrast

On white

3.34
#4C9F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#4C9F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C9F17
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C9F17#FFFFFF#000000##000000
##4C9F171.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#9A8A29
Tritanopia (blue-blind)
#479987
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #4c9f17;
/* rgb */ color: rgb(76, 159, 23);
/* oklch */ color: oklch(62.6% 0.180 136.9);
Tailwind
colors: {
  custom: {
    50: '#87bc63',
    500: '#4c9f17',
    950: '#000000',
  },
}
SCSS
$custom: #4c9f17;
$custom-light: #87bc63;
$custom-dark: #000000;
JSON
{
  "hex": "#4c9f17",
  "rgb": {
    "r": 76,
    "g": 159,
    "b": 23
  },
  "hsl": {
    "h": 96.618,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62579,
    "c": 0.18048,
    "h": 136.9
  },
  "luminance": 0.26395
}

Semantic roles & 50–950 ramp

primary
#4C9F17
secondary
#974BC7
accent
#36F1A9
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4C9F17

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

Preview Lab → · Contrast checker → · Palette generator →

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