#A1A520#A1A520
#A1A520 is a light, vivid yellow. Relative luminance 0.346; OKLCH L 69.6% C 0.145 H 111.4°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #A1A520 |
|---|---|
| RGB | rgb(161, 165, 32) |
| HSL | hsl(62, 68%, 39%) |
| HSV | hsv(62, 81%, 65%) |
| CMYK | cmyk(2.4%, 0%, 80.6%, 35.3%) |
| CIE-LAB | lab(65.43, -16.66, 62.05) |
| CIE-LCH | lch(65.43, 64.24, 105.03°) |
| OKLab | oklab(69.63% -0.0528 0.1345) |
| OKLCH | oklch(69.63% 0.145 111.4) |
| XYZ | xyz(28.4148, 34.5924, 6.5464) |
| Luminance | 0.3459 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 0.93
Puke
#A5A502
ΔE00 1.97
Pea Soup Green
#94A617
ΔE00 3.31
Pea Soup
#929901
ΔE00 4.05
Puke Green
#9AAE07
ΔE00 4.09
Baby Poop Green
#8F9805
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1A520 #2420A5
analogous
#A56620 #A1A520 #5EA520
triadic
#A1A520 #20A1A5 #A520A1
tetradic
#A1A520 #20A566 #2420A5 #A5205E
square
#A1A520 #20A566 #2420A5 #A5205E
split-complementary
#A1A520 #205EA5 #6620A5
monochromatic
#3D3E0C #6F7216 #A1A520 #D1D62C #DCE05F
Accessibility & contrast
On white
2.65
#A1A520 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.92
#A1A520 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1A520
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1A520 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1A520 | 1.00 | 2.65 | 7.92 | 7.92 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B3A02D
Tritanopia (blue-blind)
#AD9A8D
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a1a520; /* rgb */ color: rgb(161, 165, 32); /* oklch */ color: oklch(69.6% 0.145 111.4);
Tailwind
colors: {
custom: {
50: '#c1bf69',
500: '#a1a520',
950: '#000000',
},
}SCSS
$custom: #a1a520; $custom-light: #c1bf69; $custom-dark: #000000;
JSON
{
"hex": "#a1a520",
"rgb": {
"r": 161,
"g": 165,
"b": 32
},
"hsl": {
"h": 61.805,
"s": 67.513,
"l": 38.627
},
"oklch": {
"l": 0.69628,
"c": 0.14455,
"h": 111.4
},
"luminance": 0.34592
}Semantic roles & 50–950 ramp
primary
#A1A520
secondary
#5F5CC5
accent
#3DEA43
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131207
muted
#82817A