#A5A322#A5A322
#A5A322 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.5% C 0.141 H 108.6°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A322 |
|---|---|
| RGB | rgb(165, 163, 34) |
| HSL | hsl(59, 66%, 39%) |
| HSV | hsv(59, 79%, 65%) |
| CMYK | cmyk(0%, 1.2%, 79.4%, 35.3%) |
| CIE-LAB | lab(65.21, -13.80, 61.40) |
| CIE-LCH | lch(65.21, 62.93, 102.67°) |
| OKLab | oklab(69.53% -0.0449 0.1334) |
| OKLCH | oklch(69.53% 0.141 108.6) |
| XYZ | xyz(28.9041, 34.3102, 6.6130) |
| Luminance | 0.3431 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.24
Puke
#A5A502
ΔE00 1.75
Pea Soup
#929901
ΔE00 4.35
Pea Soup Green
#94A617
ΔE00 4.82
Baby Poop Green
#8F9805
ΔE00 4.98
Puke Green
#9AAE07
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A322 #2224A5
analogous
#A56222 #A5A322 #66A522
triadic
#A5A322 #22A5A3 #A322A5
tetradic
#A5A322 #22A562 #2224A5 #A52266
square
#A5A322 #22A562 #2224A5 #A52266
split-complementary
#A5A322 #2266A5 #6222A5
monochromatic
#403F0D #727118 #A5A322 #D4D230 #DFDD63
Accessibility & contrast
On white
2.67
#A5A322 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.86
#A5A322 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A322
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A322 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A322 | 1.00 | 2.67 | 7.86 | 7.86 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B3A02E
Tritanopia (blue-blind)
#B1988B
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a5a322; /* rgb */ color: rgb(165, 163, 34); /* oklch */ color: oklch(69.5% 0.141 108.6);
Tailwind
colors: {
custom: {
50: '#c3be69',
500: '#a5a322',
950: '#000000',
},
}SCSS
$custom: #a5a322; $custom-light: #c3be69; $custom-dark: #000000;
JSON
{
"hex": "#a5a322",
"rgb": {
"r": 165,
"g": 163,
"b": 34
},
"hsl": {
"h": 59.084,
"s": 65.829,
"l": 39.02
},
"oklch": {
"l": 0.69534,
"c": 0.14072,
"h": 108.6
},
"luminance": 0.34309
}Semantic roles & 50–950 ramp
primary
#A5A322
secondary
#5F60C4
accent
#42E93F
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A