#A6A722#A6A722
#A6A722 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.5% C 0.144 H 110.0°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A722 |
|---|---|
| RGB | rgb(166, 167, 34) |
| HSL | hsl(60, 66%, 39%) |
| HSV | hsv(60, 80%, 65%) |
| CMYK | cmyk(0.6%, 0%, 79.6%, 34.5%) |
| CIE-LAB | lab(66.41, -15.43, 62.50) |
| CIE-LCH | lch(66.41, 64.37, 103.86°) |
| OKLab | oklab(70.52% -0.0495 0.1357) |
| OKLCH | oklch(70.52% 0.144 110) |
| XYZ | xyz(29.8345, 35.8608, 6.8633) |
| Luminance | 0.3586 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.14
Puke
#A5A502
ΔE00 1.59
Pea Soup Green
#94A617
ΔE00 4.23
Puke Green
#9AAE07
ΔE00 4.49
Mustard Green
#A8B504
ΔE00 4.65
Pea Soup
#929901
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A722 #2322A7
analogous
#A76622 #A6A722 #64A722
triadic
#A6A722 #22A6A7 #A722A6
tetradic
#A6A722 #22A766 #2322A7 #A72264
square
#A6A722 #22A766 #2322A7 #A72264
split-complementary
#A6A722 #2264A7 #6622A7
monochromatic
#41410D #737418 #A6A722 #D4D531 #DFDF64
Accessibility & contrast
On white
2.57
#A6A722 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.17
#A6A722 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A722
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A722 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A722 | 1.00 | 2.57 | 8.17 | 8.17 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B6A32E
Tritanopia (blue-blind)
#B29C8F
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a6a722; /* rgb */ color: rgb(166, 167, 34); /* oklch */ color: oklch(70.5% 0.144 110.0);
Tailwind
colors: {
custom: {
50: '#c4c06a',
500: '#a6a722',
950: '#000000',
},
}SCSS
$custom: #a6a722; $custom-light: #c4c06a; $custom-dark: #000000;
JSON
{
"hex": "#a6a722",
"rgb": {
"r": 166,
"g": 167,
"b": 34
},
"hsl": {
"h": 60.451,
"s": 66.169,
"l": 39.412
},
"oklch": {
"l": 0.70518,
"c": 0.14442,
"h": 110
},
"luminance": 0.3586
}Semantic roles & 50–950 ramp
primary
#A6A722
secondary
#6160C5
accent
#3FE940
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A