#A5A928#A5A928
#A5A928 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 70.9% C 0.144 H 111.4°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A928 |
|---|---|
| RGB | rgb(165, 169, 40) |
| HSL | hsl(62, 62%, 41%) |
| HSV | hsv(62, 76%, 66%) |
| CMYK | cmyk(2.4%, 0%, 76.3%, 33.7%) |
| CIE-LAB | lab(66.92, -16.65, 61.08) |
| CIE-LCH | lch(66.92, 63.31, 105.25°) |
| OKLab | oklab(70.91% -0.0524 0.1338) |
| OKLCH | oklch(70.91% 0.144 111.4) |
| XYZ | xyz(30.0891, 36.5293, 7.4729) |
| Luminance | 0.3653 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.83
Puke
#A5A502
ΔE00 2.44
Pea Soup Green
#94A617
ΔE00 3.67
Puke Green
#9AAE07
ΔE00 3.79
Mustard Green
#A8B504
ΔE00 4.15
Barf Green
#94AC02
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A928 #2C28A9
analogous
#A96C28 #A5A928 #65A928
triadic
#A5A928 #28A5A9 #A928A5
tetradic
#A5A928 #28A96C #2C28A9 #A92865
square
#A5A928 #28A96C #2C28A9 #A92865
split-complementary
#A5A928 #2865A9 #6C28A9
monochromatic
#444611 #75781C #A5A928 #CDD13D #D9DD6F
Accessibility & contrast
On white
2.53
#A5A928 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.31
#A5A928 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A928
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A928 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A928 | 1.00 | 2.53 | 8.31 | 8.31 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A106
Deuteranopia (green-blind)
#B7A433
Tritanopia (blue-blind)
#B19E91
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #a5a928; /* rgb */ color: rgb(165, 169, 40); /* oklch */ color: oklch(70.9% 0.144 111.4);
Tailwind
colors: {
custom: {
50: '#c3c26d',
500: '#a5a928',
950: '#000000',
},
}SCSS
$custom: #a5a928; $custom-light: #c3c26d; $custom-dark: #000000;
JSON
{
"hex": "#a5a928",
"rgb": {
"r": 165,
"g": 169,
"b": 40
},
"hsl": {
"h": 61.86,
"s": 61.722,
"l": 40.98
},
"oklch": {
"l": 0.70914,
"c": 0.14369,
"h": 111.4
},
"luminance": 0.36528
}Semantic roles & 50–950 ramp
primary
#A5A928
secondary
#6C69C4
accent
#43E548
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B