#A6A322#A6A322
#A6A322 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.6% C 0.141 H 108.1°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A322 |
|---|---|
| RGB | rgb(166, 163, 34) |
| HSL | hsl(59, 66%, 39%) |
| HSV | hsv(59, 80%, 65%) |
| CMYK | cmyk(0%, 1.8%, 79.5%, 34.9%) |
| CIE-LAB | lab(65.29, -13.36, 61.51) |
| CIE-LCH | lch(65.29, 62.94, 102.25°) |
| OKLab | oklab(69.62% -0.0437 0.1335) |
| OKLCH | oklch(69.62% 0.141 108.1) |
| XYZ | xyz(29.1130, 34.4179, 6.6228) |
| Luminance | 0.3442 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.43
Puke
#A5A502
ΔE00 1.77
Pea Soup
#929901
ΔE00 4.53
Pea Soup Green
#94A617
ΔE00 5.09
Baby Poop Green
#8F9805
ΔE00 5.17
Puke Green
#9AAE07
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A322 #2225A6
analogous
#A66122 #A6A322 #67A622
triadic
#A6A322 #22A6A3 #A322A6
tetradic
#A6A322 #22A661 #2225A6 #A62267
square
#A6A322 #22A661 #2225A6 #A62267
split-complementary
#A6A322 #2267A6 #6122A6
monochromatic
#403F0D #737118 #A6A322 #D5D130 #DFDC63
Accessibility & contrast
On white
2.66
#A6A322 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.88
#A6A322 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A322
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A322 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A322 | 1.00 | 2.66 | 7.88 | 7.88 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B3A02D
Tritanopia (blue-blind)
#B2988B
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a6a322; /* rgb */ color: rgb(166, 163, 34); /* oklch */ color: oklch(69.6% 0.141 108.1);
Tailwind
colors: {
custom: {
50: '#c4bd69',
500: '#a6a322',
950: '#000000',
},
}SCSS
$custom: #a6a322; $custom-light: #c4bd69; $custom-dark: #000000;
JSON
{
"hex": "#a6a322",
"rgb": {
"r": 166,
"g": 163,
"b": 34
},
"hsl": {
"h": 58.636,
"s": 66,
"l": 39.216
},
"oklch": {
"l": 0.69623,
"c": 0.14052,
"h": 108.1
},
"luminance": 0.34417
}Semantic roles & 50–950 ramp
primary
#A6A322
secondary
#5F62C4
accent
#43E93F
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A