#A8A931#A8A931
#A8A931 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.2% C 0.138 H 109.9°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A931 |
|---|---|
| RGB | rgb(168, 169, 49) |
| HSL | hsl(61, 55%, 43%) |
| HSV | hsv(61, 71%, 66%) |
| CMYK | cmyk(0.6%, 0%, 71%, 33.7%) |
| CIE-LAB | lab(67.22, -14.93, 58.33) |
| CIE-LCH | lch(67.22, 60.21, 104.36°) |
| OKLab | oklab(71.23% -0.0469 0.1295) |
| OKLCH | oklch(71.23% 0.138 109.9) |
| XYZ | xyz(30.8919, 36.9234, 8.4048) |
| Luminance | 0.3692 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.34
Puke
#A5A502
ΔE00 2.88
Pea Soup Green
#94A617
ΔE00 4.49
Puke Green
#9AAE07
ΔE00 4.71
Mustard Green
#A8B504
ΔE00 4.80
Barf Green
#94AC02
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A931 #3231A9
analogous
#A96E31 #A8A931 #6CA931
triadic
#A8A931 #31A8A9 #A931A8
tetradic
#A8A931 #31A96E #3231A9 #A9316C
square
#A8A931 #31A96E #3231A9 #A9316C
split-complementary
#A8A931 #316CA9 #6E31A9
monochromatic
#4A4A15 #797A23 #A8A931 #CACB4C #D8D97C
Accessibility & contrast
On white
2.50
#A8A931 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.38
#A8A931 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A931
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A931 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A931 | 1.00 | 2.50 | 8.38 | 8.38 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A21C
Deuteranopia (green-blind)
#B8A53A
Tritanopia (blue-blind)
#B49E92
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a8a931; /* rgb */ color: rgb(168, 169, 49); /* oklch */ color: oklch(71.2% 0.138 109.9);
Tailwind
colors: {
custom: {
50: '#c5c271',
500: '#a8a931',
950: '#000000',
},
}SCSS
$custom: #a8a931; $custom-light: #c5c271; $custom-dark: #000000;
JSON
{
"hex": "#a8a931",
"rgb": {
"r": 168,
"g": 169,
"b": 49
},
"hsl": {
"h": 60.5,
"s": 55.046,
"l": 42.745
},
"oklch": {
"l": 0.71228,
"c": 0.13772,
"h": 109.9
},
"luminance": 0.36923
}Semantic roles & 50–950 ramp
primary
#A8A931
secondary
#7574C1
accent
#49DE4B
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B