#A1A328#A1A328
#A1A328 is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.2% C 0.138 H 110.5°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #A1A328 |
|---|---|
| RGB | rgb(161, 163, 40) |
| HSL | hsl(61, 61%, 40%) |
| HSV | hsv(61, 75%, 64%) |
| CMYK | cmyk(1.2%, 0%, 75.5%, 36.1%) |
| CIE-LAB | lab(64.90, -15.32, 59.10) |
| CIE-LCH | lch(64.90, 61.05, 104.53°) |
| OKLab | oklab(69.22% -0.0485 0.1297) |
| OKLCH | oklch(69.22% 0.138 110.5) |
| XYZ | xyz(28.1791, 33.9254, 7.0709) |
| Luminance | 0.3392 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.48
Puke
#A5A502
ΔE00 2.52
Pea Soup Green
#94A617
ΔE00 3.80
Pea Soup
#929901
ΔE00 3.87
Baby Poop Green
#8F9805
ΔE00 4.36
Puke Green
#9AAE07
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1A328 #2A28A3
analogous
#A36828 #A1A328 #63A328
triadic
#A1A328 #28A1A3 #A328A1
tetradic
#A1A328 #28A368 #2A28A3 #A32863
square
#A1A328 #28A368 #2A28A3 #A32863
split-complementary
#A1A328 #2863A3 #6828A3
monochromatic
#404110 #70721C #A1A328 #CCCF3A #D9DB6B
Accessibility & contrast
On white
2.70
#A1A328 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.78
#A1A328 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1A328
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1A328 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1A328 | 1.00 | 2.70 | 7.78 | 7.78 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09C0B
Deuteranopia (green-blind)
#B19F32
Tritanopia (blue-blind)
#AD988C
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a1a328; /* rgb */ color: rgb(161, 163, 40); /* oklch */ color: oklch(69.2% 0.138 110.5);
Tailwind
colors: {
custom: {
50: '#c0be6c',
500: '#a1a328',
950: '#000000',
},
}SCSS
$custom: #a1a328; $custom-light: #c0be6c; $custom-dark: #000000;
JSON
{
"hex": "#a1a328",
"rgb": {
"r": 161,
"g": 163,
"b": 40
},
"hsl": {
"h": 60.976,
"s": 60.591,
"l": 39.804
},
"oklch": {
"l": 0.69219,
"c": 0.13849,
"h": 110.5
},
"luminance": 0.33925
}Semantic roles & 50–950 ramp
primary
#A1A328
secondary
#6766C1
accent
#44E447
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A