#A4A828#A4A828
#A4A828 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.6% C 0.143 H 111.4°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #A4A828 |
|---|---|
| RGB | rgb(164, 168, 40) |
| HSL | hsl(62, 62%, 41%) |
| HSV | hsv(62, 76%, 66%) |
| CMYK | cmyk(2.4%, 0%, 76.2%, 34.1%) |
| CIE-LAB | lab(66.56, -16.58, 60.72) |
| CIE-LCH | lch(66.56, 62.94, 105.27°) |
| OKLab | oklab(70.6% -0.0521 0.1331) |
| OKLCH | oklch(70.6% 0.143 111.4) |
| XYZ | xyz(29.6965, 36.0518, 7.4014) |
| Luminance | 0.3605 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.67
Puke
#A5A502
ΔE00 2.41
Pea Soup Green
#94A617
ΔE00 3.55
Puke Green
#9AAE07
ΔE00 3.88
Mustard Green
#A8B504
ΔE00 4.41
Barf Green
#94AC02
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4A828 #2C28A8
analogous
#A86C28 #A4A828 #64A828
triadic
#A4A828 #28A4A8 #A828A4
tetradic
#A4A828 #28A86C #2C28A8 #A82864
square
#A4A828 #28A86C #2C28A8 #A82864
split-complementary
#A4A828 #2864A8 #6C28A8
monochromatic
#434510 #74771C #A4A828 #CCD13D #D9DC6E
Accessibility & contrast
On white
2.56
#A4A828 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.21
#A4A828 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4A828
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4A828 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4A828 | 1.00 | 2.56 | 8.21 | 8.21 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A007
Deuteranopia (green-blind)
#B6A333
Tritanopia (blue-blind)
#B09D90
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a4a828; /* rgb */ color: rgb(164, 168, 40); /* oklch */ color: oklch(70.6% 0.143 111.4);
Tailwind
colors: {
custom: {
50: '#c3c16d',
500: '#a4a828',
950: '#000000',
},
}SCSS
$custom: #a4a828; $custom-light: #c3c16d; $custom-dark: #000000;
JSON
{
"hex": "#a4a828",
"rgb": {
"r": 164,
"g": 168,
"b": 40
},
"hsl": {
"h": 61.875,
"s": 61.538,
"l": 40.784
},
"oklch": {
"l": 0.70603,
"c": 0.1429,
"h": 111.4
},
"luminance": 0.36051
}Semantic roles & 50–950 ramp
primary
#A4A828
secondary
#6B69C3
accent
#43E548
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B