#AAAC21#AAAC21

#AAAC21 is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.0% C 0.149 H 110.5°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#AAAC21
RGBrgb(170, 172, 33)
HSLhsl(61, 68%, 40%)
HSVhsv(61, 81%, 67%)
CMYKcmyk(1.2%, 0%, 80.8%, 32.5%)
CIE-LABlab(68.14, -16.27, 64.42)
CIE-LCHlch(68.14, 66.44, 104.17°)
OKLaboklab(71.98% -0.0521 0.1394)
OKLCHoklch(71.98% 0.149 110.5)
XYZxyz(31.6058, 38.1618, 7.1396)
Luminance0.3816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAC21 #2321AC
analogous
#AC6821 #AAAC21 #65AC21
triadic
#AAAC21 #21AAAC #AC21AA
tetradic
#AAAC21 #21AC68 #2321AC #AC2165
square
#AAAC21 #21AC68 #2321AC #AC2165
split-complementary
#AAAC21 #2165AC #6821AC
monochromatic
#44450D #777917 #AAAC21 #D5D832 #E0E266

Accessibility & contrast

On white

2.43
#AAAC21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#AAAC21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAC21
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAC21#FFFFFF#000000##000000
##AAAC211.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#BBA82E
Tritanopia (blue-blind)
#B6A193
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #aaac21;
/* rgb */ color: rgb(170, 172, 33);
/* oklch */ color: oklch(72.0% 0.149 110.5);
Tailwind
colors: {
  custom: {
    50: '#c7c46a',
    500: '#aaac21',
    950: '#000000',
  },
}
SCSS
$custom: #aaac21;
$custom-light: #c7c46a;
$custom-dark: #000000;
JSON
{
  "hex": "#aaac21",
  "rgb": {
    "r": 170,
    "g": 172,
    "b": 33
  },
  "hsl": {
    "h": 60.863,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.71977,
    "c": 0.14887,
    "h": 110.5
  },
  "luminance": 0.38161
}

Semantic roles & 50–950 ramp

primary
#AAAC21
secondary
#6362C7
accent
#3DEB40
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141207
muted
#82817A

Preview Lab

Preview with #AAAC21

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

Preview Lab → · Contrast checker → · Palette generator →

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