#A9A628#A9A628

#A9A628 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.6% C 0.140 H 108.1°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#A9A628
RGBrgb(169, 166, 40)
HSLhsl(59, 62%, 41%)
HSVhsv(59, 76%, 66%)
CMYKcmyk(0%, 1.8%, 76.3%, 33.7%)
CIE-LABlab(66.41, -13.36, 60.74)
CIE-LCHlch(66.41, 62.19, 102.40°)
OKLaboklab(70.59% -0.0434 0.1329)
OKLCHoklch(70.59% 0.14 108.1)
XYZxyz(30.3826, 35.8617, 7.3286)
Luminance0.3586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A628 #282BA9
analogous
#A96528 #A9A628 #6BA928
triadic
#A9A628 #28A9A6 #A628A9
tetradic
#A9A628 #28A965 #282BA9 #A9286B
square
#A9A628 #28A965 #282BA9 #A9286B
split-complementary
#A9A628 #286BA9 #6528A9
monochromatic
#464511 #78751C #A9A628 #D1CE3D #DDDA6F

Accessibility & contrast

On white

2.57
#A9A628 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#A9A628 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9A628
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9A628#FFFFFF#000000##000000
##A9A6281.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F08
Deuteranopia (green-blind)
#B6A332
Tritanopia (blue-blind)
#B69B8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a9a628;
/* rgb */ color: rgb(169, 166, 40);
/* oklch */ color: oklch(70.6% 0.140 108.1);
Tailwind
colors: {
  custom: {
    50: '#c6c06d',
    500: '#a9a628',
    950: '#000000',
  },
}
SCSS
$custom: #a9a628;
$custom-light: #c6c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a628",
  "rgb": {
    "r": 169,
    "g": 166,
    "b": 40
  },
  "hsl": {
    "h": 58.605,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70589,
    "c": 0.13982,
    "h": 108.1
  },
  "luminance": 0.35861
}

Semantic roles & 50–950 ramp

primary
#A9A628
secondary
#696BC4
accent
#47E543
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A9A628

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

Preview Lab → · Contrast checker → · Palette generator →

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