#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 |
|---|---|
| RGB | rgb(169, 165, 31) |
| HSL | hsl(58, 69%, 39%) |
| HSV | hsv(58, 82%, 66%) |
| CMYK | cmyk(0%, 2.4%, 81.7%, 33.7%) |
| CIE-LAB | lab(66.09, -13.17, 63.16) |
| CIE-LCH | lch(66.09, 64.52, 101.78°) |
| OKLab | oklab(70.32% -0.0436 0.1364) |
| OKLCH | oklch(70.32% 0.143 107.7) |
| XYZ | xyz(30.0659, 35.4453, 6.5539) |
| Luminance | 0.3544 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 1.52
Vomit
#A2A415
ΔE00 1.67
Pea Soup
#929901
ΔE00 5.20
Muddy Yellow
#BFAC05
ΔE00 5.32
Pea Soup Green
#94A617
ΔE00 5.46
Mustard Green
#A8B504
ΔE00 5.61
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 |
|---|---|---|---|---|
| ##A9A51F | 1.00 | 2.60 | 8.09 | 8.09 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.09 | 21.00 | 1.00 | 1.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