#A6A531#A6A531
#A6A531 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.2% C 0.134 H 108.9°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A531 |
|---|---|
| RGB | rgb(166, 165, 49) |
| HSL | hsl(59, 54%, 42%) |
| HSV | hsv(59, 70%, 65%) |
| CMYK | cmyk(0%, 0.6%, 70.5%, 34.9%) |
| CIE-LAB | lab(65.94, -13.74, 57.01) |
| CIE-LCH | lch(65.94, 58.64, 103.55°) |
| OKLab | oklab(70.16% -0.0434 0.1268) |
| OKLCH | oklch(70.16% 0.134 108.9) |
| XYZ | xyz(29.7365, 35.2399, 8.1407) |
| Luminance | 0.3524 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.17
Puke
#A5A502
ΔE00 2.88
Pea Soup Green
#94A617
ΔE00 4.73
Pea Soup
#929901
ΔE00 5.01
Puke Green
#9AAE07
ΔE00 5.49
Baby Poop Green
#8F9805
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A531 #3132A6
analogous
#A66A31 #A6A531 #6DA631
triadic
#A6A531 #31A6A5 #A531A6
tetradic
#A6A531 #31A66A #3132A6 #A6316D
square
#A6A531 #31A66A #3132A6 #A6316D
split-complementary
#A6A531 #316DA6 #6A31A6
monochromatic
#474715 #777623 #A6A531 #CAC94A #D8D77A
Accessibility & contrast
On white
2.61
#A6A531 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.05
#A6A531 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A531
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A531 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A531 | 1.00 | 2.61 | 8.05 | 8.05 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29E1E
Deuteranopia (green-blind)
#B4A239
Tritanopia (blue-blind)
#B29A8E
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a6a531; /* rgb */ color: rgb(166, 165, 49); /* oklch */ color: oklch(70.2% 0.134 108.9);
Tailwind
colors: {
custom: {
50: '#c4bf71',
500: '#a6a531',
950: '#000000',
},
}SCSS
$custom: #a6a531; $custom-light: #c4bf71; $custom-dark: #000000;
JSON
{
"hex": "#a6a531",
"rgb": {
"r": 166,
"g": 165,
"b": 49
},
"hsl": {
"h": 59.487,
"s": 54.419,
"l": 42.157
},
"oklch": {
"l": 0.70162,
"c": 0.13402,
"h": 108.9
},
"luminance": 0.35239
}Semantic roles & 50–950 ramp
primary
#A6A531
secondary
#7373C0
accent
#4BDE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B