#A5A031#A5A031
#A5A031 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 69.0% C 0.129 H 106.8°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A031 |
|---|---|
| RGB | rgb(165, 160, 49) |
| HSL | hsl(57, 54%, 42%) |
| HSV | hsv(57, 70%, 65%) |
| CMYK | cmyk(0%, 3%, 70.3%, 35.3%) |
| CIE-LAB | lab(64.45, -11.56, 55.52) |
| CIE-LCH | lch(64.45, 56.71, 101.77°) |
| OKLab | oklab(68.96% -0.0373 0.1237) |
| OKLCH | oklch(68.96% 0.129 106.8) |
| XYZ | xyz(28.6433, 33.3637, 7.8362) |
| Luminance | 0.3336 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.00
Puke
#A5A502
ΔE00 3.60
Pea Soup
#929901
ΔE00 4.73
Baby Poop Green
#8F9805
ΔE00 5.24
Pea Soup Green
#94A617
ΔE00 5.82
Baby Shit Green
#889717
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A031 #3136A5
analogous
#A56631 #A5A031 #70A531
triadic
#A5A031 #31A5A0 #A031A5
tetradic
#A5A031 #31A566 #3136A5 #A53170
square
#A5A031 #31A566 #3136A5 #A53170
split-complementary
#A5A031 #3170A5 #6631A5
monochromatic
#474415 #767223 #A5A031 #C9C44A #D7D379
Accessibility & contrast
On white
2.74
#A5A031 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.67
#A5A031 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A031
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A031 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A031 | 1.00 | 2.74 | 7.67 | 7.67 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A1F
Deuteranopia (green-blind)
#B09E39
Tritanopia (blue-blind)
#B1958A
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #a5a031; /* rgb */ color: rgb(165, 160, 49); /* oklch */ color: oklch(69.0% 0.129 106.8);
Tailwind
colors: {
custom: {
50: '#c3bb70',
500: '#a5a031',
950: '#000000',
},
}SCSS
$custom: #a5a031; $custom-light: #c3bb70; $custom-dark: #000000;
JSON
{
"hex": "#a5a031",
"rgb": {
"r": 165,
"g": 160,
"b": 49
},
"hsl": {
"h": 57.414,
"s": 54.206,
"l": 41.961
},
"oklch": {
"l": 0.6896,
"c": 0.12917,
"h": 106.8
},
"luminance": 0.33363
}Semantic roles & 50–950 ramp
primary
#A5A031
secondary
#7275C0
accent
#51DE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B