#A1C221#A1C221

#A1C221 is a light, vivid yellow-green. Relative luminance 0.463; OKLCH L 76.3% C 0.176 H 121.5°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#A1C221
RGBrgb(161, 194, 33)
HSLhsl(72, 71%, 45%)
HSVhsv(72, 83%, 76%)
CMYKcmyk(17%, 0%, 83%, 23.9%)
CIE-LABlab(73.72, -30.87, 69.00)
CIE-LCHlch(73.72, 75.59, 114.10°)
OKLaboklab(76.3% -0.0918 0.1496)
OKLCHoklch(76.3% 0.176 121.5)
XYZxyz(34.2649, 46.2704, 8.5645)
Luminance0.4627 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1C221 #4221C2
analogous
#C29321 #A1C221 #51C221
triadic
#A1C221 #21A1C2 #C221A1
tetradic
#A1C221 #21C293 #4221C2 #C22151
square
#A1C221 #21C293 #4221C2 #C22151
split-complementary
#A1C221 #2151C2 #9321C2
monochromatic
#4A590F #768E18 #A1C221 #BFDF41 #D0E876

Accessibility & contrast

On white

2.05
#A1C221 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#A1C221 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1C221
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1C221#FFFFFF#000000##000000
##A1C2211.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1c221;
/* rgb */ color: rgb(161, 194, 33);
/* oklch */ color: oklch(76.3% 0.176 121.5);
Tailwind
colors: {
  custom: {
    50: '#c1d46d',
    500: '#a1c221',
    950: '#000000',
  },
}
SCSS
$custom: #a1c221;
$custom-light: #c1d46d;
$custom-dark: #000000;
JSON
{
  "hex": "#a1c221",
  "rgb": {
    "r": 161,
    "g": 194,
    "b": 33
  },
  "hsl": {
    "h": 72.298,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.76297,
    "c": 0.17554,
    "h": 121.5
  },
  "luminance": 0.4627
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A1C221

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

Preview Lab → · Contrast checker → · Palette generator →

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