#A8A527#A8A527
#A8A527 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.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A527 |
|---|---|
| RGB | rgb(168, 165, 39) |
| HSL | hsl(59, 62%, 41%) |
| HSV | hsv(59, 77%, 66%) |
| CMYK | cmyk(0%, 1.8%, 76.8%, 34.1%) |
| CIE-LAB | lab(66.05, -13.32, 60.69) |
| CIE-LCH | lch(66.05, 62.14, 102.38°) |
| OKLab | oklab(70.27% -0.0433 0.1327) |
| OKLCH | oklch(70.27% 0.14 108.1) |
| XYZ | xyz(29.9710, 35.3826, 7.1698) |
| Luminance | 0.3538 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.67
Puke
#A5A502
ΔE00 1.96
Pea Soup
#929901
ΔE00 5.07
Pea Soup Green
#94A617
ΔE00 5.14
Puke Green
#9AAE07
ΔE00 5.63
Mustard Green
#A8B504
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A527 #272AA8
analogous
#A86527 #A8A527 #6AA827
triadic
#A8A527 #27A8A5 #A527A8
tetradic
#A8A527 #27A865 #272AA8 #A8276A
square
#A8A527 #27A865 #272AA8 #A8276A
split-complementary
#A8A527 #276AA8 #6527A8
monochromatic
#454310 #76741B #A8A527 #D1CE3B #DDDA6C
Accessibility & contrast
On white
2.60
#A8A527 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.08
#A8A527 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A527
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A527 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A527 | 1.00 | 2.60 | 8.08 | 8.08 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E06
Deuteranopia (green-blind)
#B5A231
Tritanopia (blue-blind)
#B49A8D
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a8a527; /* rgb */ color: rgb(168, 165, 39); /* oklch */ color: oklch(70.3% 0.140 108.1);
Tailwind
colors: {
custom: {
50: '#c6bf6c',
500: '#a8a527',
950: '#000000',
},
}SCSS
$custom: #a8a527; $custom-light: #c6bf6c; $custom-dark: #000000;
JSON
{
"hex": "#a8a527",
"rgb": {
"r": 168,
"g": 165,
"b": 39
},
"hsl": {
"h": 58.605,
"s": 62.319,
"l": 40.588
},
"oklch": {
"l": 0.70272,
"c": 0.13956,
"h": 108.1
},
"luminance": 0.35382
}Semantic roles & 50–950 ramp
primary
#A8A527
secondary
#6769C3
accent
#46E542
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131207
muted
#82817A