#A2A922#A2A922
#A2A922 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.6% C 0.147 H 112.7°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A922 |
|---|---|
| RGB | rgb(162, 169, 34) |
| HSL | hsl(63, 67%, 40%) |
| HSV | hsv(63, 80%, 66%) |
| CMYK | cmyk(4.1%, 0%, 79.9%, 33.7%) |
| CIE-LAB | lab(66.65, -18.20, 62.58) |
| CIE-LCH | lch(66.65, 65.18, 106.21°) |
| OKLab | oklab(70.63% -0.057 0.136) |
| OKLCH | oklch(70.63% 0.147 112.7) |
| XYZ | xyz(29.3780, 36.1735, 6.9477) |
| Luminance | 0.3617 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.91
Puke
#A5A502
ΔE00 2.58
Pea Soup Green
#94A617
ΔE00 2.96
Puke Green
#9AAE07
ΔE00 3.06
Barf Green
#94AC02
ΔE00 3.74
Mustard Green
#A8B504
ΔE00 3.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A922 #2922A9
analogous
#A96C22 #A2A922 #5FA922
triadic
#A2A922 #22A2A9 #A922A2
tetradic
#A2A922 #22A96C #2922A9 #A9225F
square
#A2A922 #22A96C #2922A9 #A9225F
split-complementary
#A2A922 #225FA9 #6C22A9
monochromatic
#40430D #717618 #A2A922 #CDD632 #DAE065
Accessibility & contrast
On white
2.55
#A2A922 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.23
#A2A922 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A922
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A922 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A922 | 1.00 | 2.55 | 8.23 | 8.23 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A100
Deuteranopia (green-blind)
#B6A42F
Tritanopia (blue-blind)
#AD9E90
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a2a922; /* rgb */ color: rgb(162, 169, 34); /* oklch */ color: oklch(70.6% 0.147 112.7);
Tailwind
colors: {
custom: {
50: '#c1c26a',
500: '#a2a922',
950: '#000000',
},
}SCSS
$custom: #a2a922; $custom-light: #c1c26a; $custom-dark: #000000;
JSON
{
"hex": "#a2a922",
"rgb": {
"r": 162,
"g": 169,
"b": 34
},
"hsl": {
"h": 63.111,
"s": 66.502,
"l": 39.804
},
"oklch": {
"l": 0.70629,
"c": 0.14748,
"h": 112.7
},
"luminance": 0.36173
}Semantic roles & 50–950 ramp
primary
#A2A922
secondary
#6761C5
accent
#3EE947
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A