#A9A51F#A9A51F

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

Color values

HEX#A9A51F
RGBrgb(169, 165, 31)
HSLhsl(58, 69%, 39%)
HSVhsv(58, 82%, 66%)
CMYKcmyk(0%, 2.4%, 81.7%, 33.7%)
CIE-LABlab(66.09, -13.17, 63.16)
CIE-LCHlch(66.09, 64.52, 101.78°)
OKLaboklab(70.32% -0.0436 0.1364)
OKLCHoklch(70.32% 0.143 107.7)
XYZxyz(30.0659, 35.4453, 6.5539)
Luminance0.3544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A51F #1F23A9
analogous
#A9601F #A9A51F #68A91F
triadic
#A9A51F #1FA9A5 #A51FA9
tetradic
#A9A51F #1FA960 #1F23A9 #A91F68
square
#A9A51F #1FA960 #1F23A9 #A91F68
split-complementary
#A9A51F #1F68A9 #601FA9
monochromatic
#42400C #757316 #A9A51F #D8D32D #E2DE60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A9A51F#FFFFFF#000000##000000
##A9A51F1.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)
#B6A32C
Tritanopia (blue-blind)
#B69A8D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a9a51f;
/* rgb */ color: rgb(169, 165, 31);
/* oklch */ color: oklch(70.3% 0.143 107.7);
Tailwind
colors: {
  custom: {
    50: '#c7bf69',
    500: '#a9a51f',
    950: '#000000',
  },
}
SCSS
$custom: #a9a51f;
$custom-light: #c7bf69;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a51f",
  "rgb": {
    "r": 169,
    "g": 165,
    "b": 31
  },
  "hsl": {
    "h": 58.261,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.7032,
    "c": 0.14321,
    "h": 107.7
  },
  "luminance": 0.35444
}

Semantic roles & 50–950 ramp

primary
#A9A51F
secondary
#5D60C7
accent
#41EC3C
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#141207
muted
#82817A

Preview Lab

Preview with #A9A51F

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

Preview Lab → · Contrast checker → · Palette generator →

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