#A9A421#A9A421

#A9A421 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.1% C 0.141 H 107.2°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#A9A421
RGBrgb(169, 164, 33)
HSLhsl(58, 67%, 40%)
HSVhsv(58, 80%, 66%)
CMYKcmyk(0%, 3%, 80.5%, 33.7%)
CIE-LABlab(65.82, -12.58, 62.36)
CIE-LCHlch(65.82, 63.62, 101.41°)
OKLaboklab(70.11% -0.0418 0.1351)
OKLCHoklch(70.11% 0.141 107.2)
XYZxyz(29.9134, 35.0968, 6.6372)
Luminance0.3510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A421 #2126A9
analogous
#A96021 #A9A421 #6AA921
triadic
#A9A421 #21A9A4 #A421A9
tetradic
#A9A421 #21A960 #2126A9 #A9216A
square
#A9A421 #21A960 #2126A9 #A9216A
split-complementary
#A9A421 #216AA9 #6021A9
monochromatic
#43410D #767217 #A9A421 #D7D131 #E1DC64

Accessibility & contrast

On white

2.62
#A9A421 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#A9A421 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9A421
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9A421#FFFFFF#000000##000000
##A9A4211.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39D00
Deuteranopia (green-blind)
#B5A22D
Tritanopia (blue-blind)
#B6998C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a9a421;
/* rgb */ color: rgb(169, 164, 33);
/* oklch */ color: oklch(70.1% 0.141 107.2);
Tailwind
colors: {
  custom: {
    50: '#c6be69',
    500: '#a9a421',
    950: '#000000',
  },
}
SCSS
$custom: #a9a421;
$custom-light: #c6be69;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a421",
  "rgb": {
    "r": 169,
    "g": 164,
    "b": 33
  },
  "hsl": {
    "h": 57.794,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.70107,
    "c": 0.14139,
    "h": 107.2
  },
  "luminance": 0.35096
}

Semantic roles & 50–950 ramp

primary
#A9A421
secondary
#6064C6
accent
#44EA3E
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141207
muted
#82817A

Preview Lab

Preview with #A9A421

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

Preview Lab → · Contrast checker → · Palette generator →

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