#A9A623#A9A623

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

Color values

HEX#A9A623
RGBrgb(169, 166, 35)
HSLhsl(59, 66%, 40%)
HSVhsv(59, 79%, 66%)
CMYKcmyk(0%, 1.8%, 79.3%, 33.7%)
CIE-LABlab(66.39, -13.55, 62.28)
CIE-LCHlch(66.39, 63.74, 102.28°)
OKLaboklab(70.56% -0.0444 0.1353)
OKLCHoklch(70.56% 0.142 108.2)
XYZxyz(30.3030, 35.8298, 6.9094)
Luminance0.3583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A623 #2326A9
analogous
#A96323 #A9A623 #69A923
triadic
#A9A623 #23A9A6 #A623A9
tetradic
#A9A623 #23A963 #2326A9 #A92369
square
#A9A623 #23A963 #2326A9 #A92369
split-complementary
#A9A623 #2369A9 #6323A9
monochromatic
#44420E #767419 #A9A623 #D5D134 #DFDD67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A9A623#FFFFFF#000000##000000
##A9A6231.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)
#B49F00
Deuteranopia (green-blind)
#B6A32F
Tritanopia (blue-blind)
#B69B8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a9a623;
/* rgb */ color: rgb(169, 166, 35);
/* oklch */ color: oklch(70.6% 0.142 108.2);
Tailwind
colors: {
  custom: {
    50: '#c6c06a',
    500: '#a9a623',
    950: '#000000',
  },
}
SCSS
$custom: #a9a623;
$custom-light: #c6c06a;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a623",
  "rgb": {
    "r": 169,
    "g": 166,
    "b": 35
  },
  "hsl": {
    "h": 58.657,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.70561,
    "c": 0.14234,
    "h": 108.2
  },
  "luminance": 0.35829
}

Semantic roles & 50–950 ramp

primary
#A9A623
secondary
#6365C5
accent
#43E93F
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141207
muted
#82817A

Preview Lab

Preview with #A9A623

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

Preview Lab → · Contrast checker → · Palette generator →

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