#A5C221#A5C221

#A5C221 is a light, vivid yellow-green. Relative luminance 0.467; OKLCH L 76.6% C 0.174 H 120.2°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#A5C221
RGBrgb(165, 194, 33)
HSLhsl(71, 71%, 45%)
HSVhsv(71, 83%, 76%)
CMYKcmyk(14.9%, 0%, 83%, 23.9%)
CIE-LABlab(73.99, -29.23, 69.34)
CIE-LCHlch(73.99, 75.25, 112.86°)
OKLaboklab(76.59% -0.0875 0.1502)
OKLCHoklch(76.59% 0.174 120.2)
XYZxyz(35.0841, 46.6928, 8.6029)
Luminance0.4669 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C221 #3E21C2
analogous
#C28E21 #A5C221 #55C221
triadic
#A5C221 #21A5C2 #C221A5
tetradic
#A5C221 #21C28E #3E21C2 #C22155
square
#A5C221 #21C28E #3E21C2 #C22155
split-complementary
#A5C221 #2155C2 #8E21C2
monochromatic
#4C590F #798E18 #A5C221 #C2DF41 #D3E876

Accessibility & contrast

On white

2.03
#A5C221 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#A5C221 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5C221
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5C221#FFFFFF#000000##000000
##A5C2211.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5c221;
/* rgb */ color: rgb(165, 194, 33);
/* oklch */ color: oklch(76.6% 0.174 120.2);
Tailwind
colors: {
  custom: {
    50: '#c4d46d',
    500: '#a5c221',
    950: '#000000',
  },
}
SCSS
$custom: #a5c221;
$custom-light: #c4d46d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c221",
  "rgb": {
    "r": 165,
    "g": 194,
    "b": 33
  },
  "hsl": {
    "h": 70.807,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.76586,
    "c": 0.17387,
    "h": 120.2
  },
  "luminance": 0.46693
}

Semantic roles & 50–950 ramp

primary
#A5C221
secondary
#8170CF
accent
#3AEE5A
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131408
muted
#82837B

Preview Lab

Preview with #A5C221

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

Preview Lab → · Contrast checker → · Palette generator →

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