#A9A828#A9A828
#A9A828 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.0% C 0.142 H 109.1°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #A9A828 |
|---|---|
| RGB | rgb(169, 168, 40) |
| HSL | hsl(60, 62%, 41%) |
| HSV | hsv(60, 76%, 66%) |
| CMYK | cmyk(0%, 0.6%, 76.3%, 33.7%) |
| CIE-LAB | lab(66.97, -14.39, 61.25) |
| CIE-LCH | lch(66.97, 62.92, 103.22°) |
| OKLab | oklab(71.03% -0.0463 0.134) |
| OKLCH | oklch(71.03% 0.142 109.1) |
| XYZ | xyz(30.7490, 36.5944, 7.4508) |
| Luminance | 0.3659 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.78
Puke
#A5A502
ΔE00 2.01
Mustard Green
#A8B504
ΔE00 4.79
Pea Soup Green
#94A617
ΔE00 4.83
Puke Green
#9AAE07
ΔE00 4.96
Pea Soup
#929901
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A9A828 #2829A9
analogous
#A96728 #A9A828 #69A928
triadic
#A9A828 #28A9A8 #A828A9
tetradic
#A9A828 #28A967 #2829A9 #A92869
square
#A9A828 #28A967 #2829A9 #A92869
split-complementary
#A9A828 #2869A9 #6728A9
monochromatic
#464611 #78771C #A9A828 #D1D03D #DDDC6F
Accessibility & contrast
On white
2.52
#A9A828 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.32
#A9A828 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A9A828
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A9A828 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A9A828 | 1.00 | 2.52 | 8.32 | 8.32 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A106
Deuteranopia (green-blind)
#B8A533
Tritanopia (blue-blind)
#B59D90
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #a9a828; /* rgb */ color: rgb(169, 168, 40); /* oklch */ color: oklch(71.0% 0.142 109.1);
Tailwind
colors: {
custom: {
50: '#c6c16d',
500: '#a9a828',
950: '#000000',
},
}SCSS
$custom: #a9a828; $custom-light: #c6c16d; $custom-dark: #000000;
JSON
{
"hex": "#a9a828",
"rgb": {
"r": 169,
"g": 168,
"b": 40
},
"hsl": {
"h": 59.535,
"s": 61.722,
"l": 40.98
},
"oklch": {
"l": 0.71034,
"c": 0.14177,
"h": 109.1
},
"luminance": 0.36593
}Semantic roles & 50–950 ramp
primary
#A9A828
secondary
#696AC4
accent
#44E543
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131208
muted
#82817B