#A5A029#A5A029
#A5A029 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.9% C 0.134 H 107.0°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A029 |
|---|---|
| RGB | rgb(165, 160, 41) |
| HSL | hsl(58, 60%, 40%) |
| HSV | hsv(58, 75%, 65%) |
| CMYK | cmyk(0%, 3%, 75.2%, 35.3%) |
| CIE-LAB | lab(64.40, -11.95, 58.41) |
| CIE-LCH | lch(64.40, 59.63, 101.56°) |
| OKLab | oklab(68.91% -0.0392 0.1283) |
| OKLCH | oklch(68.91% 0.134 107) |
| XYZ | xyz(28.4892, 33.3020, 7.0246) |
| Luminance | 0.3330 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.44
Puke
#A5A502
ΔE00 2.91
Pea Soup
#929901
ΔE00 4.42
Baby Poop Green
#8F9805
ΔE00 5.01
Pea Soup Green
#94A617
ΔE00 5.68
Baby Shit Green
#889717
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A029 #292EA5
analogous
#A56229 #A5A029 #6CA529
triadic
#A5A029 #29A5A0 #A029A5
tetradic
#A5A029 #29A562 #292EA5 #A5296C
square
#A5A029 #29A562 #292EA5 #A5296C
split-complementary
#A5A029 #296CA5 #6229A5
monochromatic
#434111 #74701D #A5A029 #CFC93D #DBD66E
Accessibility & contrast
On white
2.74
#A5A029 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.66
#A5A029 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A029
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A029 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A029 | 1.00 | 2.74 | 7.66 | 7.66 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A0F
Deuteranopia (green-blind)
#B09E32
Tritanopia (blue-blind)
#B19589
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #a5a029; /* rgb */ color: rgb(165, 160, 41); /* oklch */ color: oklch(68.9% 0.134 107.0);
Tailwind
colors: {
custom: {
50: '#c3bb6c',
500: '#a5a029',
950: '#000000',
},
}SCSS
$custom: #a5a029; $custom-light: #c3bb6c; $custom-dark: #000000;
JSON
{
"hex": "#a5a029",
"rgb": {
"r": 165,
"g": 160,
"b": 41
},
"hsl": {
"h": 57.581,
"s": 60.194,
"l": 40.392
},
"oklch": {
"l": 0.68905,
"c": 0.13416,
"h": 107
},
"luminance": 0.33301
}Semantic roles & 50–950 ramp
primary
#A5A029
secondary
#686CC2
accent
#4BE344
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A