#A1A828#A1A828
#A1A828 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.4% C 0.144 H 112.8°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #A1A828 |
|---|---|
| RGB | rgb(161, 168, 40) |
| HSL | hsl(63, 62%, 41%) |
| HSV | hsv(63, 76%, 66%) |
| CMYK | cmyk(4.2%, 0%, 76.2%, 34.1%) |
| CIE-LAB | lab(66.32, -17.88, 60.41) |
| CIE-LCH | lch(66.32, 63.00, 106.49°) |
| OKLab | oklab(70.35% -0.0556 0.1325) |
| OKLCH | oklch(70.35% 0.144 112.8) |
| XYZ | xyz(29.0845, 35.7362, 7.3727) |
| Luminance | 0.3574 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.07
Pea Soup Green
#94A617
ΔE00 2.82
Puke
#A5A502
ΔE00 2.93
Puke Green
#9AAE07
ΔE00 3.34
Barf Green
#94AC02
ΔE00 3.87
Mustard Green
#A8B504
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1A828 #2F28A8
analogous
#A86F28 #A1A828 #61A828
triadic
#A1A828 #28A1A8 #A828A1
tetradic
#A1A828 #28A86F #2F28A8 #A82861
square
#A1A828 #28A86F #2F28A8 #A82861
split-complementary
#A1A828 #2861A8 #6F28A8
monochromatic
#424510 #72771C #A1A828 #C9D13D #D6DC6E
Accessibility & contrast
On white
2.58
#A1A828 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.15
#A1A828 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1A828
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1A828 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1A828 | 1.00 | 2.58 | 8.15 | 8.15 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A007
Deuteranopia (green-blind)
#B5A333
Tritanopia (blue-blind)
#AC9E90
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a1a828; /* rgb */ color: rgb(161, 168, 40); /* oklch */ color: oklch(70.4% 0.144 112.8);
Tailwind
colors: {
custom: {
50: '#c0c16d',
500: '#a1a828',
950: '#000000',
},
}SCSS
$custom: #a1a828; $custom-light: #c0c16d; $custom-dark: #000000;
JSON
{
"hex": "#a1a828",
"rgb": {
"r": 161,
"g": 168,
"b": 40
},
"hsl": {
"h": 63.281,
"s": 61.538,
"l": 40.784
},
"oklch": {
"l": 0.70351,
"c": 0.1437,
"h": 112.8
},
"luminance": 0.35736
}Semantic roles & 50–950 ramp
primary
#A1A828
secondary
#6E69C3
accent
#43E54C
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B