#A8A420#A8A420
#A8A420 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.0% C 0.142 H 107.7°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A420 |
|---|---|
| RGB | rgb(168, 164, 32) |
| HSL | hsl(58, 68%, 39%) |
| HSV | hsv(58, 81%, 66%) |
| CMYK | cmyk(0%, 2.4%, 81%, 34.1%) |
| CIE-LAB | lab(65.73, -13.06, 62.54) |
| CIE-LCH | lch(65.73, 63.89, 101.80°) |
| OKLab | oklab(70.01% -0.0432 0.1353) |
| OKLCH | oklch(70.01% 0.142 107.7) |
| XYZ | xyz(29.6859, 34.9811, 6.5545) |
| Luminance | 0.3498 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.62
Puke
#A5A502
ΔE00 1.62
Pea Soup
#929901
ΔE00 4.96
Pea Soup Green
#94A617
ΔE00 5.40
Muddy Yellow
#BFAC05
ΔE00 5.55
Baby Poop Green
#8F9805
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A420 #2024A8
analogous
#A86020 #A8A420 #68A820
triadic
#A8A420 #20A8A4 #A420A8
tetradic
#A8A420 #20A860 #2024A8 #A82068
square
#A8A420 #20A860 #2024A8 #A82068
split-complementary
#A8A420 #2068A8 #6020A8
monochromatic
#41400C #757216 #A8A420 #D7D22E #E1DD61
Accessibility & contrast
On white
2.63
#A8A420 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.00
#A8A420 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A420
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A420 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A420 | 1.00 | 2.63 | 8.00 | 8.00 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B5A22C
Tritanopia (blue-blind)
#B5998C
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a8a420; /* rgb */ color: rgb(168, 164, 32); /* oklch */ color: oklch(70.0% 0.142 107.7);
Tailwind
colors: {
custom: {
50: '#c6be69',
500: '#a8a420',
950: '#000000',
},
}SCSS
$custom: #a8a420; $custom-light: #c6be69; $custom-dark: #000000;
JSON
{
"hex": "#a8a420",
"rgb": {
"r": 168,
"g": 164,
"b": 32
},
"hsl": {
"h": 58.235,
"s": 68,
"l": 39.216
},
"oklch": {
"l": 0.70013,
"c": 0.14202,
"h": 107.7
},
"luminance": 0.3498
}Semantic roles & 50–950 ramp
primary
#A8A420
secondary
#5E61C6
accent
#42EB3D
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131207
muted
#82817A