#AACA21#AACA21

#AACA21 is a light, vivid yellow-green. Relative luminance 0.509; OKLCH L 78.8% C 0.181 H 120.8°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#AACA21
RGBrgb(170, 202, 33)
HSLhsl(71, 72%, 46%)
HSVhsv(71, 84%, 79%)
CMYKcmyk(15.8%, 0%, 83.7%, 20.8%)
CIE-LABlab(76.62, -30.95, 71.72)
CIE-LCHlch(76.62, 78.12, 113.34°)
OKLaboklab(78.79% -0.0925 0.1552)
OKLCHoklch(78.79% 0.181 120.8)
XYZxyz(37.9734, 50.8970, 9.2622)
Luminance0.5090 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AACA21 #4121CA
analogous
#CA9521 #AACA21 #55CA21
triadic
#AACA21 #21AACA #CA21AA
tetradic
#AACA21 #21CA95 #4121CA #CA2155
square
#AACA21 #21CA95 #4121CA #CA2155
split-complementary
#AACA21 #2155CA #9521CA
monochromatic
#516110 #7E9518 #AACA21 #C4E147 #D5EA7C

Accessibility & contrast

On white

1.88
#AACA21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#AACA21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AACA21
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AACA21#FFFFFF#000000##000000
##AACA211.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE00
Deuteranopia (green-blind)
#D3BD35
Tritanopia (blue-blind)
#B4BFAC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #aaca21;
/* rgb */ color: rgb(170, 202, 33);
/* oklch */ color: oklch(78.8% 0.181 120.8);
Tailwind
colors: {
  custom: {
    50: '#c8da6f',
    500: '#aaca21',
    950: '#000000',
  },
}
SCSS
$custom: #aaca21;
$custom-light: #c8da6f;
$custom-dark: #000000;
JSON
{
  "hex": "#aaca21",
  "rgb": {
    "r": 170,
    "g": 202,
    "b": 33
  },
  "hsl": {
    "h": 71.361,
    "s": 71.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.7879,
    "c": 0.18063,
    "h": 120.8
  },
  "luminance": 0.50897
}

Semantic roles & 50–950 ramp

primary
#AACA21
secondary
#31246C
accent
#39EF5C
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141408
muted
#83837D

Preview Lab

Preview with #AACA21

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

Preview Lab → · Contrast checker → · Palette generator →

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