#A9A523#A9A523

#A9A523 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.3% C 0.141 H 107.7°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#A9A523
RGBrgb(169, 165, 35)
HSLhsl(58, 66%, 40%)
HSVhsv(58, 79%, 66%)
CMYKcmyk(0%, 2.4%, 79.3%, 33.7%)
CIE-LABlab(66.11, -13.03, 62.03)
CIE-LCHlch(66.11, 63.39, 101.87°)
OKLaboklab(70.34% -0.0429 0.1347)
OKLCHoklch(70.34% 0.141 107.7)
XYZxyz(30.1219, 35.4677, 6.8490)
Luminance0.3547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A523 #2327A9
analogous
#A96223 #A9A523 #6AA923
triadic
#A9A523 #23A9A5 #A523A9
tetradic
#A9A523 #23A962 #2327A9 #A9236A
square
#A9A523 #23A962 #2327A9 #A9236A
split-complementary
#A9A523 #236AA9 #6223A9
monochromatic
#44420E #767319 #A9A523 #D5D034 #DFDC67

Accessibility & contrast

On white

2.59
#A9A523 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#A9A523 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9A523
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9A523#FFFFFF#000000##000000
##A9A5231.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B6A32E
Tritanopia (blue-blind)
#B69A8D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a9a523;
/* rgb */ color: rgb(169, 165, 35);
/* oklch */ color: oklch(70.3% 0.141 107.7);
Tailwind
colors: {
  custom: {
    50: '#c6bf6a',
    500: '#a9a523',
    950: '#000000',
  },
}
SCSS
$custom: #a9a523;
$custom-light: #c6bf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a523",
  "rgb": {
    "r": 169,
    "g": 165,
    "b": 35
  },
  "hsl": {
    "h": 58.209,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.70339,
    "c": 0.14139,
    "h": 107.7
  },
  "luminance": 0.35467
}

Semantic roles & 50–950 ramp

primary
#A9A523
secondary
#6366C5
accent
#44E93F
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141207
muted
#82817A

Preview Lab

Preview with #A9A523

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

Preview Lab → · Contrast checker → · Palette generator →

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