#A9AC21#A9AC21

#A9AC21 is a light, vivid yellow. Relative luminance 0.381; OKLCH L 71.9% C 0.149 H 110.9°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#A9AC21
RGBrgb(169, 172, 33)
HSLhsl(61, 68%, 40%)
HSVhsv(61, 81%, 67%)
CMYKcmyk(1.7%, 0%, 80.8%, 32.5%)
CIE-LABlab(68.06, -16.71, 64.32)
CIE-LCHlch(68.06, 66.45, 104.56°)
OKLaboklab(71.89% -0.0533 0.1393)
OKLCHoklch(71.89% 0.149 110.9)
XYZxyz(31.3904, 38.0508, 7.1295)
Luminance0.3805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9AC21 #2421AC
analogous
#AC6921 #A9AC21 #63AC21
triadic
#A9AC21 #21A9AC #AC21A9
tetradic
#A9AC21 #21AC69 #2421AC #AC2163
square
#A9AC21 #21AC69 #2421AC #AC2163
split-complementary
#A9AC21 #2163AC #6921AC
monochromatic
#44450D #777917 #A9AC21 #D4D832 #DFE266

Accessibility & contrast

On white

2.44
#A9AC21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#A9AC21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9AC21
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9AC21#FFFFFF#000000##000000
##A9AC211.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a9ac21;
/* rgb */ color: rgb(169, 172, 33);
/* oklch */ color: oklch(71.9% 0.149 110.9);
Tailwind
colors: {
  custom: {
    50: '#c6c46a',
    500: '#a9ac21',
    950: '#000000',
  },
}
SCSS
$custom: #a9ac21;
$custom-light: #c6c46a;
$custom-dark: #000000;
JSON
{
  "hex": "#a9ac21",
  "rgb": {
    "r": 169,
    "g": 172,
    "b": 33
  },
  "hsl": {
    "h": 61.295,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.71892,
    "c": 0.14911,
    "h": 110.9
  },
  "luminance": 0.3805
}

Semantic roles & 50–950 ramp

primary
#A9AC21
secondary
#6462C7
accent
#3DEB41
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141207
muted
#82817A

Preview Lab

Preview with #A9AC21

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

Preview Lab → · Contrast checker → · Palette generator →

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