#A9A822#A9A822

#A9A822 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.0% C 0.145 H 109.1°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#A9A822
RGBrgb(169, 168, 34)
HSLhsl(60, 67%, 40%)
HSVhsv(60, 80%, 66%)
CMYKcmyk(0%, 0.6%, 79.9%, 33.7%)
CIE-LABlab(66.94, -14.62, 63.06)
CIE-LCHlch(66.94, 64.73, 103.06°)
OKLaboklab(71% -0.0474 0.1367)
OKLCHoklch(71% 0.145 109.1)
XYZxyz(30.6548, 36.5568, 6.9544)
Luminance0.3656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A822 #2223A9
analogous
#A96522 #A9A822 #66A922
triadic
#A9A822 #22A9A8 #A822A9
tetradic
#A9A822 #22A965 #2223A9 #A92266
square
#A9A822 #22A965 #2223A9 #A92266
split-complementary
#A9A822 #2266A9 #6522A9
monochromatic
#43430D #767518 #A9A822 #D6D532 #E0DF65

Accessibility & contrast

On white

2.53
#A9A822 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#A9A822 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9A822
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9A822#FFFFFF#000000##000000
##A9A8221.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A100
Deuteranopia (green-blind)
#B8A52E
Tritanopia (blue-blind)
#B69D90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a9a822;
/* rgb */ color: rgb(169, 168, 34);
/* oklch */ color: oklch(71.0% 0.145 109.1);
Tailwind
colors: {
  custom: {
    50: '#c6c16a',
    500: '#a9a822',
    950: '#000000',
  },
}
SCSS
$custom: #a9a822;
$custom-light: #c6c16a;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a822",
  "rgb": {
    "r": 169,
    "g": 168,
    "b": 34
  },
  "hsl": {
    "h": 59.556,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.71002,
    "c": 0.14473,
    "h": 109.1
  },
  "luminance": 0.36556
}

Semantic roles & 50–950 ramp

primary
#A9A822
secondary
#6162C5
accent
#40E93E
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141207
muted
#82817A

Preview Lab

Preview with #A9A822

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

Preview Lab → · Contrast checker → · Palette generator →

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