#A6A920#A6A920
#A6A920 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.0% C 0.147 H 111.0°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A920 |
|---|---|
| RGB | rgb(166, 169, 32) |
| HSL | hsl(61, 68%, 39%) |
| HSV | hsv(61, 81%, 66%) |
| CMYK | cmyk(1.8%, 0%, 81.1%, 33.7%) |
| CIE-LAB | lab(66.97, -16.52, 63.55) |
| CIE-LCH | lch(66.97, 65.66, 104.57°) |
| OKLab | oklab(70.96% -0.0527 0.1376) |
| OKLCH | oklch(70.96% 0.147 111) |
| XYZ | xyz(30.1757, 36.5881, 6.8389) |
| Luminance | 0.3659 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.51
Puke
#A5A502
ΔE00 1.83
Puke Green
#9AAE07
ΔE00 3.88
Mustard Green
#A8B504
ΔE00 3.94
Pea Soup Green
#94A617
ΔE00 3.97
Barf Green
#94AC02
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A920 #2320A9
analogous
#A96820 #A6A920 #62A920
triadic
#A6A920 #20A6A9 #A920A6
tetradic
#A6A920 #20A968 #2320A9 #A92062
square
#A6A920 #20A968 #2320A9 #A92062
split-complementary
#A6A920 #2062A9 #6820A9
monochromatic
#41420D #737616 #A6A920 #D4D82F #DFE162
Accessibility & contrast
On white
2.52
#A6A920 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.32
#A6A920 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A920
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A920 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A920 | 1.00 | 2.52 | 8.32 | 8.32 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B8A52D
Tritanopia (blue-blind)
#B29E90
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #a6a920; /* rgb */ color: rgb(166, 169, 32); /* oklch */ color: oklch(71.0% 0.147 111.0);
Tailwind
colors: {
custom: {
50: '#c4c26a',
500: '#a6a920',
950: '#000000',
},
}SCSS
$custom: #a6a920; $custom-light: #c4c26a; $custom-dark: #000000;
JSON
{
"hex": "#a6a920",
"rgb": {
"r": 166,
"g": 169,
"b": 32
},
"hsl": {
"h": 61.314,
"s": 68.159,
"l": 39.412
},
"oklch": {
"l": 0.70958,
"c": 0.1473,
"h": 111
},
"luminance": 0.36587
}Semantic roles & 50–950 ramp
primary
#A6A920
secondary
#615FC6
accent
#3DEB41
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A