#A8A526#A8A526
#A8A526 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.3% C 0.140 H 108.1°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A526 |
|---|---|
| RGB | rgb(168, 165, 38) |
| HSL | hsl(59, 63%, 40%) |
| HSV | hsv(59, 77%, 66%) |
| CMYK | cmyk(0%, 1.8%, 77.4%, 34.1%) |
| CIE-LAB | lab(66.04, -13.36, 61.01) |
| CIE-LCH | lch(66.04, 62.46, 102.35°) |
| OKLab | oklab(70.27% -0.0435 0.1332) |
| OKLCH | oklch(70.27% 0.14 108.1) |
| XYZ | xyz(29.9546, 35.3760, 7.0837) |
| Luminance | 0.3538 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.62
Puke
#A5A502
ΔE00 1.88
Pea Soup
#929901
ΔE00 5.06
Pea Soup Green
#94A617
ΔE00 5.14
Puke Green
#9AAE07
ΔE00 5.61
Mustard Green
#A8B504
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A526 #2629A8
analogous
#A86426 #A8A526 #6AA826
triadic
#A8A526 #26A8A5 #A526A8
tetradic
#A8A526 #26A864 #2629A8 #A8266A
square
#A8A526 #26A864 #2629A8 #A8266A
split-complementary
#A8A526 #266AA8 #6426A8
monochromatic
#44430F #76741B #A8A526 #D2CF39 #DEDB6B
Accessibility & contrast
On white
2.60
#A8A526 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.07
#A8A526 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A526
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A526 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A526 | 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)
#B39E03
Deuteranopia (green-blind)
#B5A231
Tritanopia (blue-blind)
#B59A8D
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a8a526; /* rgb */ color: rgb(168, 165, 38); /* oklch */ color: oklch(70.3% 0.140 108.1);
Tailwind
colors: {
custom: {
50: '#c6bf6c',
500: '#a8a526',
950: '#000000',
},
}SCSS
$custom: #a8a526; $custom-light: #c6bf6c; $custom-dark: #000000;
JSON
{
"hex": "#a8a526",
"rgb": {
"r": 168,
"g": 165,
"b": 38
},
"hsl": {
"h": 58.615,
"s": 63.107,
"l": 40.392
},
"oklch": {
"l": 0.70266,
"c": 0.14009,
"h": 108.1
},
"luminance": 0.35375
}Semantic roles & 50–950 ramp
primary
#A8A526
secondary
#6668C4
accent
#45E642
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131207
muted
#82817A