#A9A51C#A9A51C

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

Color values

HEX#A9A51C
RGBrgb(169, 165, 28)
HSLhsl(58, 72%, 39%)
HSVhsv(58, 83%, 66%)
CMYKcmyk(0%, 2.4%, 83.4%, 33.7%)
CIE-LABlab(66.08, -13.26, 63.94)
CIE-LCHlch(66.08, 65.30, 101.72°)
OKLaboklab(70.31% -0.0441 0.1376)
OKLCHoklch(70.31% 0.144 107.8)
XYZxyz(30.0282, 35.4302, 6.3553)
Luminance0.3543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A51C #1C20A9
analogous
#A95E1C #A9A51C #66A91C
triadic
#A9A51C #1CA9A5 #A51CA9
tetradic
#A9A51C #1CA95E #1C20A9 #A91C66
square
#A9A51C #1CA95E #1C20A9 #A91C66
split-complementary
#A9A51C #1C66A9 #5E1CA9
monochromatic
#403E0B #747213 #A9A51C #DBD627 #E4E05B

Accessibility & contrast

On white

2.60
#A9A51C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A9A51C#FFFFFF#000000##000000
##A9A51C1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49E00
Deuteranopia (green-blind)
#B6A32A
Tritanopia (blue-blind)
#B6998D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a9a51c;
/* rgb */ color: rgb(169, 165, 28);
/* oklch */ color: oklch(70.3% 0.144 107.8);
Tailwind
colors: {
  custom: {
    50: '#c7bf68',
    500: '#a9a51c',
    950: '#000000',
  },
}
SCSS
$custom: #a9a51c;
$custom-light: #c7bf68;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a51c",
  "rgb": {
    "r": 169,
    "g": 165,
    "b": 28
  },
  "hsl": {
    "h": 58.298,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.70307,
    "c": 0.14444,
    "h": 107.8
  },
  "luminance": 0.35429
}

Semantic roles & 50–950 ramp

primary
#A9A51C
secondary
#595CC8
accent
#3FEE39
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#141207
muted
#82817A

Preview Lab

Preview with #A9A51C

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

Preview Lab → · Contrast checker → · Palette generator →

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