#A9A121#A9A121

#A9A121 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.4% C 0.139 H 105.7°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#A9A121
RGBrgb(169, 161, 33)
HSLhsl(56, 67%, 40%)
HSVhsv(56, 80%, 66%)
CMYKcmyk(0%, 4.7%, 80.5%, 33.7%)
CIE-LABlab(64.99, -11.02, 61.63)
CIE-LCHlch(64.99, 62.61, 100.13°)
OKLaboklab(69.44% -0.0375 0.1335)
OKLCHoklch(69.44% 0.139 105.7)
XYZxyz(29.3829, 34.0357, 6.4604)
Luminance0.3403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A121 #2129A9
analogous
#A95D21 #A9A121 #6DA921
triadic
#A9A121 #21A9A1 #A121A9
tetradic
#A9A121 #21A95D #2129A9 #A9216D
square
#A9A121 #21A95D #2129A9 #A9216D
split-complementary
#A9A121 #216DA9 #5D21A9
monochromatic
#433F0D #767017 #A9A121 #D7CD31 #E1D964

Accessibility & contrast

On white

2.69
#A9A121 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#A9A121 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9A121
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9A121#FFFFFF#000000##000000
##A9A1211.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#B3A02C
Tritanopia (blue-blind)
#B6968A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a9a121;
/* rgb */ color: rgb(169, 161, 33);
/* oklch */ color: oklch(69.4% 0.139 105.7);
Tailwind
colors: {
  custom: {
    50: '#c7bc69',
    500: '#a9a121',
    950: '#000000',
  },
}
SCSS
$custom: #a9a121;
$custom-light: #c7bc69;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a121",
  "rgb": {
    "r": 169,
    "g": 161,
    "b": 33
  },
  "hsl": {
    "h": 56.471,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.69443,
    "c": 0.13865,
    "h": 105.7
  },
  "luminance": 0.34035
}

Semantic roles & 50–950 ramp

primary
#A9A121
secondary
#6066C6
accent
#48EA3E
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#141107
muted
#82807A

Preview Lab

Preview with #A9A121

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

Preview Lab → · Contrast checker → · Palette generator →

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