#A9A522#A9A522

#A9A522 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.3% C 0.142 H 107.7°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#A9A522
RGBrgb(169, 165, 34)
HSLhsl(58, 67%, 40%)
HSVhsv(58, 80%, 66%)
CMYKcmyk(0%, 2.4%, 79.9%, 33.7%)
CIE-LABlab(66.11, -13.07, 62.32)
CIE-LCHlch(66.11, 63.68, 101.84°)
OKLaboklab(70.33% -0.0431 0.1352)
OKLCHoklch(70.33% 0.142 107.7)
XYZxyz(30.1073, 35.4618, 6.7720)
Luminance0.3546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A522 #2226A9
analogous
#A96122 #A9A522 #6AA922
triadic
#A9A522 #22A9A5 #A522A9
tetradic
#A9A522 #22A961 #2226A9 #A9226A
square
#A9A522 #22A961 #2226A9 #A9226A
split-complementary
#A9A522 #226AA9 #6122A9
monochromatic
#43420D #767318 #A9A522 #D6D132 #E0DC65

Accessibility & contrast

On white

2.60
#A9A522 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#A9A522 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9A522
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9A522#FFFFFF#000000##000000
##A9A5221.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B6A32E
Tritanopia (blue-blind)
#B69A8D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a9a522;
/* rgb */ color: rgb(169, 165, 34);
/* oklch */ color: oklch(70.3% 0.142 107.7);
Tailwind
colors: {
  custom: {
    50: '#c6bf6a',
    500: '#a9a522',
    950: '#000000',
  },
}
SCSS
$custom: #a9a522;
$custom-light: #c6bf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a522",
  "rgb": {
    "r": 169,
    "g": 165,
    "b": 34
  },
  "hsl": {
    "h": 58.222,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.70334,
    "c": 0.14187,
    "h": 107.7
  },
  "luminance": 0.35461
}

Semantic roles & 50–950 ramp

primary
#A9A522
secondary
#6164C5
accent
#43E93E
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141207
muted
#82817A

Preview Lab

Preview with #A9A522

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

Preview Lab → · Contrast checker → · Palette generator →

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