#A1A428#A1A428
#A1A428 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.4% C 0.140 H 111.0°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #A1A428 |
|---|---|
| RGB | rgb(161, 164, 40) |
| HSL | hsl(61, 61%, 40%) |
| HSV | hsv(61, 76%, 64%) |
| CMYK | cmyk(1.8%, 0%, 75.6%, 35.7%) |
| CIE-LAB | lab(65.19, -15.84, 59.36) |
| CIE-LCH | lch(65.19, 61.44, 104.94°) |
| OKLab | oklab(69.45% -0.0499 0.1303) |
| OKLCH | oklch(69.45% 0.14 111) |
| XYZ | xyz(28.3574, 34.2820, 7.1304) |
| Luminance | 0.3428 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.46
Puke
#A5A502
ΔE00 2.51
Pea Soup Green
#94A617
ΔE00 3.55
Pea Soup
#929901
ΔE00 4.01
Baby Poop Green
#8F9805
ΔE00 4.49
Puke Green
#9AAE07
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1A428 #2B28A4
analogous
#A46928 #A1A428 #63A428
triadic
#A1A428 #28A1A4 #A428A1
tetradic
#A1A428 #28A469 #2B28A4 #A42863
square
#A1A428 #28A469 #2B28A4 #A42863
split-complementary
#A1A428 #2863A4 #6928A4
monochromatic
#404210 #71731C #A1A428 #CBCF3A #D8DB6B
Accessibility & contrast
On white
2.67
#A1A428 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.86
#A1A428 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1A428
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1A428 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1A428 | 1.00 | 2.67 | 7.86 | 7.86 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19D0A
Deuteranopia (green-blind)
#B2A032
Tritanopia (blue-blind)
#AC998D
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a1a428; /* rgb */ color: rgb(161, 164, 40); /* oklch */ color: oklch(69.4% 0.140 111.0);
Tailwind
colors: {
custom: {
50: '#c0be6c',
500: '#a1a428',
950: '#000000',
},
}SCSS
$custom: #a1a428; $custom-light: #c0be6c; $custom-dark: #000000;
JSON
{
"hex": "#a1a428",
"rgb": {
"r": 161,
"g": 164,
"b": 40
},
"hsl": {
"h": 61.452,
"s": 60.784,
"l": 40
},
"oklch": {
"l": 0.69445,
"c": 0.13952,
"h": 111
},
"luminance": 0.34281
}Semantic roles & 50–950 ramp
primary
#A1A428
secondary
#6966C1
accent
#44E448
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A