#A8A621#A8A621
#A8A621 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.5% C 0.143 H 108.7°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A621 |
|---|---|
| RGB | rgb(168, 166, 33) |
| HSL | hsl(59, 67%, 39%) |
| HSV | hsv(59, 80%, 66%) |
| CMYK | cmyk(0%, 1.2%, 80.4%, 34.1%) |
| CIE-LAB | lab(66.30, -14.06, 62.75) |
| CIE-LCH | lch(66.30, 64.30, 102.63°) |
| OKLab | oklab(70.46% -0.0459 0.1359) |
| OKLCH | oklch(70.46% 0.143 108.7) |
| XYZ | xyz(30.0604, 35.7081, 6.7474) |
| Luminance | 0.3571 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.36
Puke
#A5A502
ΔE00 1.44
Pea Soup Green
#94A617
ΔE00 4.96
Pea Soup
#929901
ΔE00 5.11
Mustard Green
#A8B504
ΔE00 5.17
Puke Green
#9AAE07
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A621 #2123A8
analogous
#A86321 #A8A621 #67A821
triadic
#A8A621 #21A8A6 #A621A8
tetradic
#A8A621 #21A863 #2123A8 #A82167
square
#A8A621 #21A863 #2123A8 #A82167
split-complementary
#A8A621 #2167A8 #6321A8
monochromatic
#42410D #757317 #A8A621 #D6D430 #E0DF63
Accessibility & contrast
On white
2.58
#A8A621 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.14
#A8A621 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A621
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A621 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A621 | 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)
#B6A32D
Tritanopia (blue-blind)
#B59B8E
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a8a621; /* rgb */ color: rgb(168, 166, 33); /* oklch */ color: oklch(70.5% 0.143 108.7);
Tailwind
colors: {
custom: {
50: '#c6c06a',
500: '#a8a621',
950: '#000000',
},
}SCSS
$custom: #a8a621; $custom-light: #c6c06a; $custom-dark: #000000;
JSON
{
"hex": "#a8a621",
"rgb": {
"r": 168,
"g": 166,
"b": 33
},
"hsl": {
"h": 59.111,
"s": 67.164,
"l": 39.412
},
"oklch": {
"l": 0.70463,
"c": 0.14347,
"h": 108.7
},
"luminance": 0.35707
}Semantic roles & 50–950 ramp
primary
#A8A621
secondary
#5F61C5
accent
#40EA3E
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A