#A1A028#A1A028
#A1A028 is a light, vivid yellow. Relative luminance 0.329; OKLCH L 68.5% C 0.135 H 109.0°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #A1A028 |
|---|---|
| RGB | rgb(161, 160, 40) |
| HSL | hsl(60, 60%, 39%) |
| HSV | hsv(60, 75%, 63%) |
| CMYK | cmyk(0%, 0.6%, 75.2%, 36.9%) |
| CIE-LAB | lab(64.06, -13.76, 58.31) |
| CIE-LCH | lch(64.06, 59.91, 103.28°) |
| OKLab | oklab(68.54% -0.0441 0.1281) |
| OKLCH | oklch(68.54% 0.135 109) |
| XYZ | xyz(27.6528, 32.8727, 6.8955) |
| Luminance | 0.3287 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.00
Puke
#A5A502
ΔE00 2.85
Pea Soup
#929901
ΔE00 3.62
Baby Poop Green
#8F9805
ΔE00 4.15
Pea Soup Green
#94A617
ΔE00 4.65
Baby Shit Green
#889717
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1A028 #2829A1
analogous
#A16428 #A1A028 #66A128
triadic
#A1A028 #28A1A0 #A028A1
tetradic
#A1A028 #28A164 #2829A1 #A12866
square
#A1A028 #28A164 #2829A1 #A12866
split-complementary
#A1A028 #2866A1 #6428A1
monochromatic
#3F3F10 #706F1C #A1A028 #CECC39 #DAD96A
Accessibility & contrast
On white
2.77
#A1A028 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.57
#A1A028 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1A028
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1A028 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1A028 | 1.00 | 2.77 | 7.57 | 7.57 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD990D
Deuteranopia (green-blind)
#AF9D32
Tritanopia (blue-blind)
#AD9589
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #a1a028; /* rgb */ color: rgb(161, 160, 40); /* oklch */ color: oklch(68.5% 0.135 109.0);
Tailwind
colors: {
custom: {
50: '#c0bb6c',
500: '#a1a028',
950: '#000000',
},
}SCSS
$custom: #a1a028; $custom-light: #c0bb6c; $custom-dark: #000000;
JSON
{
"hex": "#a1a028",
"rgb": {
"r": 161,
"g": 160,
"b": 40
},
"hsl": {
"h": 59.504,
"s": 60.199,
"l": 39.412
},
"oklch": {
"l": 0.68543,
"c": 0.13544,
"h": 109
},
"luminance": 0.32872
}Semantic roles & 50–950 ramp
primary
#A1A028
secondary
#6565C0
accent
#46E344
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A