#A9A021#A9A021

#A9A021 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.2% C 0.138 H 105.1°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#A9A021
RGBrgb(169, 160, 33)
HSLhsl(56, 67%, 40%)
HSVhsv(56, 80%, 66%)
CMYKcmyk(0%, 5.3%, 80.5%, 33.7%)
CIE-LABlab(64.71, -10.49, 61.39)
CIE-LCHlch(64.71, 62.28, 99.70°)
OKLaboklab(69.22% -0.036 0.133)
OKLCHoklch(69.22% 0.138 105.1)
XYZxyz(29.2088, 33.6876, 6.4023)
Luminance0.3369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A021 #212AA9
analogous
#A95C21 #A9A021 #6EA921
triadic
#A9A021 #21A9A0 #A021A9
tetradic
#A9A021 #21A95C #212AA9 #A9216E
square
#A9A021 #21A95C #212AA9 #A9216E
split-complementary
#A9A021 #216EA9 #5C21A9
monochromatic
#433F0D #767017 #A9A021 #D7CC31 #E1D864

Accessibility & contrast

On white

2.71
#A9A021 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#A9A021 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9A021
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9A021#FFFFFF#000000##000000
##A9A0211.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#B29F2C
Tritanopia (blue-blind)
#B69589
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a9a021;
/* rgb */ color: rgb(169, 160, 33);
/* oklch */ color: oklch(69.2% 0.138 105.1);
Tailwind
colors: {
  custom: {
    50: '#c7bb69',
    500: '#a9a021',
    950: '#000000',
  },
}
SCSS
$custom: #a9a021;
$custom-light: #c7bb69;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a021",
  "rgb": {
    "r": 169,
    "g": 160,
    "b": 33
  },
  "hsl": {
    "h": 56.029,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.69222,
    "c": 0.13774,
    "h": 105.1
  },
  "luminance": 0.33686
}

Semantic roles & 50–950 ramp

primary
#A9A021
secondary
#6067C6
accent
#49EA3E
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#141107
muted
#82807A

Preview Lab

Preview with #A9A021

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

Preview Lab → · Contrast checker → · Palette generator →

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