#4A9722#4A9722

#4A9722 is a mid, vivid yellow-green. Relative luminance 0.237; OKLCH L 60.4% C 0.167 H 137.4°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#4A9722
RGBrgb(74, 151, 34)
HSLhsl(99, 63%, 36%)
HSVhsv(99, 77%, 59%)
CMYKcmyk(51%, 0%, 77.5%, 40.8%)
CIE-LABlab(55.79, -44.26, 50.56)
CIE-LCHlch(55.79, 67.20, 131.20°)
OKLaboklab(60.42% -0.1227 0.113)
OKLCHoklch(60.42% 0.167 137.4)
XYZxyz(14.1789, 23.7035, 5.3412)
Luminance0.2371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A9722 #6F2297
analogous
#859722 #4A9722 #229735
triadic
#4A9722 #224A97 #97224A
tetradic
#4A9722 #228597 #6F2297 #973522
square
#4A9722 #228597 #6F2297 #973522
split-complementary
#4A9722 #352297 #972285
monochromatic
#19330C #326517 #4A9722 #62C92D #85DA5A

Accessibility & contrast

On white

3.66
#4A9722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#4A9722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A9722
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A9722#FFFFFF#000000##000000
##4A97221.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A06
Deuteranopia (green-blind)
#92832F
Tritanopia (blue-blind)
#459181
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4a9722;
/* rgb */ color: rgb(74, 151, 34);
/* oklch */ color: oklch(60.4% 0.167 137.4);
Tailwind
colors: {
  custom: {
    50: '#84b666',
    500: '#4a9722',
    950: '#000000',
  },
}
SCSS
$custom: #4a9722;
$custom-light: #84b666;
$custom-dark: #000000;
JSON
{
  "hex": "#4a9722",
  "rgb": {
    "r": 74,
    "g": 151,
    "b": 34
  },
  "hsl": {
    "h": 99.487,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60417,
    "c": 0.16683,
    "h": 137.4
  },
  "luminance": 0.23705
}

Semantic roles & 50–950 ramp

primary
#4A9722
secondary
#9B57BE
accent
#42E6AE
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4A9722

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

Preview Lab → · Contrast checker → · Palette generator →

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