#A2A928#A2A928
#A2A928 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.7% C 0.144 H 112.7°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A928 |
|---|---|
| RGB | rgb(162, 169, 40) |
| HSL | hsl(63, 62%, 41%) |
| HSV | hsv(63, 76%, 66%) |
| CMYK | cmyk(4.1%, 0%, 76.3%, 33.7%) |
| CIE-LAB | lab(66.68, -17.96, 60.77) |
| CIE-LCH | lch(66.68, 63.37, 106.46°) |
| OKLab | oklab(70.66% -0.0558 0.1333) |
| OKLCH | oklch(70.66% 0.144 112.7) |
| XYZ | xyz(29.4722, 36.2112, 7.4440) |
| Luminance | 0.3621 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.17
Puke
#A5A502
ΔE00 2.93
Pea Soup Green
#94A617
ΔE00 2.95
Puke Green
#9AAE07
ΔE00 3.23
Barf Green
#94AC02
ΔE00 3.84
Mustard Green
#A8B504
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A928 #2F28A9
analogous
#A96F28 #A2A928 #61A928
triadic
#A2A928 #28A2A9 #A928A2
tetradic
#A2A928 #28A96F #2F28A9 #A92861
square
#A2A928 #28A96F #2F28A9 #A92861
split-complementary
#A2A928 #2861A9 #6F28A9
monochromatic
#434611 #73781C #A2A928 #C9D13D #D7DD6F
Accessibility & contrast
On white
2.55
#A2A928 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.24
#A2A928 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A928
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A928 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A928 | 1.00 | 2.55 | 8.24 | 8.24 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A106
Deuteranopia (green-blind)
#B6A433
Tritanopia (blue-blind)
#AD9E91
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a2a928; /* rgb */ color: rgb(162, 169, 40); /* oklch */ color: oklch(70.7% 0.144 112.7);
Tailwind
colors: {
custom: {
50: '#c1c26d',
500: '#a2a928',
950: '#000000',
},
}SCSS
$custom: #a2a928; $custom-light: #c1c26d; $custom-dark: #000000;
JSON
{
"hex": "#a2a928",
"rgb": {
"r": 162,
"g": 169,
"b": 40
},
"hsl": {
"h": 63.256,
"s": 61.722,
"l": 40.98
},
"oklch": {
"l": 0.70661,
"c": 0.14448,
"h": 112.7
},
"luminance": 0.36211
}Semantic roles & 50–950 ramp
primary
#A2A928
secondary
#6E69C4
accent
#43E54C
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B