#A3A828#A3A828
#A3A828 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.5% C 0.143 H 111.8°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #A3A828 |
|---|---|
| RGB | rgb(163, 168, 40) |
| HSL | hsl(62, 62%, 41%) |
| HSV | hsv(62, 76%, 66%) |
| CMYK | cmyk(3%, 0%, 76.2%, 34.1%) |
| CIE-LAB | lab(66.48, -17.01, 60.62) |
| CIE-LCH | lch(66.48, 62.96, 105.68°) |
| OKLab | oklab(70.52% -0.0533 0.1329) |
| OKLCH | oklch(70.52% 0.143 111.8) |
| XYZ | xyz(29.4909, 35.9457, 7.3918) |
| Luminance | 0.3594 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.78
Puke
#A5A502
ΔE00 2.57
Pea Soup Green
#94A617
ΔE00 3.30
Puke Green
#9AAE07
ΔE00 3.69
Barf Green
#94AC02
ΔE00 4.30
Mustard Green
#A8B504
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A3A828 #2D28A8
analogous
#A86D28 #A3A828 #63A828
triadic
#A3A828 #28A3A8 #A828A3
tetradic
#A3A828 #28A86D #2D28A8 #A82863
square
#A3A828 #28A86D #2D28A8 #A82863
split-complementary
#A3A828 #2863A8 #6D28A8
monochromatic
#434510 #73771C #A3A828 #CBD13D #D8DC6E
Accessibility & contrast
On white
2.56
#A3A828 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.19
#A3A828 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A3A828
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A3A828 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A3A828 | 1.00 | 2.56 | 8.19 | 8.19 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A007
Deuteranopia (green-blind)
#B6A333
Tritanopia (blue-blind)
#AF9D90
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a3a828; /* rgb */ color: rgb(163, 168, 40); /* oklch */ color: oklch(70.5% 0.143 111.8);
Tailwind
colors: {
custom: {
50: '#c2c16d',
500: '#a3a828',
950: '#000000',
},
}SCSS
$custom: #a3a828; $custom-light: #c2c16d; $custom-dark: #000000;
JSON
{
"hex": "#a3a828",
"rgb": {
"r": 163,
"g": 168,
"b": 40
},
"hsl": {
"h": 62.344,
"s": 61.538,
"l": 40.784
},
"oklch": {
"l": 0.70519,
"c": 0.14316,
"h": 111.8
},
"luminance": 0.35945
}Semantic roles & 50–950 ramp
primary
#A3A828
secondary
#6C69C3
accent
#43E549
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B