#A2A722#A2A722
#A2A722 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.2% C 0.145 H 111.9°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A722 |
|---|---|
| RGB | rgb(162, 167, 34) |
| HSL | hsl(62, 66%, 39%) |
| HSV | hsv(62, 80%, 65%) |
| CMYK | cmyk(3%, 0%, 79.6%, 34.5%) |
| CIE-LAB | lab(66.09, -17.18, 62.08) |
| CIE-LCH | lch(66.09, 64.41, 105.47°) |
| OKLab | oklab(70.18% -0.0542 0.1349) |
| OKLCH | oklch(70.18% 0.145 111.9) |
| XYZ | xyz(29.0088, 35.4351, 6.8246) |
| Luminance | 0.3543 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.33
Puke
#A5A502
ΔE00 2.17
Pea Soup Green
#94A617
ΔE00 3.19
Puke Green
#9AAE07
ΔE00 3.66
Barf Green
#94AC02
ΔE00 4.24
Mustard Green
#A8B504
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A722 #2722A7
analogous
#A76A22 #A2A722 #5FA722
triadic
#A2A722 #22A2A7 #A722A2
tetradic
#A2A722 #22A76A #2722A7 #A7225F
square
#A2A722 #22A76A #2722A7 #A7225F
split-complementary
#A2A722 #225FA7 #6A22A7
monochromatic
#3F410D #717418 #A2A722 #CFD531 #DBDF64
Accessibility & contrast
On white
2.60
#A2A722 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.09
#A2A722 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A722
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A722 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A722 | 1.00 | 2.60 | 8.09 | 8.09 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B5A22E
Tritanopia (blue-blind)
#AE9C8F
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a2a722; /* rgb */ color: rgb(162, 167, 34); /* oklch */ color: oklch(70.2% 0.145 111.9);
Tailwind
colors: {
custom: {
50: '#c1c06a',
500: '#a2a722',
950: '#000000',
},
}SCSS
$custom: #a2a722; $custom-light: #c1c06a; $custom-dark: #000000;
JSON
{
"hex": "#a2a722",
"rgb": {
"r": 162,
"g": 167,
"b": 34
},
"hsl": {
"h": 62.256,
"s": 66.169,
"l": 39.412
},
"oklch": {
"l": 0.70176,
"c": 0.14541,
"h": 111.9
},
"luminance": 0.35434
}Semantic roles & 50–950 ramp
primary
#A2A722
secondary
#6460C5
accent
#3FE945
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A