#A2C221#A2C221

#A2C221 is a light, vivid yellow-green. Relative luminance 0.464; OKLCH L 76.4% C 0.175 H 121.2°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#A2C221
RGBrgb(162, 194, 33)
HSLhsl(72, 71%, 45%)
HSVhsv(72, 83%, 76%)
CMYKcmyk(16.5%, 0%, 83%, 23.9%)
CIE-LABlab(73.79, -30.46, 69.08)
CIE-LCHlch(73.79, 75.50, 113.80°)
OKLaboklab(76.37% -0.0907 0.1498)
OKLCHoklch(76.37% 0.175 121.2)
XYZxyz(34.4672, 46.3748, 8.5740)
Luminance0.4637 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C221 #4121C2
analogous
#C29121 #A2C221 #52C221
triadic
#A2C221 #21A2C2 #C221A2
tetradic
#A2C221 #21C291 #4121C2 #C22152
square
#A2C221 #21C291 #4121C2 #C22152
split-complementary
#A2C221 #2152C2 #9121C2
monochromatic
#4B590F #768E18 #A2C221 #BFDF41 #D1E876

Accessibility & contrast

On white

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

On black

10.28
#A2C221 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C221
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C221#FFFFFF#000000##000000
##A2C2211.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#CAB533
Tritanopia (blue-blind)
#ABB7A6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a2c221;
/* rgb */ color: rgb(162, 194, 33);
/* oklch */ color: oklch(76.4% 0.175 121.2);
Tailwind
colors: {
  custom: {
    50: '#c2d46d',
    500: '#a2c221',
    950: '#000000',
  },
}
SCSS
$custom: #a2c221;
$custom-light: #c2d46d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c221",
  "rgb": {
    "r": 162,
    "g": 194,
    "b": 33
  },
  "hsl": {
    "h": 71.925,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.76369,
    "c": 0.17512,
    "h": 121.2
  },
  "luminance": 0.46375
}

Semantic roles & 50–950 ramp

primary
#A2C221
secondary
#8370CF
accent
#3AEE5E
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131408
muted
#82837B

Preview Lab

Preview with #A2C221

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

Preview Lab → · Contrast checker → · Palette generator →

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