#4A9822#4A9822

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

Color values

HEX#4A9822
RGBrgb(74, 152, 34)
HSLhsl(100, 63%, 36%)
HSVhsv(100, 78%, 60%)
CMYKcmyk(51.3%, 0%, 77.6%, 40.4%)
CIE-LABlab(56.11, -44.66, 50.88)
CIE-LCHlch(56.11, 67.70, 131.27°)
OKLaboklab(60.69% -0.1238 0.1137)
OKLCHoklch(60.69% 0.168 137.4)
XYZxyz(14.3405, 24.0268, 5.3950)
Luminance0.2403 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A9822 #702298
analogous
#859822 #4A9822 #229835
triadic
#4A9822 #224A98 #98224A
tetradic
#4A9822 #228598 #702298 #983522
square
#4A9822 #228598 #702298 #983522
split-complementary
#4A9822 #352298 #982285
monochromatic
#19340C #326617 #4A9822 #62CA2D #86DA5A

Accessibility & contrast

On white

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

On black

5.81
#4A9822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A9822
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A9822#FFFFFF#000000##000000
##4A98221.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B05
Deuteranopia (green-blind)
#93842F
Tritanopia (blue-blind)
#459282
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4a9822;
/* rgb */ color: rgb(74, 152, 34);
/* oklch */ color: oklch(60.7% 0.168 137.4);
Tailwind
colors: {
  custom: {
    50: '#85b766',
    500: '#4a9822',
    950: '#000000',
  },
}
SCSS
$custom: #4a9822;
$custom-light: #85b766;
$custom-dark: #000000;
JSON
{
  "hex": "#4a9822",
  "rgb": {
    "r": 74,
    "g": 152,
    "b": 34
  },
  "hsl": {
    "h": 99.661,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60685,
    "c": 0.16806,
    "h": 137.4
  },
  "luminance": 0.24028
}

Semantic roles & 50–950 ramp

primary
#4A9822
secondary
#9C57BE
accent
#41E6AE
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4A9822

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

Preview Lab → · Contrast checker → · Palette generator →

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