#A1A421#A1A421
#A1A421 is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.4% C 0.143 H 111.0°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #A1A421 |
|---|---|
| RGB | rgb(161, 164, 33) |
| HSL | hsl(61, 66%, 39%) |
| HSV | hsv(61, 80%, 64%) |
| CMYK | cmyk(1.8%, 0%, 79.9%, 35.7%) |
| CIE-LAB | lab(65.15, -16.12, 61.51) |
| CIE-LCH | lch(65.15, 63.59, 104.68°) |
| OKLab | oklab(69.41% -0.0512 0.1336) |
| OKLCH | oklch(69.41% 0.143 111) |
| XYZ | xyz(28.2489, 34.2386, 6.5592) |
| Luminance | 0.3424 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 0.89
Puke
#A5A502
ΔE00 1.98
Pea Soup Green
#94A617
ΔE00 3.53
Pea Soup
#929901
ΔE00 3.88
Baby Poop Green
#8F9805
ΔE00 4.41
Puke Green
#9AAE07
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1A421 #2421A4
analogous
#A46521 #A1A421 #5FA421
triadic
#A1A421 #21A1A4 #A421A1
tetradic
#A1A421 #21A465 #2421A4 #A4215F
square
#A1A421 #21A465 #2421A4 #A4215F
split-complementary
#A1A421 #215FA4 #6521A4
monochromatic
#3D3E0C #6F7117 #A1A421 #D1D52D #DCDF60
Accessibility & contrast
On white
2.68
#A1A421 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.85
#A1A421 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1A421
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1A421 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1A421 | 1.00 | 2.68 | 7.85 | 7.85 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B2A02D
Tritanopia (blue-blind)
#AD998C
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a1a421; /* rgb */ color: rgb(161, 164, 33); /* oklch */ color: oklch(69.4% 0.143 111.0);
Tailwind
colors: {
custom: {
50: '#c1be69',
500: '#a1a421',
950: '#000000',
},
}SCSS
$custom: #a1a421; $custom-light: #c1be69; $custom-dark: #000000;
JSON
{
"hex": "#a1a421",
"rgb": {
"r": 161,
"g": 164,
"b": 33
},
"hsl": {
"h": 61.374,
"s": 66.497,
"l": 38.627
},
"oklch": {
"l": 0.69406,
"c": 0.14307,
"h": 111
},
"luminance": 0.34238
}Semantic roles & 50–950 ramp
primary
#A1A421
secondary
#5F5DC4
accent
#3EE942
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131207
muted
#82817A