#4A9717#4A9717

#4A9717 is a mid, vivid yellow-green. Relative luminance 0.237; OKLCH L 60.4% C 0.172 H 136.6°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#4A9717
RGBrgb(74, 151, 23)
HSLhsl(96, 74%, 34%)
HSVhsv(96, 85%, 59%)
CMYKcmyk(51%, 0%, 84.8%, 40.8%)
CIE-LABlab(55.74, -44.86, 53.85)
CIE-LCHlch(55.74, 70.09, 129.80°)
OKLaboklab(60.36% -0.125 0.1183)
OKLCHoklch(60.36% 0.172 136.6)
XYZxyz(14.0449, 23.6499, 4.6352)
Luminance0.2365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A9717 #641797
analogous
#8A9717 #4A9717 #179724
triadic
#4A9717 #174A97 #97174A
tetradic
#4A9717 #178A97 #641797 #972417
square
#4A9717 #178A97 #641797 #972417
split-complementary
#4A9717 #241797 #97178A
monochromatic
#162D07 #30620F #4A9717 #64CC1F #84E346

Accessibility & contrast

On white

3.66
#4A9717 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#4A9717 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A9717
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A9717#FFFFFF#000000##000000
##4A97171.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#928328
Tritanopia (blue-blind)
#469180
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4a9717;
/* rgb */ color: rgb(74, 151, 23);
/* oklch */ color: oklch(60.4% 0.172 136.6);
Tailwind
colors: {
  custom: {
    50: '#85b662',
    500: '#4a9717',
    950: '#000000',
  },
}
SCSS
$custom: #4a9717;
$custom-light: #85b662;
$custom-dark: #000000;
JSON
{
  "hex": "#4a9717",
  "rgb": {
    "r": 74,
    "g": 151,
    "b": 23
  },
  "hsl": {
    "h": 96.094,
    "s": 73.563,
    "l": 34.118
  },
  "oklch": {
    "l": 0.60356,
    "c": 0.17206,
    "h": 136.6
  },
  "luminance": 0.23651
}

Semantic roles & 50–950 ramp

primary
#4A9717
secondary
#9246C4
accent
#38F0A7
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4A9717

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

Preview Lab → · Contrast checker → · Palette generator →

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