#A2A822#A2A822
#A2A822 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.4% C 0.146 H 112.3°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A822 |
|---|---|
| RGB | rgb(162, 168, 34) |
| HSL | hsl(63, 66%, 40%) |
| HSV | hsv(63, 80%, 66%) |
| CMYK | cmyk(3.6%, 0%, 79.8%, 34.1%) |
| CIE-LAB | lab(66.37, -17.69, 62.33) |
| CIE-LCH | lch(66.37, 64.79, 105.84°) |
| OKLab | oklab(70.4% -0.0556 0.1355) |
| OKLCH | oklch(70.4% 0.146 112.3) |
| XYZ | xyz(29.1927, 35.8029, 6.8859) |
| Luminance | 0.3580 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.61
Puke
#A5A502
ΔE00 2.36
Pea Soup Green
#94A617
ΔE00 3.06
Puke Green
#9AAE07
ΔE00 3.36
Barf Green
#94AC02
ΔE00 3.98
Mustard Green
#A8B504
ΔE00 4.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A822 #2822A8
analogous
#A86B22 #A2A822 #5FA822
triadic
#A2A822 #22A2A8 #A822A2
tetradic
#A2A822 #22A86B #2822A8 #A8225F
square
#A2A822 #22A86B #2822A8 #A8225F
split-complementary
#A2A822 #225FA8 #6B22A8
monochromatic
#40420D #717518 #A2A822 #CED532 #DAE065
Accessibility & contrast
On white
2.57
#A2A822 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.16
#A2A822 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A822
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A822 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A822 | 1.00 | 2.57 | 8.16 | 8.16 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B6A32F
Tritanopia (blue-blind)
#AE9D90
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a2a822; /* rgb */ color: rgb(162, 168, 34); /* oklch */ color: oklch(70.4% 0.146 112.3);
Tailwind
colors: {
custom: {
50: '#c1c16a',
500: '#a2a822',
950: '#000000',
},
}SCSS
$custom: #a2a822; $custom-light: #c1c16a; $custom-dark: #000000;
JSON
{
"hex": "#a2a822",
"rgb": {
"r": 162,
"g": 168,
"b": 34
},
"hsl": {
"h": 62.687,
"s": 66.337,
"l": 39.608
},
"oklch": {
"l": 0.70402,
"c": 0.14644,
"h": 112.3
},
"luminance": 0.35802
}Semantic roles & 50–950 ramp
primary
#A2A822
secondary
#6561C5
accent
#3FE946
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A