#4A9817#4A9817

#4A9817 is a mid, vivid yellow-green. Relative luminance 0.240; OKLCH L 60.6% C 0.173 H 136.7°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#4A9817
RGBrgb(74, 152, 23)
HSLhsl(96, 74%, 34%)
HSVhsv(96, 85%, 60%)
CMYKcmyk(51.3%, 0%, 84.9%, 40.4%)
CIE-LABlab(56.06, -45.26, 54.14)
CIE-LCHlch(56.06, 70.56, 129.89°)
OKLaboklab(60.62% -0.126 0.1189)
OKLCHoklch(60.62% 0.173 136.7)
XYZxyz(14.2065, 23.9732, 4.6891)
Luminance0.2397 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A9817 #651798
analogous
#8B9817 #4A9817 #179825
triadic
#4A9817 #174A98 #98174A
tetradic
#4A9817 #178B98 #651798 #982517
square
#4A9817 #178B98 #651798 #982517
split-complementary
#4A9817 #251798 #98178B
monochromatic
#162E07 #30630F #4A9817 #64CD1F #84E346

Accessibility & contrast

On white

3.62
#4A9817 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#4A9817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A9817
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A9817#FFFFFF#000000##000000
##4A98171.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#938428
Tritanopia (blue-blind)
#459281
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4a9817;
/* rgb */ color: rgb(74, 152, 23);
/* oklch */ color: oklch(60.6% 0.173 136.7);
Tailwind
colors: {
  custom: {
    50: '#85b762',
    500: '#4a9817',
    950: '#000000',
  },
}
SCSS
$custom: #4a9817;
$custom-light: #85b762;
$custom-dark: #000000;
JSON
{
  "hex": "#4a9817",
  "rgb": {
    "r": 74,
    "g": 152,
    "b": 23
  },
  "hsl": {
    "h": 96.279,
    "s": 73.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60623,
    "c": 0.17324,
    "h": 136.7
  },
  "luminance": 0.23974
}

Semantic roles & 50–950 ramp

primary
#4A9817
secondary
#9347C4
accent
#37F0A7
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4A9817

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

Preview Lab → · Contrast checker → · Palette generator →

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