#A4C221#A4C221

#A4C221 is a light, vivid yellow-green. Relative luminance 0.466; OKLCH L 76.5% C 0.174 H 120.6°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#A4C221
RGBrgb(164, 194, 33)
HSLhsl(71, 71%, 45%)
HSVhsv(71, 83%, 76%)
CMYKcmyk(15.5%, 0%, 83%, 23.9%)
CIE-LABlab(73.92, -29.64, 69.25)
CIE-LCHlch(73.92, 75.33, 113.17°)
OKLaboklab(76.51% -0.0886 0.1501)
OKLCHoklch(76.51% 0.174 120.6)
XYZxyz(34.8769, 46.5860, 8.5932)
Luminance0.4659 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4C221 #3F21C2
analogous
#C29021 #A4C221 #54C221
triadic
#A4C221 #21A4C2 #C221A4
tetradic
#A4C221 #21C290 #3F21C2 #C22154
square
#A4C221 #21C290 #3F21C2 #C22154
split-complementary
#A4C221 #2154C2 #9021C2
monochromatic
#4C590F #788E18 #A4C221 #C1DF41 #D2E876

Accessibility & contrast

On white

2.04
#A4C221 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.32
#A4C221 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4C221
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4C221#FFFFFF#000000##000000
##A4C2211.002.0410.3210.32
#FFFFFF2.041.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB600
Deuteranopia (green-blind)
#CBB633
Tritanopia (blue-blind)
#AEB7A6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a4c221;
/* rgb */ color: rgb(164, 194, 33);
/* oklch */ color: oklch(76.5% 0.174 120.6);
Tailwind
colors: {
  custom: {
    50: '#c3d46d',
    500: '#a4c221',
    950: '#000000',
  },
}
SCSS
$custom: #a4c221;
$custom-light: #c3d46d;
$custom-dark: #000000;
JSON
{
  "hex": "#a4c221",
  "rgb": {
    "r": 164,
    "g": 194,
    "b": 33
  },
  "hsl": {
    "h": 71.18,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.76513,
    "c": 0.17428,
    "h": 120.6
  },
  "luminance": 0.46586
}

Semantic roles & 50–950 ramp

primary
#A4C221
secondary
#8270CF
accent
#3AEE5C
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131408
muted
#82837B

Preview Lab

Preview with #A4C221

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

Preview Lab → · Contrast checker → · Palette generator →

#A4C221 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva