#A1A728#A1A728
#A1A728 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.1% C 0.143 H 112.3°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A1A728 |
|---|---|
| RGB | rgb(161, 167, 40) |
| HSL | hsl(63, 61%, 41%) |
| HSV | hsv(63, 76%, 65%) |
| CMYK | cmyk(3.6%, 0%, 76%, 34.5%) |
| CIE-LAB | lab(66.03, -17.37, 60.15) |
| CIE-LCH | lch(66.03, 62.61, 106.11°) |
| OKLab | oklab(70.12% -0.0542 0.132) |
| OKLCH | oklch(70.12% 0.143 112.3) |
| XYZ | xyz(28.9006, 35.3684, 7.3114) |
| Luminance | 0.3537 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.84
Puke
#A5A502
ΔE00 2.76
Pea Soup Green
#94A617
ΔE00 2.95
Puke Green
#9AAE07
ΔE00 3.64
Barf Green
#94AC02
ΔE00 4.13
Pea Soup
#929901
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1A728 #2E28A7
analogous
#A76E28 #A1A728 #61A728
triadic
#A1A728 #28A1A7 #A728A1
tetradic
#A1A728 #28A76E #2E28A7 #A72861
square
#A1A728 #28A76E #2E28A7 #A72861
split-complementary
#A1A728 #2861A7 #6E28A7
monochromatic
#424410 #71761C #A1A728 #C9D03C #D7DC6D
Accessibility & contrast
On white
2.60
#A1A728 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.07
#A1A728 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1A728
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1A728 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1A728 | 1.00 | 2.60 | 8.07 | 8.07 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F08
Deuteranopia (green-blind)
#B4A233
Tritanopia (blue-blind)
#AC9D8F
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a1a728; /* rgb */ color: rgb(161, 167, 40); /* oklch */ color: oklch(70.1% 0.143 112.3);
Tailwind
colors: {
custom: {
50: '#c0c06d',
500: '#a1a728',
950: '#000000',
},
}SCSS
$custom: #a1a728; $custom-light: #c0c06d; $custom-dark: #000000;
JSON
{
"hex": "#a1a728",
"rgb": {
"r": 161,
"g": 167,
"b": 40
},
"hsl": {
"h": 62.835,
"s": 61.353,
"l": 40.588
},
"oklch": {
"l": 0.70124,
"c": 0.14265,
"h": 112.3
},
"luminance": 0.35368
}Semantic roles & 50–950 ramp
primary
#A1A728
secondary
#6C68C3
accent
#43E44B
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A