#A9A220#A9A220

#A9A220 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.7% C 0.140 H 106.2°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#A9A220
RGBrgb(169, 162, 32)
HSLhsl(57, 68%, 39%)
HSVhsv(57, 81%, 66%)
CMYKcmyk(0%, 4.1%, 81.1%, 33.7%)
CIE-LABlab(65.26, -11.57, 62.16)
CIE-LCHlch(65.26, 63.23, 100.55°)
OKLaboklab(69.66% -0.0391 0.1344)
OKLCHoklch(69.66% 0.14 106.2)
XYZxyz(29.5445, 34.3811, 6.4462)
Luminance0.3438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A220 #2027A9
analogous
#A95D20 #A9A220 #6CA920
triadic
#A9A220 #20A9A2 #A220A9
tetradic
#A9A220 #20A95D #2027A9 #A9206C
square
#A9A220 #20A95D #2027A9 #A9206C
split-complementary
#A9A220 #206CA9 #5D20A9
monochromatic
#423F0D #767116 #A9A220 #D8CF2F #E1DB62

Accessibility & contrast

On white

2.67
#A9A220 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#A9A220 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9A220
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9A220#FFFFFF#000000##000000
##A9A2201.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B3A12C
Tritanopia (blue-blind)
#B6978A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a9a220;
/* rgb */ color: rgb(169, 162, 32);
/* oklch */ color: oklch(69.7% 0.140 106.2);
Tailwind
colors: {
  custom: {
    50: '#c7bd69',
    500: '#a9a220',
    950: '#000000',
  },
}
SCSS
$custom: #a9a220;
$custom-light: #c7bd69;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a220",
  "rgb": {
    "r": 169,
    "g": 162,
    "b": 32
  },
  "hsl": {
    "h": 56.934,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.69659,
    "c": 0.14001,
    "h": 106.2
  },
  "luminance": 0.3438
}

Semantic roles & 50–950 ramp

primary
#A9A220
secondary
#5F64C6
accent
#46EB3D
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#141207
muted
#82817A

Preview Lab

Preview with #A9A220

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

Preview Lab → · Contrast checker → · Palette generator →

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