#A8A525#A8A525
#A8A525 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.3% C 0.141 H 108.1°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A525 |
|---|---|
| RGB | rgb(168, 165, 37) |
| HSL | hsl(59, 64%, 40%) |
| HSV | hsv(59, 78%, 66%) |
| CMYK | cmyk(0%, 1.8%, 78%, 34.1%) |
| CIE-LAB | lab(66.04, -13.40, 61.32) |
| CIE-LCH | lch(66.04, 62.77, 102.33°) |
| OKLab | oklab(70.26% -0.0437 0.1336) |
| OKLCH | oklch(70.26% 0.141 108.1) |
| XYZ | xyz(29.9387, 35.3697, 6.9999) |
| Luminance | 0.3537 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.58
Puke
#A5A502
ΔE00 1.80
Pea Soup
#929901
ΔE00 5.05
Pea Soup Green
#94A617
ΔE00 5.15
Puke Green
#9AAE07
ΔE00 5.60
Mustard Green
#A8B504
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A525 #2528A8
analogous
#A86325 #A8A525 #69A825
triadic
#A8A525 #25A8A5 #A525A8
tetradic
#A8A525 #25A863 #2528A8 #A82569
square
#A8A525 #25A863 #2528A8 #A82569
split-complementary
#A8A525 #2569A8 #6325A8
monochromatic
#44420F #76741A #A8A525 #D3CF37 #DEDB69
Accessibility & contrast
On white
2.60
#A8A525 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.07
#A8A525 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A525
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A525 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A525 | 1.00 | 2.60 | 8.07 | 8.07 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B5A230
Tritanopia (blue-blind)
#B59A8D
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a8a525; /* rgb */ color: rgb(168, 165, 37); /* oklch */ color: oklch(70.3% 0.141 108.1);
Tailwind
colors: {
custom: {
50: '#c6bf6b',
500: '#a8a525',
950: '#000000',
},
}SCSS
$custom: #a8a525; $custom-light: #c6bf6b; $custom-dark: #000000;
JSON
{
"hex": "#a8a525",
"rgb": {
"r": 168,
"g": 165,
"b": 37
},
"hsl": {
"h": 58.626,
"s": 63.902,
"l": 40.196
},
"oklch": {
"l": 0.70261,
"c": 0.14059,
"h": 108.1
},
"luminance": 0.35369
}Semantic roles & 50–950 ramp
primary
#A8A525
secondary
#6567C4
accent
#45E741
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131207
muted
#82817A