#A8A628#A8A628
#A8A628 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.5% C 0.140 H 108.6°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A628 |
|---|---|
| RGB | rgb(168, 166, 40) |
| HSL | hsl(59, 62%, 41%) |
| HSV | hsv(59, 76%, 66%) |
| CMYK | cmyk(0%, 1.2%, 76.2%, 34.1%) |
| CIE-LAB | lab(66.33, -13.80, 60.63) |
| CIE-LCH | lch(66.33, 62.18, 102.82°) |
| OKLab | oklab(70.5% -0.0446 0.1327) |
| OKLCH | oklch(70.5% 0.14 108.6) |
| XYZ | xyz(30.1688, 35.7514, 7.3186) |
| Luminance | 0.3575 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.62
Puke
#A5A502
ΔE00 1.97
Pea Soup Green
#94A617
ΔE00 4.93
Pea Soup
#929901
ΔE00 5.17
Puke Green
#9AAE07
ΔE00 5.33
Mustard Green
#A8B504
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A628 #282AA8
analogous
#A86628 #A8A628 #6AA828
triadic
#A8A628 #28A8A6 #A628A8
tetradic
#A8A628 #28A866 #282AA8 #A8286A
square
#A8A628 #28A866 #282AA8 #A8286A
split-complementary
#A8A628 #286AA8 #6628A8
monochromatic
#454410 #77751C #A8A628 #D1CE3D #DCDB6E
Accessibility & contrast
On white
2.58
#A8A628 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.15
#A8A628 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A628
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A628 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A628 | 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)
#B49F08
Deuteranopia (green-blind)
#B6A332
Tritanopia (blue-blind)
#B49B8E
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a8a628; /* rgb */ color: rgb(168, 166, 40); /* oklch */ color: oklch(70.5% 0.140 108.6);
Tailwind
colors: {
custom: {
50: '#c5c06d',
500: '#a8a628',
950: '#000000',
},
}SCSS
$custom: #a8a628; $custom-light: #c5c06d; $custom-dark: #000000;
JSON
{
"hex": "#a8a628",
"rgb": {
"r": 168,
"g": 166,
"b": 40
},
"hsl": {
"h": 59.063,
"s": 61.538,
"l": 40.784
},
"oklch": {
"l": 0.70501,
"c": 0.14,
"h": 108.6
},
"luminance": 0.3575
}Semantic roles & 50–950 ramp
primary
#A8A628
secondary
#696AC3
accent
#46E543
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A