#A2A524#A2A524
#A2A524 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.7% C 0.142 H 111.0°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A524 |
|---|---|
| RGB | rgb(162, 165, 36) |
| HSL | hsl(61, 64%, 39%) |
| HSV | hsv(61, 78%, 65%) |
| CMYK | cmyk(1.8%, 0%, 78.2%, 35.3%) |
| CIE-LAB | lab(65.53, -16.08, 60.99) |
| CIE-LCH | lch(65.53, 63.07, 104.77°) |
| OKLab | oklab(69.73% -0.051 0.133) |
| OKLCH | oklch(69.73% 0.142 111) |
| XYZ | xyz(28.6749, 34.7198, 6.8598) |
| Luminance | 0.3472 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.07
Puke
#A5A502
ΔE00 2.07
Pea Soup Green
#94A617
ΔE00 3.56
Pea Soup
#929901
ΔE00 4.19
Puke Green
#9AAE07
ΔE00 4.33
Baby Poop Green
#8F9805
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A524 #2724A5
analogous
#A56724 #A2A524 #62A524
triadic
#A2A524 #24A2A5 #A524A2
tetradic
#A2A524 #24A567 #2724A5 #A52462
square
#A2A524 #24A567 #2724A5 #A52462
split-complementary
#A2A524 #2462A5 #6724A5
monochromatic
#3F410E #717319 #A2A524 #CFD334 #DBDE66
Accessibility & contrast
On white
2.64
#A2A524 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.94
#A2A524 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A524
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A524 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A524 | 1.00 | 2.64 | 7.94 | 7.94 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B3A12F
Tritanopia (blue-blind)
#AE9A8D
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a2a524; /* rgb */ color: rgb(162, 165, 36); /* oklch */ color: oklch(69.7% 0.142 111.0);
Tailwind
colors: {
custom: {
50: '#c1bf6b',
500: '#a2a524',
950: '#000000',
},
}SCSS
$custom: #a2a524; $custom-light: #c1bf6b; $custom-dark: #000000;
JSON
{
"hex": "#a2a524",
"rgb": {
"r": 162,
"g": 165,
"b": 36
},
"hsl": {
"h": 61.395,
"s": 64.179,
"l": 39.412
},
"oklch": {
"l": 0.69733,
"c": 0.1424,
"h": 111
},
"luminance": 0.34719
}Semantic roles & 50–950 ramp
primary
#A2A524
secondary
#6462C3
accent
#41E744
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A