#A9A123#A9A123

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

Color values

HEX#A9A123
RGBrgb(169, 161, 35)
HSLhsl(56, 66%, 40%)
HSVhsv(56, 79%, 66%)
CMYKcmyk(0%, 4.7%, 79.3%, 33.7%)
CIE-LABlab(65.00, -10.95, 61.04)
CIE-LCHlch(65.00, 62.02, 100.17°)
OKLaboklab(69.45% -0.0371 0.1326)
OKLCHoklch(69.45% 0.138 105.6)
XYZxyz(29.4117, 34.0473, 6.6123)
Luminance0.3405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A123 #232BA9
analogous
#A95E23 #A9A123 #6EA923
triadic
#A9A123 #23A9A1 #A123A9
tetradic
#A9A123 #23A95E #232BA9 #A9236E
square
#A9A123 #23A95E #232BA9 #A9236E
split-complementary
#A9A123 #236EA9 #5E23A9
monochromatic
#44400E #767119 #A9A123 #D5CB34 #DFD867

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A9A123#FFFFFF#000000##000000
##A9A1231.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)
#B3A02E
Tritanopia (blue-blind)
#B6968A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a9a123;
/* rgb */ color: rgb(169, 161, 35);
/* oklch */ color: oklch(69.5% 0.138 105.6);
Tailwind
colors: {
  custom: {
    50: '#c6bc6a',
    500: '#a9a123',
    950: '#000000',
  },
}
SCSS
$custom: #a9a123;
$custom-light: #c6bc6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a123",
  "rgb": {
    "r": 169,
    "g": 161,
    "b": 35
  },
  "hsl": {
    "h": 56.418,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.69453,
    "c": 0.13769,
    "h": 105.6
  },
  "luminance": 0.34046
}

Semantic roles & 50–950 ramp

primary
#A9A123
secondary
#6369C5
accent
#49E93F
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #A9A123

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

Preview Lab → · Contrast checker → · Palette generator →

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