#A9A520#A9A520

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

Color values

HEX#A9A520
RGBrgb(169, 165, 32)
HSLhsl(58, 68%, 39%)
HSVhsv(58, 81%, 66%)
CMYKcmyk(0%, 2.4%, 81.1%, 33.7%)
CIE-LABlab(66.10, -13.14, 62.89)
CIE-LCHlch(66.10, 64.25, 101.80°)
OKLaboklab(70.32% -0.0434 0.136)
OKLCHoklch(70.32% 0.143 107.7)
XYZxyz(30.0793, 35.4506, 6.6244)
Luminance0.3545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A520 #2024A9
analogous
#A96120 #A9A520 #69A920
triadic
#A9A520 #20A9A5 #A520A9
tetradic
#A9A520 #20A961 #2024A9 #A92069
square
#A9A520 #20A961 #2024A9 #A92069
split-complementary
#A9A520 #2069A9 #6120A9
monochromatic
#42410D #767316 #A9A520 #D8D32F #E1DE62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A9A520#FFFFFF#000000##000000
##A9A5201.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)
#B6A32C
Tritanopia (blue-blind)
#B69A8D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a9a520;
/* rgb */ color: rgb(169, 165, 32);
/* oklch */ color: oklch(70.3% 0.143 107.7);
Tailwind
colors: {
  custom: {
    50: '#c7bf69',
    500: '#a9a520',
    950: '#000000',
  },
}
SCSS
$custom: #a9a520;
$custom-light: #c7bf69;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a520",
  "rgb": {
    "r": 169,
    "g": 165,
    "b": 32
  },
  "hsl": {
    "h": 58.248,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.70324,
    "c": 0.14277,
    "h": 107.7
  },
  "luminance": 0.3545
}

Semantic roles & 50–950 ramp

primary
#A9A520
secondary
#5F62C6
accent
#42EB3D
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141207
muted
#82817A

Preview Lab

Preview with #A9A520

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

Preview Lab → · Contrast checker → · Palette generator →

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