#A6A021#A6A021
#A6A021 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 68.9% C 0.138 H 106.6°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A021 |
|---|---|
| RGB | rgb(166, 160, 33) |
| HSL | hsl(57, 67%, 39%) |
| HSV | hsv(57, 80%, 65%) |
| CMYK | cmyk(0%, 3.6%, 80.1%, 34.9%) |
| CIE-LAB | lab(64.45, -11.83, 61.06) |
| CIE-LCH | lch(64.45, 62.19, 100.96°) |
| OKLab | oklab(68.95% -0.0396 0.1324) |
| OKLCH | oklch(68.95% 0.138 106.6) |
| XYZ | xyz(28.5724, 33.3595, 6.3725) |
| Luminance | 0.3336 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.31
Puke
#A5A502
ΔE00 2.49
Pea Soup
#929901
ΔE00 4.51
Baby Poop Green
#8F9805
ΔE00 5.17
Pea Soup Green
#94A617
ΔE00 5.92
Muddy Yellow
#BFAC05
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A021 #2127A6
analogous
#A65E21 #A6A021 #6AA621
triadic
#A6A021 #21A6A0 #A021A6
tetradic
#A6A021 #21A65E #2127A6 #A6216A
square
#A6A021 #21A65E #2127A6 #A6216A
split-complementary
#A6A021 #216AA6 #5E21A6
monochromatic
#403E0D #736F17 #A6A021 #D6CE2F #E0DA62
Accessibility & contrast
On white
2.74
#A6A021 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.67
#A6A021 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A021
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A021 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A021 | 1.00 | 2.74 | 7.67 | 7.67 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A00
Deuteranopia (green-blind)
#B19E2C
Tritanopia (blue-blind)
#B39589
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #a6a021; /* rgb */ color: rgb(166, 160, 33); /* oklch */ color: oklch(68.9% 0.138 106.6);
Tailwind
colors: {
custom: {
50: '#c4bb69',
500: '#a6a021',
950: '#000000',
},
}SCSS
$custom: #a6a021; $custom-light: #c4bb69; $custom-dark: #000000;
JSON
{
"hex": "#a6a021",
"rgb": {
"r": 166,
"g": 160,
"b": 33
},
"hsl": {
"h": 57.293,
"s": 66.834,
"l": 39.02
},
"oklch": {
"l": 0.68949,
"c": 0.13818,
"h": 106.6
},
"luminance": 0.33358
}Semantic roles & 50–950 ramp
primary
#A6A021
secondary
#5E63C5
accent
#46EA3E
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A