#A8A02A#A8A02A
#A8A02A is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.2% C 0.133 H 105.4°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A02A |
|---|---|
| RGB | rgb(168, 160, 42) |
| HSL | hsl(56, 60%, 41%) |
| HSV | hsv(56, 75%, 66%) |
| CMYK | cmyk(0%, 4.8%, 75%, 34.1%) |
| CIE-LAB | lab(64.67, -10.58, 58.41) |
| CIE-LCH | lch(64.67, 59.36, 100.27°) |
| OKLab | oklab(69.18% -0.0354 0.1284) |
| OKLCH | oklch(69.18% 0.133 105.4) |
| XYZ | xyz(29.1384, 33.6347, 7.1473) |
| Luminance | 0.3363 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.04
Puke
#A5A502
ΔE00 3.26
Pea Soup
#929901
ΔE00 5.13
Baby Poop Green
#8F9805
ΔE00 5.74
Muddy Yellow
#BFAC05
ΔE00 6.00
Brown Yellow
#B29705
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A02A #2A32A8
analogous
#A8612A #A8A02A #71A82A
triadic
#A8A02A #2AA8A0 #A02AA8
tetradic
#A8A02A #2AA861 #2A32A8 #A82A71
square
#A8A02A #2AA861 #2A32A8 #A82A71
split-complementary
#A8A02A #2A71A8 #612AA8
monochromatic
#464312 #77711E #A8A02A #CFC640 #DBD571
Accessibility & contrast
On white
2.72
#A8A02A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.73
#A8A02A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A02A
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A02A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A02A | 1.00 | 2.72 | 7.73 | 7.73 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A12
Deuteranopia (green-blind)
#B19F33
Tritanopia (blue-blind)
#B59589
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a8a02a; /* rgb */ color: rgb(168, 160, 42); /* oklch */ color: oklch(69.2% 0.133 105.4);
Tailwind
colors: {
custom: {
50: '#c5bb6d',
500: '#a8a02a',
950: '#000000',
},
}SCSS
$custom: #a8a02a; $custom-light: #c5bb6d; $custom-dark: #000000;
JSON
{
"hex": "#a8a02a",
"rgb": {
"r": 168,
"g": 160,
"b": 42
},
"hsl": {
"h": 56.19,
"s": 60,
"l": 41.176
},
"oklch": {
"l": 0.69182,
"c": 0.13317,
"h": 105.4
},
"luminance": 0.33634
}Semantic roles & 50–950 ramp
primary
#A8A02A
secondary
#6B71C3
accent
#4FE345
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A