#A6AA21#A6AA21
#A6AA21 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.2% C 0.148 H 111.4°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #A6AA21 |
|---|---|
| RGB | rgb(166, 170, 33) |
| HSL | hsl(62, 67%, 40%) |
| HSV | hsv(62, 81%, 67%) |
| CMYK | cmyk(2.4%, 0%, 80.6%, 33.3%) |
| CIE-LAB | lab(67.25, -17.00, 63.52) |
| CIE-LCH | lch(67.25, 65.75, 104.98°) |
| OKLab | oklab(71.19% -0.0539 0.1377) |
| OKLCH | oklch(71.19% 0.148 111.4) |
| XYZ | xyz(30.3762, 36.9671, 6.9738) |
| Luminance | 0.3697 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.81
Puke
#A5A502
ΔE00 2.12
Puke Green
#9AAE07
ΔE00 3.62
Mustard Green
#A8B504
ΔE00 3.65
Pea Soup Green
#94A617
ΔE00 3.86
Barf Green
#94AC02
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6AA21 #2521AA
analogous
#AA6A21 #A6AA21 #61AA21
triadic
#A6AA21 #21A6AA #AA21A6
tetradic
#A6AA21 #21AA6A #2521AA #AA2161
square
#A6AA21 #21AA6A #2521AA #AA2161
split-complementary
#A6AA21 #2161AA #6A21AA
monochromatic
#42430D #747717 #A6AA21 #D2D731 #DDE164
Accessibility & contrast
On white
2.50
#A6AA21 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.39
#A6AA21 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6AA21
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6AA21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6AA21 | 1.00 | 2.50 | 8.39 | 8.39 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B9A52E
Tritanopia (blue-blind)
#B29F91
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a6aa21; /* rgb */ color: rgb(166, 170, 33); /* oklch */ color: oklch(71.2% 0.148 111.4);
Tailwind
colors: {
custom: {
50: '#c4c36a',
500: '#a6aa21',
950: '#000000',
},
}SCSS
$custom: #a6aa21; $custom-light: #c4c36a; $custom-dark: #000000;
JSON
{
"hex": "#a6aa21",
"rgb": {
"r": 166,
"g": 170,
"b": 33
},
"hsl": {
"h": 61.752,
"s": 67.488,
"l": 39.804
},
"oklch": {
"l": 0.71187,
"c": 0.14787,
"h": 111.4
},
"luminance": 0.36966
}Semantic roles & 50–950 ramp
primary
#A6AA21
secondary
#6461C6
accent
#3DEA42
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A