#A5A524#A5A524
#A5A524 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.0% C 0.142 H 109.6°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A524 |
|---|---|
| RGB | rgb(165, 165, 36) |
| HSL | hsl(60, 64%, 39%) |
| HSV | hsv(60, 78%, 65%) |
| CMYK | cmyk(0%, 0%, 78.2%, 35.3%) |
| CIE-LAB | lab(65.78, -14.76, 61.30) |
| CIE-LCH | lch(65.78, 63.06, 103.54°) |
| OKLab | oklab(69.99% -0.0474 0.1335) |
| OKLCH | oklch(69.99% 0.142 109.6) |
| XYZ | xyz(29.2917, 35.0379, 6.8887) |
| Luminance | 0.3504 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.04
Puke
#A5A502
ΔE00 1.72
Pea Soup Green
#94A617
ΔE00 4.34
Pea Soup
#929901
ΔE00 4.56
Puke Green
#9AAE07
ΔE00 4.92
Baby Poop Green
#8F9805
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A524 #2424A5
analogous
#A56524 #A5A524 #65A524
triadic
#A5A524 #24A5A5 #A524A5
tetradic
#A5A524 #24A565 #2424A5 #A52465
square
#A5A524 #24A565 #2424A5 #A52465
split-complementary
#A5A524 #2465A5 #6524A5
monochromatic
#41410E #737319 #A5A524 #D3D334 #DEDE66
Accessibility & contrast
On white
2.62
#A5A524 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.01
#A5A524 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A524
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A524 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A524 | 1.00 | 2.62 | 8.01 | 8.01 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B4A22F
Tritanopia (blue-blind)
#B19A8D
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a5a524; /* rgb */ color: rgb(165, 165, 36); /* oklch */ color: oklch(70.0% 0.142 109.6);
Tailwind
colors: {
custom: {
50: '#c3bf6b',
500: '#a5a524',
950: '#000000',
},
}SCSS
$custom: #a5a524; $custom-light: #c3bf6b; $custom-dark: #000000;
JSON
{
"hex": "#a5a524",
"rgb": {
"r": 165,
"g": 165,
"b": 36
},
"hsl": {
"h": 60,
"s": 64.179,
"l": 39.412
},
"oklch": {
"l": 0.69993,
"c": 0.1417,
"h": 109.6
},
"luminance": 0.35037
}Semantic roles & 50–950 ramp
primary
#A5A524
secondary
#6262C3
accent
#41E741
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A