#A7A928#A7A928
#A7A928 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.1% C 0.143 H 110.5°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A928 |
|---|---|
| RGB | rgb(167, 169, 40) |
| HSL | hsl(61, 62%, 41%) |
| HSV | hsv(61, 76%, 66%) |
| CMYK | cmyk(1.2%, 0%, 76.3%, 33.7%) |
| CIE-LAB | lab(67.09, -15.78, 61.29) |
| CIE-LCH | lch(67.09, 63.29, 104.44°) |
| OKLab | oklab(71.08% -0.0501 0.1342) |
| OKLCH | oklch(71.08% 0.143 110.5) |
| XYZ | xyz(30.5084, 36.7455, 7.4926) |
| Luminance | 0.3674 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.77
Puke
#A5A502
ΔE00 2.21
Pea Soup Green
#94A617
ΔE00 4.17
Puke Green
#9AAE07
ΔE00 4.22
Mustard Green
#A8B504
ΔE00 4.27
Barf Green
#94AC02
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A928 #2A28A9
analogous
#A96A28 #A7A928 #66A928
triadic
#A7A928 #28A7A9 #A928A7
tetradic
#A7A928 #28A96A #2A28A9 #A92866
square
#A7A928 #28A96A #2A28A9 #A92866
split-complementary
#A7A928 #2866A9 #6A28A9
monochromatic
#454611 #76781C #A7A928 #CFD13D #DBDD6F
Accessibility & contrast
On white
2.52
#A7A928 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.35
#A7A928 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A928
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A928 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A928 | 1.00 | 2.52 | 8.35 | 8.35 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A106
Deuteranopia (green-blind)
#B8A533
Tritanopia (blue-blind)
#B39E91
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #a7a928; /* rgb */ color: rgb(167, 169, 40); /* oklch */ color: oklch(71.1% 0.143 110.5);
Tailwind
colors: {
custom: {
50: '#c5c26d',
500: '#a7a928',
950: '#000000',
},
}SCSS
$custom: #a7a928; $custom-light: #c5c26d; $custom-dark: #000000;
JSON
{
"hex": "#a7a928",
"rgb": {
"r": 167,
"g": 169,
"b": 40
},
"hsl": {
"h": 60.93,
"s": 61.722,
"l": 40.98
},
"oklch": {
"l": 0.71084,
"c": 0.1432,
"h": 110.5
},
"luminance": 0.36745
}Semantic roles & 50–950 ramp
primary
#A7A928
secondary
#6B69C4
accent
#43E545
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B