#A5A332#A5A332
#A5A332 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.6% C 0.131 H 108.4°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A332 |
|---|---|
| RGB | rgb(165, 163, 50) |
| HSL | hsl(59, 53%, 42%) |
| HSV | hsv(59, 70%, 65%) |
| CMYK | cmyk(0%, 1.2%, 69.7%, 35.3%) |
| CIE-LAB | lab(65.30, -13.08, 55.97) |
| CIE-LCH | lch(65.30, 57.48, 103.15°) |
| OKLab | oklab(69.64% -0.0414 0.1248) |
| OKLCH | oklch(69.64% 0.131 108.4) |
| XYZ | xyz(29.1910, 34.4249, 8.1240) |
| Luminance | 0.3442 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.44
Puke
#A5A502
ΔE00 3.18
Pea Soup
#929901
ΔE00 4.78
Pea Soup Green
#94A617
ΔE00 4.99
Baby Poop Green
#8F9805
ΔE00 5.26
Puke Green
#9AAE07
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A332 #3234A5
analogous
#A56A32 #A5A332 #6DA532
triadic
#A5A332 #32A5A3 #A332A5
tetradic
#A5A332 #32A56A #3234A5 #A5326D
square
#A5A332 #32A56A #3234A5 #A5326D
split-complementary
#A5A332 #326DA5 #6A32A5
monochromatic
#474616 #767524 #A5A332 #C9C64C #D7D57B
Accessibility & contrast
On white
2.66
#A5A332 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.88
#A5A332 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A332
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A332 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A332 | 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)
#B09C20
Deuteranopia (green-blind)
#B2A03A
Tritanopia (blue-blind)
#B1988D
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a5a332; /* rgb */ color: rgb(165, 163, 50); /* oklch */ color: oklch(69.6% 0.131 108.4);
Tailwind
colors: {
custom: {
50: '#c3be71',
500: '#a5a332',
950: '#000000',
},
}SCSS
$custom: #a5a332; $custom-light: #c3be71; $custom-dark: #000000;
JSON
{
"hex": "#a5a332",
"rgb": {
"r": 165,
"g": 163,
"b": 50
},
"hsl": {
"h": 58.957,
"s": 53.488,
"l": 42.157
},
"oklch": {
"l": 0.69635,
"c": 0.13149,
"h": 108.4
},
"luminance": 0.34424
}Semantic roles & 50–950 ramp
primary
#A5A332
secondary
#7375BF
accent
#4DDD4B
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B