#A4A728#A4A728
#A4A728 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.4% C 0.142 H 110.9°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A4A728 |
|---|---|
| RGB | rgb(164, 167, 40) |
| HSL | hsl(61, 61%, 41%) |
| HSV | hsv(61, 76%, 65%) |
| CMYK | cmyk(1.8%, 0%, 76%, 34.5%) |
| CIE-LAB | lab(66.28, -16.07, 60.46) |
| CIE-LCH | lch(66.28, 62.56, 104.88°) |
| OKLab | oklab(70.38% -0.0507 0.1325) |
| OKLCH | oklch(70.38% 0.142 110.9) |
| XYZ | xyz(29.5126, 35.6840, 7.3401) |
| Luminance | 0.3568 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.48
Puke
#A5A502
ΔE00 2.27
Pea Soup Green
#94A617
ΔE00 3.70
Puke Green
#9AAE07
ΔE00 4.17
Mustard Green
#A8B504
ΔE00 4.71
Barf Green
#94AC02
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4A728 #2B28A7
analogous
#A76A28 #A4A728 #65A728
triadic
#A4A728 #28A4A7 #A728A4
tetradic
#A4A728 #28A76A #2B28A7 #A72865
square
#A4A728 #28A76A #2B28A7 #A72865
split-complementary
#A4A728 #2865A7 #6A28A7
monochromatic
#434410 #74761C #A4A728 #CDD03C #D9DC6D
Accessibility & contrast
On white
2.58
#A4A728 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.14
#A4A728 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4A728
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4A728 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4A728 | 1.00 | 2.58 | 8.14 | 8.14 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F08
Deuteranopia (green-blind)
#B5A333
Tritanopia (blue-blind)
#B09C8F
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a4a728; /* rgb */ color: rgb(164, 167, 40); /* oklch */ color: oklch(70.4% 0.142 110.9);
Tailwind
colors: {
custom: {
50: '#c3c06d',
500: '#a4a728',
950: '#000000',
},
}SCSS
$custom: #a4a728; $custom-light: #c3c06d; $custom-dark: #000000;
JSON
{
"hex": "#a4a728",
"rgb": {
"r": 164,
"g": 167,
"b": 40
},
"hsl": {
"h": 61.417,
"s": 61.353,
"l": 40.588
},
"oklch": {
"l": 0.70378,
"c": 0.14187,
"h": 110.9
},
"luminance": 0.35683
}Semantic roles & 50–950 ramp
primary
#A4A728
secondary
#6A68C3
accent
#43E447
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B