#A6A431#A6A431
#A6A431 is a light, vivid yellow. Relative luminance 0.349; OKLCH L 69.9% C 0.133 H 108.4°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A431 |
|---|---|
| RGB | rgb(166, 164, 49) |
| HSL | hsl(59, 54%, 42%) |
| HSV | hsv(59, 70%, 65%) |
| CMYK | cmyk(0%, 1.2%, 70.5%, 34.9%) |
| CIE-LAB | lab(65.66, -13.22, 56.74) |
| CIE-LCH | lch(65.66, 58.26, 103.11°) |
| OKLab | oklab(69.94% -0.042 0.1262) |
| OKLCH | oklch(69.94% 0.133 108.4) |
| XYZ | xyz(29.5568, 34.8806, 8.0808) |
| Luminance | 0.3488 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.27
Puke
#A5A502
ΔE00 2.95
Pea Soup
#929901
ΔE00 4.93
Pea Soup Green
#94A617
ΔE00 4.96
Baby Poop Green
#8F9805
ΔE00 5.44
Puke Green
#9AAE07
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A431 #3133A6
analogous
#A66931 #A6A431 #6EA631
triadic
#A6A431 #31A6A4 #A431A6
tetradic
#A6A431 #31A669 #3133A6 #A6316E
square
#A6A431 #31A669 #3133A6 #A6316E
split-complementary
#A6A431 #316EA6 #6931A6
monochromatic
#474715 #777523 #A6A431 #CAC84A #D8D67A
Accessibility & contrast
On white
2.63
#A6A431 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.98
#A6A431 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A431
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A431 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A431 | 1.00 | 2.63 | 7.98 | 7.98 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29D1E
Deuteranopia (green-blind)
#B3A139
Tritanopia (blue-blind)
#B2998D
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a6a431; /* rgb */ color: rgb(166, 164, 49); /* oklch */ color: oklch(69.9% 0.133 108.4);
Tailwind
colors: {
custom: {
50: '#c4be71',
500: '#a6a431',
950: '#000000',
},
}SCSS
$custom: #a6a431; $custom-light: #c4be71; $custom-dark: #000000;
JSON
{
"hex": "#a6a431",
"rgb": {
"r": 166,
"g": 164,
"b": 49
},
"hsl": {
"h": 58.974,
"s": 54.419,
"l": 42.157
},
"oklch": {
"l": 0.69939,
"c": 0.133,
"h": 108.4
},
"luminance": 0.3488
}Semantic roles & 50–950 ramp
primary
#A6A431
secondary
#7374C0
accent
#4DDE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B