#A2A828#A2A828
#A2A828 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.4% C 0.143 H 112.3°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A828 |
|---|---|
| RGB | rgb(162, 168, 40) |
| HSL | hsl(63, 62%, 41%) |
| HSV | hsv(63, 76%, 66%) |
| CMYK | cmyk(3.6%, 0%, 76.2%, 34.1%) |
| CIE-LAB | lab(66.40, -17.45, 60.51) |
| CIE-LCH | lch(66.40, 62.98, 106.09°) |
| OKLab | oklab(70.44% -0.0544 0.1327) |
| OKLCH | oklch(70.44% 0.143 112.3) |
| XYZ | xyz(29.2869, 35.8406, 7.3822) |
| Luminance | 0.3584 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.91
Puke
#A5A502
ΔE00 2.74
Pea Soup Green
#94A617
ΔE00 3.06
Puke Green
#9AAE07
ΔE00 3.51
Barf Green
#94AC02
ΔE00 4.08
Mustard Green
#A8B504
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A828 #2E28A8
analogous
#A86E28 #A2A828 #62A828
triadic
#A2A828 #28A2A8 #A828A2
tetradic
#A2A828 #28A86E #2E28A8 #A82862
square
#A2A828 #28A86E #2E28A8 #A82862
split-complementary
#A2A828 #2862A8 #6E28A8
monochromatic
#434510 #72771C #A2A828 #CAD13D #D7DC6E
Accessibility & contrast
On white
2.57
#A2A828 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.17
#A2A828 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A828
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A828 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A828 | 1.00 | 2.57 | 8.17 | 8.17 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A007
Deuteranopia (green-blind)
#B5A333
Tritanopia (blue-blind)
#AD9D90
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a2a828; /* rgb */ color: rgb(162, 168, 40); /* oklch */ color: oklch(70.4% 0.143 112.3);
Tailwind
colors: {
custom: {
50: '#c1c16d',
500: '#a2a828',
950: '#000000',
},
}SCSS
$custom: #a2a828; $custom-light: #c1c16d; $custom-dark: #000000;
JSON
{
"hex": "#a2a828",
"rgb": {
"r": 162,
"g": 168,
"b": 40
},
"hsl": {
"h": 62.813,
"s": 61.538,
"l": 40.784
},
"oklch": {
"l": 0.70435,
"c": 0.14342,
"h": 112.3
},
"luminance": 0.3584
}Semantic roles & 50–950 ramp
primary
#A2A828
secondary
#6D69C3
accent
#43E54B
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B