#A2A728#A2A728
#A2A728 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.2% C 0.142 H 111.9°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A728 |
|---|---|
| RGB | rgb(162, 167, 40) |
| HSL | hsl(62, 61%, 41%) |
| HSV | hsv(62, 76%, 65%) |
| CMYK | cmyk(3%, 0%, 76%, 34.5%) |
| CIE-LAB | lab(66.12, -16.94, 60.25) |
| CIE-LCH | lch(66.12, 62.59, 105.70°) |
| OKLab | oklab(70.21% -0.053 0.1321) |
| OKLCH | oklch(70.21% 0.142 111.9) |
| XYZ | xyz(29.1030, 35.4728, 7.3209) |
| Luminance | 0.3547 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.69
Puke
#A5A502
ΔE00 2.58
Pea Soup Green
#94A617
ΔE00 3.20
Puke Green
#9AAE07
ΔE00 3.81
Barf Green
#94AC02
ΔE00 4.34
Pea Soup
#929901
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A728 #2D28A7
analogous
#A76C28 #A2A728 #62A728
triadic
#A2A728 #28A2A7 #A728A2
tetradic
#A2A728 #28A76C #2D28A7 #A72862
square
#A2A728 #28A76C #2D28A7 #A72862
split-complementary
#A2A728 #2862A7 #6C28A7
monochromatic
#424410 #72761C #A2A728 #CAD03C #D8DC6D
Accessibility & contrast
On white
2.59
#A2A728 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.09
#A2A728 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A728
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A728 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A728 | 1.00 | 2.59 | 8.09 | 8.09 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F08
Deuteranopia (green-blind)
#B5A233
Tritanopia (blue-blind)
#AD9C8F
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a2a728; /* rgb */ color: rgb(162, 167, 40); /* oklch */ color: oklch(70.2% 0.142 111.9);
Tailwind
colors: {
custom: {
50: '#c1c06d',
500: '#a2a728',
950: '#000000',
},
}SCSS
$custom: #a2a728; $custom-light: #c1c06d; $custom-dark: #000000;
JSON
{
"hex": "#a2a728",
"rgb": {
"r": 162,
"g": 167,
"b": 40
},
"hsl": {
"h": 62.362,
"s": 61.353,
"l": 40.588
},
"oklch": {
"l": 0.70208,
"c": 0.14238,
"h": 111.9
},
"luminance": 0.35472
}Semantic roles & 50–950 ramp
primary
#A2A728
secondary
#6C68C3
accent
#43E44A
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A