#A5A522#A5A522
#A5A522 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.0% C 0.143 H 109.6°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A522 |
|---|---|
| RGB | rgb(165, 165, 34) |
| HSL | hsl(60, 66%, 39%) |
| HSV | hsv(60, 79%, 65%) |
| CMYK | cmyk(0%, 0%, 79.4%, 35.3%) |
| CIE-LAB | lab(65.77, -14.83, 61.90) |
| CIE-LCH | lch(65.77, 63.65, 103.48°) |
| OKLab | oklab(69.98% -0.0478 0.1344) |
| OKLCH | oklch(69.98% 0.143 109.6) |
| XYZ | xyz(29.2620, 35.0260, 6.7323) |
| Luminance | 0.3503 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 0.92
Puke
#A5A502
ΔE00 1.56
Pea Soup Green
#94A617
ΔE00 4.35
Pea Soup
#929901
ΔE00 4.54
Puke Green
#9AAE07
ΔE00 4.90
Baby Poop Green
#8F9805
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A522 #2222A5
analogous
#A56422 #A5A522 #64A522
triadic
#A5A522 #22A5A5 #A522A5
tetradic
#A5A522 #22A564 #2222A5 #A52264
square
#A5A522 #22A564 #2222A5 #A52264
split-complementary
#A5A522 #2264A5 #6422A5
monochromatic
#40400D #727218 #A5A522 #D4D430 #DFDF63
Accessibility & contrast
On white
2.62
#A5A522 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.00
#A5A522 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A522
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A522 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A522 | 1.00 | 2.62 | 8.00 | 8.00 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B4A22E
Tritanopia (blue-blind)
#B19A8D
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a5a522; /* rgb */ color: rgb(165, 165, 34); /* oklch */ color: oklch(70.0% 0.143 109.6);
Tailwind
colors: {
custom: {
50: '#c3bf6a',
500: '#a5a522',
950: '#000000',
},
}SCSS
$custom: #a5a522; $custom-light: #c3bf6a; $custom-dark: #000000;
JSON
{
"hex": "#a5a522",
"rgb": {
"r": 165,
"g": 165,
"b": 34
},
"hsl": {
"h": 60,
"s": 65.829,
"l": 39.02
},
"oklch": {
"l": 0.69982,
"c": 0.14267,
"h": 109.6
},
"luminance": 0.35025
}Semantic roles & 50–950 ramp
primary
#A5A522
secondary
#5F5FC4
accent
#3FE93F
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A