#A8A531#A8A531
#A8A531 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.3% C 0.134 H 107.9°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A531 |
|---|---|
| RGB | rgb(168, 165, 49) |
| HSL | hsl(58, 55%, 43%) |
| HSV | hsv(58, 71%, 66%) |
| CMYK | cmyk(0%, 1.8%, 70.8%, 34.1%) |
| CIE-LAB | lab(66.10, -12.86, 57.23) |
| CIE-LCH | lch(66.10, 58.66, 102.66°) |
| OKLab | oklab(70.34% -0.0411 0.1272) |
| OKLCH | oklch(70.34% 0.134 107.9) |
| XYZ | xyz(30.1591, 35.4578, 8.1605) |
| Luminance | 0.3546 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.34
Puke
#A5A502
ΔE00 2.86
Pea Soup Green
#94A617
ΔE00 5.24
Pea Soup
#929901
ΔE00 5.30
Baby Poop Green
#8F9805
ΔE00 5.83
Puke Green
#9AAE07
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A531 #3134A8
analogous
#A86931 #A8A531 #70A831
triadic
#A8A531 #31A8A5 #A531A8
tetradic
#A8A531 #31A869 #3134A8 #A83170
square
#A8A531 #31A869 #3134A8 #A83170
split-complementary
#A8A531 #3170A8 #6931A8
monochromatic
#494815 #797623 #A8A531 #CBC74C #D8D67B
Accessibility & contrast
On white
2.60
#A8A531 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.09
#A8A531 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A531
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A531 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A531 | 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)
#B39E1E
Deuteranopia (green-blind)
#B5A339
Tritanopia (blue-blind)
#B49A8E
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a8a531; /* rgb */ color: rgb(168, 165, 49); /* oklch */ color: oklch(70.3% 0.134 107.9);
Tailwind
colors: {
custom: {
50: '#c5bf71',
500: '#a8a531',
950: '#000000',
},
}SCSS
$custom: #a8a531; $custom-light: #c5bf71; $custom-dark: #000000;
JSON
{
"hex": "#a8a531",
"rgb": {
"r": 168,
"g": 165,
"b": 49
},
"hsl": {
"h": 58.487,
"s": 54.839,
"l": 42.549
},
"oklch": {
"l": 0.70337,
"c": 0.13366,
"h": 107.9
},
"luminance": 0.35457
}Semantic roles & 50–950 ramp
primary
#A8A531
secondary
#7476C1
accent
#4DDE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B