#4A9917#4A9917

#4A9917 is a mid, vivid yellow-green. Relative luminance 0.243; OKLCH L 60.9% C 0.174 H 136.8°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#4A9917
RGBrgb(74, 153, 23)
HSLhsl(96, 74%, 35%)
HSVhsv(96, 85%, 60%)
CMYKcmyk(51.6%, 0%, 85%, 40%)
CIE-LABlab(56.39, -45.65, 54.43)
CIE-LCHlch(56.39, 71.04, 129.98°)
OKLaboklab(60.89% -0.1271 0.1195)
OKLCHoklch(60.89% 0.174 136.8)
XYZxyz(14.3695, 24.2991, 4.7435)
Luminance0.2430 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A9917 #661799
analogous
#8B9917 #4A9917 #179925
triadic
#4A9917 #174A99 #99174A
tetradic
#4A9917 #178B99 #661799 #992517
square
#4A9917 #178B99 #661799 #992517
split-complementary
#4A9917 #251799 #99178B
monochromatic
#172F07 #30640F #4A9917 #64CE1F #84E347

Accessibility & contrast

On white

3.58
#4A9917 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#4A9917 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A9917
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A9917#FFFFFF#000000##000000
##4A99171.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#948528
Tritanopia (blue-blind)
#459382
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4a9917;
/* rgb */ color: rgb(74, 153, 23);
/* oklch */ color: oklch(60.9% 0.174 136.8);
Tailwind
colors: {
  custom: {
    50: '#85b862',
    500: '#4a9917',
    950: '#000000',
  },
}
SCSS
$custom: #4a9917;
$custom-light: #85b862;
$custom-dark: #000000;
JSON
{
  "hex": "#4a9917",
  "rgb": {
    "r": 74,
    "g": 153,
    "b": 23
  },
  "hsl": {
    "h": 96.462,
    "s": 73.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.60891,
    "c": 0.17441,
    "h": 136.8
  },
  "luminance": 0.243
}

Semantic roles & 50–950 ramp

primary
#4A9917
secondary
#9347C5
accent
#37F1A8
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4A9917

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

Preview Lab → · Contrast checker → · Palette generator →

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