#A5A532#A5A532
#A5A532 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.1% C 0.134 H 109.4°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A532 |
|---|---|
| RGB | rgb(165, 165, 50) |
| HSL | hsl(60, 53%, 42%) |
| HSV | hsv(60, 70%, 65%) |
| CMYK | cmyk(0%, 0%, 69.7%, 35.3%) |
| CIE-LAB | lab(65.86, -14.12, 56.53) |
| CIE-LCH | lch(65.86, 58.26, 104.02°) |
| OKLab | oklab(70.08% -0.0444 0.126) |
| OKLCH | oklch(70.08% 0.134 109.4) |
| XYZ | xyz(29.5489, 35.1408, 8.2433) |
| Luminance | 0.3514 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.24
Puke
#A5A502
ΔE00 3.04
Pea Soup Green
#94A617
ΔE00 4.51
Pea Soup
#929901
ΔE00 4.92
Puke Green
#9AAE07
ΔE00 5.34
Baby Poop Green
#8F9805
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A532 #3232A5
analogous
#A56C32 #A5A532 #6CA532
triadic
#A5A532 #32A5A5 #A532A5
tetradic
#A5A532 #32A56C #3232A5 #A5326C
square
#A5A532 #32A56C #3232A5 #A5326C
split-complementary
#A5A532 #326CA5 #6C32A5
monochromatic
#474716 #767624 #A5A532 #C9C94C #D7D77B
Accessibility & contrast
On white
2.62
#A5A532 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.03
#A5A532 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A532
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A532 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A532 | 1.00 | 2.62 | 8.03 | 8.03 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29E1F
Deuteranopia (green-blind)
#B4A23A
Tritanopia (blue-blind)
#B19A8E
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a5a532; /* rgb */ color: rgb(165, 165, 50); /* oklch */ color: oklch(70.1% 0.134 109.4);
Tailwind
colors: {
custom: {
50: '#c3bf71',
500: '#a5a532',
950: '#000000',
},
}SCSS
$custom: #a5a532; $custom-light: #c3bf71; $custom-dark: #000000;
JSON
{
"hex": "#a5a532",
"rgb": {
"r": 165,
"g": 165,
"b": 50
},
"hsl": {
"h": 60,
"s": 53.488,
"l": 42.157
},
"oklch": {
"l": 0.70082,
"c": 0.13354,
"h": 109.4
},
"luminance": 0.3514
}Semantic roles & 50–950 ramp
primary
#A5A532
secondary
#7373BF
accent
#4BDD4B
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B