#4A9918#4A9918

#4A9918 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#4A9918
RGBrgb(74, 153, 24)
HSLhsl(97, 73%, 35%)
HSVhsv(97, 84%, 60%)
CMYKcmyk(51.6%, 0%, 84.3%, 40%)
CIE-LABlab(56.39, -45.60, 54.17)
CIE-LCHlch(56.39, 70.81, 130.09°)
OKLaboklab(60.9% -0.1269 0.1191)
OKLCHoklch(60.9% 0.174 136.8)
XYZxyz(14.3797, 24.3032, 4.7972)
Luminance0.2430 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A9918 #671899
analogous
#8B9918 #4A9918 #189926
triadic
#4A9918 #184A99 #99184A
tetradic
#4A9918 #188B99 #671899 #992618
square
#4A9918 #188B99 #671899 #992618
split-complementary
#4A9918 #261899 #99188B
monochromatic
#172F07 #306410 #4A9918 #64CE20 #84E249

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A9918#FFFFFF#000000##000000
##4A99181.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)
#948529
Tritanopia (blue-blind)
#459382
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4a9918;
/* rgb */ color: rgb(74, 153, 24);
/* oklch */ color: oklch(60.9% 0.174 136.8);
Tailwind
colors: {
  custom: {
    50: '#85b862',
    500: '#4a9918',
    950: '#000000',
  },
}
SCSS
$custom: #4a9918;
$custom-light: #85b862;
$custom-dark: #000000;
JSON
{
  "hex": "#4a9918",
  "rgb": {
    "r": 74,
    "g": 153,
    "b": 24
  },
  "hsl": {
    "h": 96.744,
    "s": 72.881,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60896,
    "c": 0.17402,
    "h": 136.8
  },
  "luminance": 0.24304
}

Semantic roles & 50–950 ramp

primary
#4A9918
secondary
#9449C4
accent
#38F0A9
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4A9918

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

Preview Lab → · Contrast checker → · Palette generator →

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