#A6A522#A6A522
#A6A522 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.1% C 0.142 H 109.1°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A522 |
|---|---|
| RGB | rgb(166, 165, 34) |
| HSL | hsl(60, 66%, 39%) |
| HSV | hsv(60, 80%, 65%) |
| CMYK | cmyk(0%, 0.6%, 79.5%, 34.9%) |
| CIE-LAB | lab(65.85, -14.39, 62.00) |
| CIE-LCH | lch(65.85, 63.65, 103.07°) |
| OKLab | oklab(70.07% -0.0466 0.1346) |
| OKLCH | oklch(70.07% 0.142 109.1) |
| XYZ | xyz(29.4709, 35.1337, 6.7421) |
| Luminance | 0.3513 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.07
Puke
#A5A502
ΔE00 1.52
Pea Soup Green
#94A617
ΔE00 4.62
Pea Soup
#929901
ΔE00 4.69
Puke Green
#9AAE07
ΔE00 5.11
Baby Poop Green
#8F9805
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A522 #2223A6
analogous
#A66322 #A6A522 #65A622
triadic
#A6A522 #22A6A5 #A522A6
tetradic
#A6A522 #22A663 #2223A6 #A62265
square
#A6A522 #22A663 #2223A6 #A62265
split-complementary
#A6A522 #2265A6 #6322A6
monochromatic
#40400D #737318 #A6A522 #D5D330 #DFDE63
Accessibility & contrast
On white
2.62
#A6A522 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.03
#A6A522 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A522
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A522 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A522 | 1.00 | 2.62 | 8.03 | 8.03 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B5A22E
Tritanopia (blue-blind)
#B29A8D
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a6a522; /* rgb */ color: rgb(166, 165, 34); /* oklch */ color: oklch(70.1% 0.142 109.1);
Tailwind
colors: {
custom: {
50: '#c4bf6a',
500: '#a6a522',
950: '#000000',
},
}SCSS
$custom: #a6a522; $custom-light: #c4bf6a; $custom-dark: #000000;
JSON
{
"hex": "#a6a522",
"rgb": {
"r": 166,
"g": 165,
"b": 34
},
"hsl": {
"h": 59.545,
"s": 66,
"l": 39.216
},
"oklch": {
"l": 0.7007,
"c": 0.14245,
"h": 109.1
},
"luminance": 0.35133
}Semantic roles & 50–950 ramp
primary
#A6A522
secondary
#5F60C4
accent
#40E93F
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A