#4A9820#4A9820

#4A9820 is a mid, vivid yellow-green. Relative luminance 0.240; OKLCH L 60.7% C 0.169 H 137.3°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4A9820
RGBrgb(74, 152, 32)
HSLhsl(99, 65%, 36%)
HSVhsv(99, 79%, 60%)
CMYKcmyk(51.3%, 0%, 78.9%, 40.4%)
CIE-LABlab(56.10, -44.78, 51.53)
CIE-LCHlch(56.10, 68.27, 130.99°)
OKLaboklab(60.67% -0.1242 0.1147)
OKLCHoklch(60.67% 0.169 137.3)
XYZxyz(14.3125, 24.0156, 5.2475)
Luminance0.2402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A9820 #6E2098
analogous
#869820 #4A9820 #209832
triadic
#4A9820 #204A98 #98204A
tetradic
#4A9820 #208698 #6E2098 #983220
square
#4A9820 #208698 #6E2098 #983220
split-complementary
#4A9820 #322098 #982086
monochromatic
#19330B #316515 #4A9820 #63CB2B #85DC57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A9820#FFFFFF#000000##000000
##4A98201.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)
#93842D
Tritanopia (blue-blind)
#459282
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4a9820;
/* rgb */ color: rgb(74, 152, 32);
/* oklch */ color: oklch(60.7% 0.169 137.3);
Tailwind
colors: {
  custom: {
    50: '#85b766',
    500: '#4a9820',
    950: '#000000',
  },
}
SCSS
$custom: #4a9820;
$custom-light: #85b766;
$custom-dark: #000000;
JSON
{
  "hex": "#4a9820",
  "rgb": {
    "r": 74,
    "g": 152,
    "b": 32
  },
  "hsl": {
    "h": 99,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60672,
    "c": 0.16912,
    "h": 137.3
  },
  "luminance": 0.24017
}

Semantic roles & 50–950 ramp

primary
#4A9820
secondary
#9A54BF
accent
#40E8AD
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4A9820

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

Preview Lab → · Contrast checker → · Palette generator →

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