#A4A822#A4A822
#A4A822 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.6% C 0.146 H 111.4°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #A4A822 |
|---|---|
| RGB | rgb(164, 168, 34) |
| HSL | hsl(62, 66%, 40%) |
| HSV | hsv(62, 80%, 66%) |
| CMYK | cmyk(2.4%, 0%, 79.8%, 34.1%) |
| CIE-LAB | lab(66.53, -16.81, 62.54) |
| CIE-LCH | lch(66.53, 64.76, 105.05°) |
| OKLab | oklab(70.57% -0.0533 0.1358) |
| OKLCH | oklch(70.57% 0.146 111.4) |
| XYZ | xyz(29.6023, 36.0141, 6.9051) |
| Luminance | 0.3601 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.38
Puke
#A5A502
ΔE00 2.00
Pea Soup Green
#94A617
ΔE00 3.56
Puke Green
#9AAE07
ΔE00 3.76
Mustard Green
#A8B504
ΔE00 4.19
Barf Green
#94AC02
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4A822 #2622A8
analogous
#A86922 #A4A822 #61A822
triadic
#A4A822 #22A4A8 #A822A4
tetradic
#A4A822 #22A869 #2622A8 #A82261
square
#A4A822 #22A869 #2622A8 #A82261
split-complementary
#A4A822 #2261A8 #6922A8
monochromatic
#41420D #727518 #A4A822 #D1D532 #DCE065
Accessibility & contrast
On white
2.56
#A4A822 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.20
#A4A822 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4A822
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4A822 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4A822 | 1.00 | 2.56 | 8.20 | 8.20 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B6A32F
Tritanopia (blue-blind)
#B09D90
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a4a822; /* rgb */ color: rgb(164, 168, 34); /* oklch */ color: oklch(70.6% 0.146 111.4);
Tailwind
colors: {
custom: {
50: '#c3c16a',
500: '#a4a822',
950: '#000000',
},
}SCSS
$custom: #a4a822; $custom-light: #c3c16a; $custom-dark: #000000;
JSON
{
"hex": "#a4a822",
"rgb": {
"r": 164,
"g": 168,
"b": 34
},
"hsl": {
"h": 61.791,
"s": 66.337,
"l": 39.608
},
"oklch": {
"l": 0.70571,
"c": 0.14591,
"h": 111.4
},
"luminance": 0.36013
}Semantic roles & 50–950 ramp
primary
#A4A822
secondary
#6461C5
accent
#3FE944
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A