#4A9818#4A9818

#4A9818 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.80:1 contrast (WCAG AA passes).

Color values

HEX#4A9818
RGBrgb(74, 152, 24)
HSLhsl(97, 73%, 35%)
HSVhsv(97, 84%, 60%)
CMYKcmyk(51.3%, 0%, 84.2%, 40.4%)
CIE-LABlab(56.06, -45.21, 53.88)
CIE-LCHlch(56.06, 70.33, 130.00°)
OKLaboklab(60.63% -0.1258 0.1185)
OKLCHoklch(60.63% 0.173 136.7)
XYZxyz(14.2167, 23.9772, 4.7429)
Luminance0.2398 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A9818 #661898
analogous
#8A9818 #4A9818 #189826
triadic
#4A9818 #184A98 #98184A
tetradic
#4A9818 #188A98 #661898 #982618
square
#4A9818 #188A98 #661898 #982618
split-complementary
#4A9818 #261898 #98188A
monochromatic
#172E07 #306310 #4A9818 #64CD20 #84E248

Accessibility & contrast

On white

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

On black

5.80
#4A9818 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A9818
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A9818#FFFFFF#000000##000000
##4A98181.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.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: #4a9818;
/* rgb */ color: rgb(74, 152, 24);
/* oklch */ color: oklch(60.6% 0.173 136.7);
Tailwind
colors: {
  custom: {
    50: '#85b762',
    500: '#4a9818',
    950: '#000000',
  },
}
SCSS
$custom: #4a9818;
$custom-light: #85b762;
$custom-dark: #000000;
JSON
{
  "hex": "#4a9818",
  "rgb": {
    "r": 74,
    "g": 152,
    "b": 24
  },
  "hsl": {
    "h": 96.563,
    "s": 72.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.60628,
    "c": 0.17283,
    "h": 136.7
  },
  "luminance": 0.23978
}

Semantic roles & 50–950 ramp

primary
#4A9818
secondary
#9348C4
accent
#38EFA8
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4A9818

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

Preview Lab → · Contrast checker → · Palette generator →

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