#A8A625#A8A625
#A8A625 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.5% C 0.142 H 108.6°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A625 |
|---|---|
| RGB | rgb(168, 166, 37) |
| HSL | hsl(59, 64%, 40%) |
| HSV | hsv(59, 78%, 66%) |
| CMYK | cmyk(0%, 1.2%, 78%, 34.1%) |
| CIE-LAB | lab(66.31, -13.92, 61.57) |
| CIE-LCH | lch(66.31, 63.13, 102.74°) |
| OKLab | oklab(70.48% -0.0452 0.1342) |
| OKLCH | oklch(70.48% 0.142 108.6) |
| XYZ | xyz(30.1198, 35.7318, 7.0602) |
| Luminance | 0.3573 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.48
Puke
#A5A502
ΔE00 1.73
Pea Soup Green
#94A617
ΔE00 4.93
Pea Soup
#929901
ΔE00 5.13
Mustard Green
#A8B504
ΔE00 5.26
Puke Green
#9AAE07
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A625 #2527A8
analogous
#A86425 #A8A625 #68A825
triadic
#A8A625 #25A8A6 #A625A8
tetradic
#A8A625 #25A864 #2527A8 #A82568
square
#A8A625 #25A864 #2527A8 #A82568
split-complementary
#A8A625 #2568A8 #6425A8
monochromatic
#44430F #76741A #A8A625 #D3D137 #DEDC69
Accessibility & contrast
On white
2.58
#A8A625 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.15
#A8A625 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A625
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A625 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A625 | 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)
#B49F00
Deuteranopia (green-blind)
#B6A330
Tritanopia (blue-blind)
#B49B8E
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a8a625; /* rgb */ color: rgb(168, 166, 37); /* oklch */ color: oklch(70.5% 0.142 108.6);
Tailwind
colors: {
custom: {
50: '#c6c06b',
500: '#a8a625',
950: '#000000',
},
}SCSS
$custom: #a8a625; $custom-light: #c6c06b; $custom-dark: #000000;
JSON
{
"hex": "#a8a625",
"rgb": {
"r": 168,
"g": 166,
"b": 37
},
"hsl": {
"h": 59.084,
"s": 63.902,
"l": 40.196
},
"oklch": {
"l": 0.70484,
"c": 0.14156,
"h": 108.6
},
"luminance": 0.35731
}Semantic roles & 50–950 ramp
primary
#A8A625
secondary
#6566C4
accent
#43E741
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A