#A8A622#A8A622
#A8A622 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.5% C 0.143 H 108.6°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A622 |
|---|---|
| RGB | rgb(168, 166, 34) |
| HSL | hsl(59, 66%, 40%) |
| HSV | hsv(59, 80%, 66%) |
| CMYK | cmyk(0%, 1.2%, 79.8%, 34.1%) |
| CIE-LAB | lab(66.30, -14.03, 62.46) |
| CIE-LCH | lch(66.30, 64.02, 102.66°) |
| OKLab | oklab(70.47% -0.0457 0.1355) |
| OKLCH | oklch(70.47% 0.143 108.6) |
| XYZ | xyz(30.0746, 35.7138, 6.8223) |
| Luminance | 0.3571 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.39
Puke
#A5A502
ΔE00 1.51
Pea Soup Green
#94A617
ΔE00 4.95
Pea Soup
#929901
ΔE00 5.12
Mustard Green
#A8B504
ΔE00 5.19
Puke Green
#9AAE07
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A622 #2224A8
analogous
#A86322 #A8A622 #67A822
triadic
#A8A622 #22A8A6 #A622A8
tetradic
#A8A622 #22A863 #2224A8 #A82267
square
#A8A622 #22A863 #2224A8 #A82267
split-complementary
#A8A622 #2267A8 #6322A8
monochromatic
#42410D #757418 #A8A622 #D5D332 #E0DE65
Accessibility & contrast
On white
2.58
#A8A622 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.14
#A8A622 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A622
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A622 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A622 | 1.00 | 2.58 | 8.14 | 8.14 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B6A32E
Tritanopia (blue-blind)
#B59B8E
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a8a622; /* rgb */ color: rgb(168, 166, 34); /* oklch */ color: oklch(70.5% 0.143 108.6);
Tailwind
colors: {
custom: {
50: '#c6c06a',
500: '#a8a622',
950: '#000000',
},
}SCSS
$custom: #a8a622; $custom-light: #c6c06a; $custom-dark: #000000;
JSON
{
"hex": "#a8a622",
"rgb": {
"r": 168,
"g": 166,
"b": 34
},
"hsl": {
"h": 59.104,
"s": 66.337,
"l": 39.608
},
"oklch": {
"l": 0.70468,
"c": 0.14301,
"h": 108.6
},
"luminance": 0.35713
}Semantic roles & 50–950 ramp
primary
#A8A622
secondary
#6162C5
accent
#41E93F
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A