#A5A330#A5A330
#A5A330 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.6% C 0.133 H 108.4°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A330 |
|---|---|
| RGB | rgb(165, 163, 48) |
| HSL | hsl(59, 55%, 42%) |
| HSV | hsv(59, 71%, 65%) |
| CMYK | cmyk(0%, 1.2%, 70.9%, 35.3%) |
| CIE-LAB | lab(65.29, -13.19, 56.72) |
| CIE-LCH | lch(65.29, 58.24, 103.09°) |
| OKLab | oklab(69.62% -0.0419 0.126) |
| OKLCH | oklch(69.62% 0.133 108.4) |
| XYZ | xyz(29.1488, 34.4080, 7.9017) |
| Luminance | 0.3441 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.25
Puke
#A5A502
ΔE00 2.98
Pea Soup
#929901
ΔE00 4.69
Pea Soup Green
#94A617
ΔE00 4.94
Baby Poop Green
#8F9805
ΔE00 5.19
Puke Green
#9AAE07
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A330 #3032A5
analogous
#A56930 #A5A330 #6DA530
triadic
#A5A330 #30A5A3 #A330A5
tetradic
#A5A330 #30A569 #3032A5 #A5306D
square
#A5A330 #30A569 #3032A5 #A5306D
split-complementary
#A5A330 #306DA5 #6930A5
monochromatic
#464514 #767422 #A5A330 #CAC848 #D8D678
Accessibility & contrast
On white
2.66
#A5A330 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.88
#A5A330 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A330
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A330 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A330 | 1.00 | 2.66 | 7.88 | 7.88 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09C1D
Deuteranopia (green-blind)
#B2A038
Tritanopia (blue-blind)
#B1988C
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a5a330; /* rgb */ color: rgb(165, 163, 48); /* oklch */ color: oklch(69.6% 0.133 108.4);
Tailwind
colors: {
custom: {
50: '#c3be70',
500: '#a5a330',
950: '#000000',
},
}SCSS
$custom: #a5a330; $custom-light: #c3be70; $custom-dark: #000000;
JSON
{
"hex": "#a5a330",
"rgb": {
"r": 165,
"g": 163,
"b": 48
},
"hsl": {
"h": 58.974,
"s": 54.93,
"l": 41.765
},
"oklch": {
"l": 0.6962,
"c": 0.13282,
"h": 108.4
},
"luminance": 0.34407
}Semantic roles & 50–950 ramp
primary
#A5A330
secondary
#7172C0
accent
#4CDE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B