#A9A31F#A9A31F
#A9A31F is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.9% C 0.141 H 106.7°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #A9A31F |
|---|---|
| RGB | rgb(169, 163, 31) |
| HSL | hsl(57, 69%, 39%) |
| HSV | hsv(57, 82%, 66%) |
| CMYK | cmyk(0%, 3.6%, 81.7%, 33.7%) |
| CIE-LAB | lab(65.54, -12.13, 62.68) |
| CIE-LCH | lch(65.54, 63.84, 100.95°) |
| OKLab | oklab(69.88% -0.0407 0.1354) |
| OKLCH | oklch(69.88% 0.141 106.7) |
| XYZ | xyz(29.7080, 34.7294, 6.4346) |
| Luminance | 0.3473 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 1.95
Vomit
#A2A415
ΔE00 2.09
Pea Soup
#929901
ΔE00 5.13
Muddy Yellow
#BFAC05
ΔE00 5.26
Baby Poop Green
#8F9805
ΔE00 5.81
Pea Soup Green
#94A617
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A9A31F #1F25A9
analogous
#A95E1F #A9A31F #6AA91F
triadic
#A9A31F #1FA9A3 #A31FA9
tetradic
#A9A31F #1FA95E #1F25A9 #A91F6A
square
#A9A31F #1FA95E #1F25A9 #A91F6A
split-complementary
#A9A31F #1F6AA9 #5E1FA9
monochromatic
#423F0C #757116 #A9A31F #D8D12D #E2DC60
Accessibility & contrast
On white
2.64
#A9A31F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.95
#A9A31F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A9A31F
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A9A31F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A9A31F | 1.00 | 2.64 | 7.95 | 7.95 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29C00
Deuteranopia (green-blind)
#B4A12B
Tritanopia (blue-blind)
#B6988B
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a9a31f; /* rgb */ color: rgb(169, 163, 31); /* oklch */ color: oklch(69.9% 0.141 106.7);
Tailwind
colors: {
custom: {
50: '#c7bd68',
500: '#a9a31f',
950: '#000000',
},
}SCSS
$custom: #a9a31f; $custom-light: #c7bd68; $custom-dark: #000000;
JSON
{
"hex": "#a9a31f",
"rgb": {
"r": 169,
"g": 163,
"b": 31
},
"hsl": {
"h": 57.391,
"s": 69,
"l": 39.216
},
"oklch": {
"l": 0.69876,
"c": 0.14136,
"h": 106.7
},
"luminance": 0.34728
}Semantic roles & 50–950 ramp
primary
#A9A31F
secondary
#5D62C7
accent
#44EC3C
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#141207
muted
#82817A