#A5A431#A5A431
#A5A431 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.9% C 0.133 H 108.9°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A431 |
|---|---|
| RGB | rgb(165, 164, 49) |
| HSL | hsl(59, 54%, 42%) |
| HSV | hsv(59, 70%, 65%) |
| CMYK | cmyk(0%, 0.6%, 70.3%, 35.3%) |
| CIE-LAB | lab(65.57, -13.65, 56.63) |
| CIE-LCH | lch(65.57, 58.25, 103.56°) |
| OKLab | oklab(69.85% -0.0432 0.126) |
| OKLCH | oklch(69.85% 0.133 108.9) |
| XYZ | xyz(29.3479, 34.7729, 8.0710) |
| Luminance | 0.3477 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.21
Puke
#A5A502
ΔE00 2.98
Pea Soup Green
#94A617
ΔE00 4.71
Pea Soup
#929901
ΔE00 4.79
Baby Poop Green
#8F9805
ΔE00 5.28
Puke Green
#9AAE07
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A431 #3132A5
analogous
#A56A31 #A5A431 #6CA531
triadic
#A5A431 #31A5A4 #A431A5
tetradic
#A5A431 #31A56A #3132A5 #A5316C
square
#A5A431 #31A56A #3132A5 #A5316C
split-complementary
#A5A431 #316CA5 #6A31A5
monochromatic
#474615 #767523 #A5A431 #C9C84A #D7D679
Accessibility & contrast
On white
2.64
#A5A431 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.95
#A5A431 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A431
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A431 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A431 | 1.00 | 2.64 | 7.95 | 7.95 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19D1E
Deuteranopia (green-blind)
#B3A139
Tritanopia (blue-blind)
#B1998D
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a5a431; /* rgb */ color: rgb(165, 164, 49); /* oklch */ color: oklch(69.9% 0.133 108.9);
Tailwind
colors: {
custom: {
50: '#c3be71',
500: '#a5a431',
950: '#000000',
},
}SCSS
$custom: #a5a431; $custom-light: #c3be71; $custom-dark: #000000;
JSON
{
"hex": "#a5a431",
"rgb": {
"r": 165,
"g": 164,
"b": 49
},
"hsl": {
"h": 59.483,
"s": 54.206,
"l": 41.961
},
"oklch": {
"l": 0.69851,
"c": 0.13319,
"h": 108.9
},
"luminance": 0.34772
}Semantic roles & 50–950 ramp
primary
#A5A431
secondary
#7273C0
accent
#4CDE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B