#A2A428#A2A428
#A2A428 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.5% C 0.139 H 110.5°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A428 |
|---|---|
| RGB | rgb(162, 164, 40) |
| HSL | hsl(61, 61%, 40%) |
| HSV | hsv(61, 76%, 64%) |
| CMYK | cmyk(1.2%, 0%, 75.6%, 35.7%) |
| CIE-LAB | lab(65.27, -15.40, 59.47) |
| CIE-LCH | lch(65.27, 61.43, 104.52°) |
| OKLab | oklab(69.53% -0.0487 0.1305) |
| OKLCH | oklch(69.53% 0.139 110.5) |
| XYZ | xyz(28.5598, 34.3863, 7.1399) |
| Luminance | 0.3439 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.37
Puke
#A5A502
ΔE00 2.37
Pea Soup Green
#94A617
ΔE00 3.80
Pea Soup
#929901
ΔE00 4.12
Baby Poop Green
#8F9805
ΔE00 4.62
Puke Green
#9AAE07
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A428 #2A28A4
analogous
#A46828 #A2A428 #64A428
triadic
#A2A428 #28A2A4 #A428A2
tetradic
#A2A428 #28A468 #2A28A4 #A42864
square
#A2A428 #28A468 #2A28A4 #A42864
split-complementary
#A2A428 #2864A4 #6828A4
monochromatic
#414210 #71731C #A2A428 #CDCF3A #D9DB6B
Accessibility & contrast
On white
2.67
#A2A428 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.88
#A2A428 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A428
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A428 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A428 | 1.00 | 2.67 | 7.88 | 7.88 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19D0A
Deuteranopia (green-blind)
#B2A032
Tritanopia (blue-blind)
#AE998D
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a2a428; /* rgb */ color: rgb(162, 164, 40); /* oklch */ color: oklch(69.5% 0.139 110.5);
Tailwind
colors: {
custom: {
50: '#c1be6c',
500: '#a2a428',
950: '#000000',
},
}SCSS
$custom: #a2a428; $custom-light: #c1be6c; $custom-dark: #000000;
JSON
{
"hex": "#a2a428",
"rgb": {
"r": 162,
"g": 164,
"b": 40
},
"hsl": {
"h": 60.968,
"s": 60.784,
"l": 40
},
"oklch": {
"l": 0.69531,
"c": 0.13927,
"h": 110.5
},
"luminance": 0.34386
}Semantic roles & 50–950 ramp
primary
#A2A428
secondary
#6866C1
accent
#44E446
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A