#A6A031#A6A031
#A6A031 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 69.0% C 0.129 H 106.3°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A031 |
|---|---|
| RGB | rgb(166, 160, 49) |
| HSL | hsl(57, 54%, 42%) |
| HSV | hsv(57, 70%, 65%) |
| CMYK | cmyk(0%, 3.6%, 70.5%, 34.9%) |
| CIE-LAB | lab(64.54, -11.12, 55.64) |
| CIE-LCH | lch(64.54, 56.74, 101.31°) |
| OKLab | oklab(69.05% -0.0361 0.1239) |
| OKLCH | oklch(69.05% 0.129 106.3) |
| XYZ | xyz(28.8522, 33.4714, 7.8460) |
| Luminance | 0.3347 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.13
Puke
#A5A502
ΔE00 3.64
Pea Soup
#929901
ΔE00 4.93
Baby Poop Green
#8F9805
ΔE00 5.45
Pea Soup Green
#94A617
ΔE00 6.08
Brown Yellow
#B29705
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A031 #3137A6
analogous
#A66631 #A6A031 #72A631
triadic
#A6A031 #31A6A0 #A031A6
tetradic
#A6A031 #31A666 #3137A6 #A63172
square
#A6A031 #31A666 #3137A6 #A63172
split-complementary
#A6A031 #3172A6 #6631A6
monochromatic
#474515 #777223 #A6A031 #CAC34A #D8D37A
Accessibility & contrast
On white
2.73
#A6A031 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.69
#A6A031 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A031
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A031 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A031 | 1.00 | 2.73 | 7.69 | 7.69 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A1F
Deuteranopia (green-blind)
#B09F39
Tritanopia (blue-blind)
#B2958A
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #a6a031; /* rgb */ color: rgb(166, 160, 49); /* oklch */ color: oklch(69.0% 0.129 106.3);
Tailwind
colors: {
custom: {
50: '#c4bb70',
500: '#a6a031',
950: '#000000',
},
}SCSS
$custom: #a6a031; $custom-light: #c4bb70; $custom-dark: #000000;
JSON
{
"hex": "#a6a031",
"rgb": {
"r": 166,
"g": 160,
"b": 49
},
"hsl": {
"h": 56.923,
"s": 54.419,
"l": 42.157
},
"oklch": {
"l": 0.6905,
"c": 0.12904,
"h": 106.3
},
"luminance": 0.3347
}Semantic roles & 50–950 ramp
primary
#A6A031
secondary
#7377C0
accent
#52DE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B