#A5A032#A5A032
#A5A032 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 69.0% C 0.128 H 106.8°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A032 |
|---|---|
| RGB | rgb(165, 160, 50) |
| HSL | hsl(57, 53%, 42%) |
| HSV | hsv(57, 70%, 65%) |
| CMYK | cmyk(0%, 3%, 69.7%, 35.3%) |
| CIE-LAB | lab(64.46, -11.51, 55.14) |
| CIE-LCH | lch(64.46, 56.33, 101.79°) |
| OKLab | oklab(68.97% -0.037 0.123) |
| OKLCH | oklch(68.97% 0.128 106.8) |
| XYZ | xyz(28.6647, 33.3722, 7.9485) |
| Luminance | 0.3337 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.09
Puke
#A5A502
ΔE00 3.69
Pea Soup
#929901
ΔE00 4.78
Baby Poop Green
#8F9805
ΔE00 5.28
Pea Soup Green
#94A617
ΔE00 5.85
Baby Shit Green
#889717
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A032 #3237A5
analogous
#A56632 #A5A032 #71A532
triadic
#A5A032 #32A5A0 #A032A5
tetradic
#A5A032 #32A566 #3237A5 #A53271
square
#A5A032 #32A566 #3237A5 #A53271
split-complementary
#A5A032 #3271A5 #6632A5
monochromatic
#474516 #767224 #A5A032 #C9C34C #D7D37B
Accessibility & contrast
On white
2.74
#A5A032 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.67
#A5A032 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A032
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A032 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A032 | 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)
#AE9A21
Deuteranopia (green-blind)
#B09E39
Tritanopia (blue-blind)
#B1958A
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #a5a032; /* rgb */ color: rgb(165, 160, 50); /* oklch */ color: oklch(69.0% 0.128 106.8);
Tailwind
colors: {
custom: {
50: '#c3bb71',
500: '#a5a032',
950: '#000000',
},
}SCSS
$custom: #a5a032; $custom-light: #c3bb71; $custom-dark: #000000;
JSON
{
"hex": "#a5a032",
"rgb": {
"r": 165,
"g": 160,
"b": 50
},
"hsl": {
"h": 57.391,
"s": 53.488,
"l": 42.157
},
"oklch": {
"l": 0.68968,
"c": 0.12848,
"h": 106.8
},
"luminance": 0.33371
}Semantic roles & 50–950 ramp
primary
#A5A032
secondary
#7377BF
accent
#51DD4B
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B