#A8A220#A8A220
#A8A220 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.6% C 0.140 H 106.7°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A220 |
|---|---|
| RGB | rgb(168, 162, 32) |
| HSL | hsl(57, 68%, 39%) |
| HSV | hsv(57, 81%, 66%) |
| CMYK | cmyk(0%, 3.6%, 81%, 34.1%) |
| CIE-LAB | lab(65.18, -12.02, 62.05) |
| CIE-LCH | lch(65.18, 63.20, 100.96°) |
| OKLab | oklab(69.57% -0.0403 0.1343) |
| OKLCH | oklch(69.57% 0.14 106.7) |
| XYZ | xyz(29.3307, 34.2709, 6.4362) |
| Luminance | 0.3427 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 2.11
Vomit
#A2A415
ΔE00 2.12
Pea Soup
#929901
ΔE00 4.91
Muddy Yellow
#BFAC05
ΔE00 5.52
Baby Poop Green
#8F9805
ΔE00 5.59
Pea Soup Green
#94A617
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A220 #2026A8
analogous
#A85E20 #A8A220 #6AA820
triadic
#A8A220 #20A8A2 #A220A8
tetradic
#A8A220 #20A85E #2026A8 #A8206A
square
#A8A220 #20A85E #2026A8 #A8206A
split-complementary
#A8A220 #206AA8 #5E20A8
monochromatic
#413F0C #757016 #A8A220 #D7D02E #E1DB61
Accessibility & contrast
On white
2.67
#A8A220 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.85
#A8A220 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A220
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A220 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A220 | 1.00 | 2.67 | 7.85 | 7.85 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B3A02C
Tritanopia (blue-blind)
#B5978A
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a8a220; /* rgb */ color: rgb(168, 162, 32); /* oklch */ color: oklch(69.6% 0.140 106.7);
Tailwind
colors: {
custom: {
50: '#c6bd69',
500: '#a8a220',
950: '#000000',
},
}SCSS
$custom: #a8a220; $custom-light: #c6bd69; $custom-dark: #000000;
JSON
{
"hex": "#a8a220",
"rgb": {
"r": 168,
"g": 162,
"b": 32
},
"hsl": {
"h": 57.353,
"s": 68,
"l": 39.216
},
"oklch": {
"l": 0.69569,
"c": 0.14016,
"h": 106.7
},
"luminance": 0.3427
}Semantic roles & 50–950 ramp
primary
#A8A220
secondary
#5E63C6
accent
#45EB3D
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131207
muted
#82817A