#A8A728#A8A728
#A8A728 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.7% C 0.141 H 109.1°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A728 |
|---|---|
| RGB | rgb(168, 167, 40) |
| HSL | hsl(60, 62%, 41%) |
| HSV | hsv(60, 76%, 66%) |
| CMYK | cmyk(0%, 0.6%, 76.2%, 34.1%) |
| CIE-LAB | lab(66.61, -14.32, 60.89) |
| CIE-LCH | lch(66.61, 62.55, 103.23°) |
| OKLab | oklab(70.72% -0.046 0.1333) |
| OKLCH | oklch(70.72% 0.141 109.1) |
| XYZ | xyz(30.3513, 36.1164, 7.3794) |
| Luminance | 0.3612 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.61
Puke
#A5A502
ΔE00 1.96
Pea Soup Green
#94A617
ΔE00 4.74
Mustard Green
#A8B504
ΔE00 5.02
Puke Green
#9AAE07
ΔE00 5.02
Pea Soup
#929901
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A728 #2829A8
analogous
#A86728 #A8A728 #69A828
triadic
#A8A728 #28A8A7 #A728A8
tetradic
#A8A728 #28A867 #2829A8 #A82869
square
#A8A728 #28A867 #2829A8 #A82869
split-complementary
#A8A728 #2869A8 #6728A8
monochromatic
#454510 #77761C #A8A728 #D1D03D #DCDC6E
Accessibility & contrast
On white
2.55
#A8A728 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.22
#A8A728 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A728
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A728 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A728 | 1.00 | 2.55 | 8.22 | 8.22 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A007
Deuteranopia (green-blind)
#B7A433
Tritanopia (blue-blind)
#B49C8F
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a8a728; /* rgb */ color: rgb(168, 167, 40); /* oklch */ color: oklch(70.7% 0.141 109.1);
Tailwind
colors: {
custom: {
50: '#c5c06d',
500: '#a8a728',
950: '#000000',
},
}SCSS
$custom: #a8a728; $custom-light: #c5c06d; $custom-dark: #000000;
JSON
{
"hex": "#a8a728",
"rgb": {
"r": 168,
"g": 167,
"b": 40
},
"hsl": {
"h": 59.531,
"s": 61.538,
"l": 40.784
},
"oklch": {
"l": 0.70724,
"c": 0.14099,
"h": 109.1
},
"luminance": 0.36115
}Semantic roles & 50–950 ramp
primary
#A8A728
secondary
#6969C3
accent
#44E543
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131208
muted
#82817B