#A9A828#A9A828

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

Color values

HEX#A9A828
RGBrgb(169, 168, 40)
HSLhsl(60, 62%, 41%)
HSVhsv(60, 76%, 66%)
CMYKcmyk(0%, 0.6%, 76.3%, 33.7%)
CIE-LABlab(66.97, -14.39, 61.25)
CIE-LCHlch(66.97, 62.92, 103.22°)
OKLaboklab(71.03% -0.0463 0.134)
OKLCHoklch(71.03% 0.142 109.1)
XYZxyz(30.7490, 36.5944, 7.4508)
Luminance0.3659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A828 #2829A9
analogous
#A96728 #A9A828 #69A928
triadic
#A9A828 #28A9A8 #A828A9
tetradic
#A9A828 #28A967 #2829A9 #A92869
square
#A9A828 #28A967 #2829A9 #A92869
split-complementary
#A9A828 #2869A9 #6728A9
monochromatic
#464611 #78771C #A9A828 #D1D03D #DDDC6F

Accessibility & contrast

On white

2.52
#A9A828 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#A9A828 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9A828
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9A828#FFFFFF#000000##000000
##A9A8281.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A106
Deuteranopia (green-blind)
#B8A533
Tritanopia (blue-blind)
#B59D90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a9a828;
/* rgb */ color: rgb(169, 168, 40);
/* oklch */ color: oklch(71.0% 0.142 109.1);
Tailwind
colors: {
  custom: {
    50: '#c6c16d',
    500: '#a9a828',
    950: '#000000',
  },
}
SCSS
$custom: #a9a828;
$custom-light: #c6c16d;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a828",
  "rgb": {
    "r": 169,
    "g": 168,
    "b": 40
  },
  "hsl": {
    "h": 59.535,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.71034,
    "c": 0.14177,
    "h": 109.1
  },
  "luminance": 0.36593
}

Semantic roles & 50–950 ramp

primary
#A9A828
secondary
#696AC4
accent
#44E543
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A9A828

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

Preview Lab → · Contrast checker → · Palette generator →

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