#A1A522#A1A522
#A1A522 is a light, vivid yellow. Relative luminance 0.346; OKLCH L 69.6% C 0.144 H 111.4°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #A1A522 |
|---|---|
| RGB | rgb(161, 165, 34) |
| HSL | hsl(62, 66%, 39%) |
| HSV | hsv(62, 79%, 65%) |
| CMYK | cmyk(2.4%, 0%, 79.4%, 35.3%) |
| CIE-LAB | lab(65.44, -16.59, 61.48) |
| CIE-LCH | lch(65.44, 63.68, 105.10°) |
| OKLab | oklab(69.64% -0.0525 0.1337) |
| OKLCH | oklch(69.64% 0.144 111.4) |
| XYZ | xyz(28.4428, 34.6036, 6.6939) |
| Luminance | 0.3460 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.06
Puke
#A5A502
ΔE00 2.10
Pea Soup Green
#94A617
ΔE00 3.30
Pea Soup
#929901
ΔE00 4.07
Puke Green
#9AAE07
ΔE00 4.12
Baby Poop Green
#8F9805
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1A522 #2622A5
analogous
#A56822 #A1A522 #60A522
triadic
#A1A522 #22A1A5 #A522A1
tetradic
#A1A522 #22A568 #2622A5 #A52260
square
#A1A522 #22A568 #2622A5 #A52260
split-complementary
#A1A522 #2260A5 #6822A5
monochromatic
#3E400D #6F7218 #A1A522 #CFD430 #DBDF63
Accessibility & contrast
On white
2.65
#A1A522 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.92
#A1A522 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1A522
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1A522 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1A522 | 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)
#B3A02E
Tritanopia (blue-blind)
#AD9A8D
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a1a522; /* rgb */ color: rgb(161, 165, 34); /* oklch */ color: oklch(69.6% 0.144 111.4);
Tailwind
colors: {
custom: {
50: '#c1bf6a',
500: '#a1a522',
950: '#000000',
},
}SCSS
$custom: #a1a522; $custom-light: #c1bf6a; $custom-dark: #000000;
JSON
{
"hex": "#a1a522",
"rgb": {
"r": 161,
"g": 165,
"b": 34
},
"hsl": {
"h": 61.832,
"s": 65.829,
"l": 39.02
},
"oklch": {
"l": 0.69638,
"c": 0.14363,
"h": 111.4
},
"luminance": 0.34603
}Semantic roles & 50–950 ramp
primary
#A1A522
secondary
#625FC4
accent
#3FE944
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A