#4A9221#4A9221

#4A9221 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.1% C 0.161 H 136.8°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4A9221
RGBrgb(74, 146, 33)
HSLhsl(98, 63%, 35%)
HSVhsv(98, 77%, 57%)
CMYKcmyk(49.3%, 0%, 77.4%, 42.7%)
CIE-LABlab(54.16, -42.32, 49.32)
CIE-LCHlch(54.16, 64.99, 130.63°)
OKLaboklab(59.07% -0.1176 0.1103)
OKLCHoklch(59.07% 0.161 136.8)
XYZxyz(13.3770, 22.1225, 5.0037)
Luminance0.2212 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A9221 #692192
analogous
#829221 #4A9221 #219231
triadic
#4A9221 #214A92 #92214A
tetradic
#4A9221 #218292 #692192 #923121
square
#4A9221 #218292 #692192 #923121
split-complementary
#4A9221 #312192 #922182
monochromatic
#172E0A #316016 #4A9221 #63C42C #85D955

Accessibility & contrast

On white

3.87
#4A9221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#4A9221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A9221
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A9221#FFFFFF#000000##000000
##4A92211.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978506
Deuteranopia (green-blind)
#8E7F2D
Tritanopia (blue-blind)
#468D7D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4a9221;
/* rgb */ color: rgb(74, 146, 33);
/* oklch */ color: oklch(59.1% 0.161 136.8);
Tailwind
colors: {
  custom: {
    50: '#84b265',
    500: '#4a9221',
    950: '#000000',
  },
}
SCSS
$custom: #4a9221;
$custom-light: #84b265;
$custom-dark: #000000;
JSON
{
  "hex": "#4a9221",
  "rgb": {
    "r": 74,
    "g": 146,
    "b": 33
  },
  "hsl": {
    "h": 98.23,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59072,
    "c": 0.16118,
    "h": 136.8
  },
  "luminance": 0.22123
}

Semantic roles & 50–950 ramp

primary
#4A9221
secondary
#9653BC
accent
#42E6AA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #4A9221

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

Preview Lab → · Contrast checker → · Palette generator →

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