#A5A722#A5A722
#A5A722 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.4% C 0.145 H 110.5°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A722 |
|---|---|
| RGB | rgb(165, 167, 34) |
| HSL | hsl(61, 66%, 39%) |
| HSV | hsv(61, 80%, 65%) |
| CMYK | cmyk(1.2%, 0%, 79.6%, 34.5%) |
| CIE-LAB | lab(66.33, -15.86, 62.39) |
| CIE-LCH | lch(66.33, 64.38, 104.27°) |
| OKLab | oklab(70.43% -0.0507 0.1355) |
| OKLCH | oklch(70.43% 0.145 110.5) |
| XYZ | xyz(29.6256, 35.7531, 6.8535) |
| Luminance | 0.3575 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.10
Puke
#A5A502
ΔE00 1.69
Pea Soup Green
#94A617
ΔE00 3.97
Puke Green
#9AAE07
ΔE00 4.27
Mustard Green
#A8B504
ΔE00 4.57
Pea Soup
#929901
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A722 #2422A7
analogous
#A76722 #A5A722 #63A722
triadic
#A5A722 #22A5A7 #A722A5
tetradic
#A5A722 #22A767 #2422A7 #A72263
square
#A5A722 #22A767 #2422A7 #A72263
split-complementary
#A5A722 #2263A7 #6722A7
monochromatic
#41410D #737418 #A5A722 #D3D531 #DEDF64
Accessibility & contrast
On white
2.58
#A5A722 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.15
#A5A722 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A722
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A722 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A722 | 1.00 | 2.58 | 8.15 | 8.15 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B6A32E
Tritanopia (blue-blind)
#B19C8F
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a5a722; /* rgb */ color: rgb(165, 167, 34); /* oklch */ color: oklch(70.4% 0.145 110.5);
Tailwind
colors: {
custom: {
50: '#c3c06a',
500: '#a5a722',
950: '#000000',
},
}SCSS
$custom: #a5a722; $custom-light: #c3c06a; $custom-dark: #000000;
JSON
{
"hex": "#a5a722",
"rgb": {
"r": 165,
"g": 167,
"b": 34
},
"hsl": {
"h": 60.902,
"s": 66.169,
"l": 39.412
},
"oklch": {
"l": 0.70431,
"c": 0.14465,
"h": 110.5
},
"luminance": 0.35752
}Semantic roles & 50–950 ramp
primary
#A5A722
secondary
#6260C5
accent
#3FE941
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A