#A2A328#A2A328
#A2A328 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.3% C 0.138 H 110.0°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A328 |
|---|---|
| RGB | rgb(162, 163, 40) |
| HSL | hsl(60, 61%, 40%) |
| HSV | hsv(60, 75%, 64%) |
| CMYK | cmyk(0.6%, 0%, 75.5%, 36.1%) |
| CIE-LAB | lab(64.99, -14.88, 59.21) |
| CIE-LCH | lch(64.99, 61.05, 104.11°) |
| OKLab | oklab(69.31% -0.0473 0.1299) |
| OKLCH | oklch(69.31% 0.138 110) |
| XYZ | xyz(28.3815, 34.0298, 7.0804) |
| Luminance | 0.3403 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.43
Puke
#A5A502
ΔE00 2.40
Pea Soup
#929901
ΔE00 3.99
Pea Soup Green
#94A617
ΔE00 4.05
Baby Poop Green
#8F9805
ΔE00 4.51
Puke Green
#9AAE07
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A328 #2928A3
analogous
#A36728 #A2A328 #64A328
triadic
#A2A328 #28A2A3 #A328A2
tetradic
#A2A328 #28A367 #2928A3 #A32864
square
#A2A328 #28A367 #2928A3 #A32864
split-complementary
#A2A328 #2864A3 #6728A3
monochromatic
#404110 #71721C #A2A328 #CDCF3A #DADB6B
Accessibility & contrast
On white
2.69
#A2A328 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#A2A328 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A328
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A328 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A328 | 1.00 | 2.69 | 7.81 | 7.81 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09C0B
Deuteranopia (green-blind)
#B29F32
Tritanopia (blue-blind)
#AE988C
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a2a328; /* rgb */ color: rgb(162, 163, 40); /* oklch */ color: oklch(69.3% 0.138 110.0);
Tailwind
colors: {
custom: {
50: '#c1be6c',
500: '#a2a328',
950: '#000000',
},
}SCSS
$custom: #a2a328; $custom-light: #c1be6c; $custom-dark: #000000;
JSON
{
"hex": "#a2a328",
"rgb": {
"r": 162,
"g": 163,
"b": 40
},
"hsl": {
"h": 60.488,
"s": 60.591,
"l": 39.804
},
"oklch": {
"l": 0.69305,
"c": 0.13826,
"h": 110
},
"luminance": 0.34029
}Semantic roles & 50–950 ramp
primary
#A2A328
secondary
#6766C1
accent
#44E445
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A