#A9A321#A9A321

#A9A321 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.9% C 0.140 H 106.7°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#A9A321
RGBrgb(169, 163, 33)
HSLhsl(57, 67%, 40%)
HSVhsv(57, 80%, 66%)
CMYKcmyk(0%, 3.6%, 80.5%, 33.7%)
CIE-LABlab(65.55, -12.06, 62.12)
CIE-LCHlch(65.55, 63.28, 100.99°)
OKLaboklab(69.88% -0.0404 0.1345)
OKLCHoklch(69.88% 0.14 106.7)
XYZxyz(29.7352, 34.7403, 6.5778)
Luminance0.3474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A321 #2127A9
analogous
#A95F21 #A9A321 #6BA921
triadic
#A9A321 #21A9A3 #A321A9
tetradic
#A9A321 #21A95F #2127A9 #A9216B
square
#A9A321 #21A95F #2127A9 #A9216B
split-complementary
#A9A321 #216BA9 #5F21A9
monochromatic
#43400D #767217 #A9A321 #D7CF31 #E1DB64

Accessibility & contrast

On white

2.64
#A9A321 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#A9A321 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9A321
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9A321#FFFFFF#000000##000000
##A9A3211.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B4A12D
Tritanopia (blue-blind)
#B6988B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a9a321;
/* rgb */ color: rgb(169, 163, 33);
/* oklch */ color: oklch(69.9% 0.140 106.7);
Tailwind
colors: {
  custom: {
    50: '#c6bd69',
    500: '#a9a321',
    950: '#000000',
  },
}
SCSS
$custom: #a9a321;
$custom-light: #c6bd69;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a321",
  "rgb": {
    "r": 169,
    "g": 163,
    "b": 33
  },
  "hsl": {
    "h": 57.353,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.69885,
    "c": 0.14047,
    "h": 106.7
  },
  "luminance": 0.34739
}

Semantic roles & 50–950 ramp

primary
#A9A321
secondary
#6064C6
accent
#45EA3E
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#141207
muted
#82817A

Preview Lab

Preview with #A9A321

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

Preview Lab → · Contrast checker → · Palette generator →

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