#A6A928#A6A928
#A6A928 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.0% C 0.143 H 110.9°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A928 |
|---|---|
| RGB | rgb(166, 169, 40) |
| HSL | hsl(61, 62%, 41%) |
| HSV | hsv(61, 76%, 66%) |
| CMYK | cmyk(1.8%, 0%, 76.3%, 33.7%) |
| CIE-LAB | lab(67.00, -16.22, 61.19) |
| CIE-LCH | lch(67.00, 63.30, 104.85°) |
| OKLab | oklab(71% -0.0512 0.134) |
| OKLCH | oklch(71% 0.143 110.9) |
| XYZ | xyz(30.2979, 36.6370, 7.4827) |
| Luminance | 0.3664 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.78
Puke
#A5A502
ΔE00 2.32
Pea Soup Green
#94A617
ΔE00 3.92
Puke Green
#9AAE07
ΔE00 4.00
Mustard Green
#A8B504
ΔE00 4.20
Barf Green
#94AC02
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A928 #2B28A9
analogous
#A96B28 #A6A928 #65A928
triadic
#A6A928 #28A6A9 #A928A6
tetradic
#A6A928 #28A96B #2B28A9 #A92865
square
#A6A928 #28A96B #2B28A9 #A92865
split-complementary
#A6A928 #2865A9 #6B28A9
monochromatic
#454611 #75781C #A6A928 #CED13D #DADD6F
Accessibility & contrast
On white
2.52
#A6A928 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.33
#A6A928 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A928
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A928 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A928 | 1.00 | 2.52 | 8.33 | 8.33 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A106
Deuteranopia (green-blind)
#B8A533
Tritanopia (blue-blind)
#B29E91
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #a6a928; /* rgb */ color: rgb(166, 169, 40); /* oklch */ color: oklch(71.0% 0.143 110.9);
Tailwind
colors: {
custom: {
50: '#c4c26d',
500: '#a6a928',
950: '#000000',
},
}SCSS
$custom: #a6a928; $custom-light: #c4c26d; $custom-dark: #000000;
JSON
{
"hex": "#a6a928",
"rgb": {
"r": 166,
"g": 169,
"b": 40
},
"hsl": {
"h": 61.395,
"s": 61.722,
"l": 40.98
},
"oklch": {
"l": 0.70999,
"c": 0.14344,
"h": 110.9
},
"luminance": 0.36636
}Semantic roles & 50–950 ramp
primary
#A6A928
secondary
#6B69C4
accent
#43E547
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B