#A6A620#A6A620
#A6A620 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.3% C 0.144 H 109.6°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A620 |
|---|---|
| RGB | rgb(166, 166, 32) |
| HSL | hsl(60, 68%, 39%) |
| HSV | hsv(60, 81%, 65%) |
| CMYK | cmyk(0%, 0%, 80.7%, 34.9%) |
| CIE-LAB | lab(66.12, -14.98, 62.81) |
| CIE-LCH | lch(66.12, 64.57, 103.41°) |
| OKLab | oklab(70.28% -0.0484 0.136) |
| OKLCH | oklch(70.28% 0.144 109.6) |
| XYZ | xyz(29.6240, 35.4846, 6.6550) |
| Luminance | 0.3548 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 0.97
Puke
#A5A502
ΔE00 1.37
Pea Soup Green
#94A617
ΔE00 4.43
Puke Green
#9AAE07
ΔE00 4.78
Pea Soup
#929901
ΔE00 4.80
Mustard Green
#A8B504
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A620 #2020A6
analogous
#A66320 #A6A620 #63A620
triadic
#A6A620 #20A6A6 #A620A6
tetradic
#A6A620 #20A663 #2020A6 #A62063
square
#A6A620 #20A663 #2020A6 #A62063
split-complementary
#A6A620 #2063A6 #6320A6
monochromatic
#3F3F0C #737316 #A6A620 #D6D62D #E0E060
Accessibility & contrast
On white
2.59
#A6A620 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.10
#A6A620 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A620
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A620 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A620 | 1.00 | 2.59 | 8.10 | 8.10 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B6A32D
Tritanopia (blue-blind)
#B29B8E
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a6a620; /* rgb */ color: rgb(166, 166, 32); /* oklch */ color: oklch(70.3% 0.144 109.6);
Tailwind
colors: {
custom: {
50: '#c4c069',
500: '#a6a620',
950: '#000000',
},
}SCSS
$custom: #a6a620; $custom-light: #c4c069; $custom-dark: #000000;
JSON
{
"hex": "#a6a620",
"rgb": {
"r": 166,
"g": 166,
"b": 32
},
"hsl": {
"h": 60,
"s": 67.677,
"l": 38.824
},
"oklch": {
"l": 0.70284,
"c": 0.14433,
"h": 109.6
},
"luminance": 0.35484
}Semantic roles & 50–950 ramp
primary
#A6A620
secondary
#5D5DC5
accent
#3DEB3D
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A