#A2A229#A2A229
#A2A229 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.1% C 0.137 H 109.5°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A229 |
|---|---|
| RGB | rgb(162, 162, 41) |
| HSL | hsl(60, 60%, 40%) |
| HSV | hsv(60, 75%, 64%) |
| CMYK | cmyk(0%, 0%, 74.7%, 36.5%) |
| CIE-LAB | lab(64.71, -14.32, 58.61) |
| CIE-LCH | lch(64.71, 60.33, 103.73°) |
| OKLab | oklab(69.09% -0.0456 0.1288) |
| OKLCH | oklch(69.09% 0.137 109.5) |
| XYZ | xyz(28.2219, 33.6830, 7.1122) |
| Luminance | 0.3368 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.66
Puke
#A5A502
ΔE00 2.58
Pea Soup
#929901
ΔE00 3.92
Pea Soup Green
#94A617
ΔE00 4.33
Baby Poop Green
#8F9805
ΔE00 4.45
Puke Green
#9AAE07
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A229 #2929A2
analogous
#A26629 #A2A229 #66A229
triadic
#A2A229 #29A2A2 #A229A2
tetradic
#A2A229 #29A266 #2929A2 #A22966
square
#A2A229 #29A266 #2929A2 #A22966
split-complementary
#A2A229 #2966A2 #6629A2
monochromatic
#404010 #71711D #A2A229 #CDCD3B #DADA6C
Accessibility & contrast
On white
2.71
#A2A229 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.74
#A2A229 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A229
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A229 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A229 | 1.00 | 2.71 | 7.74 | 7.74 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9B0E
Deuteranopia (green-blind)
#B19F33
Tritanopia (blue-blind)
#AE978B
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a2a229; /* rgb */ color: rgb(162, 162, 41); /* oklch */ color: oklch(69.1% 0.137 109.5);
Tailwind
colors: {
custom: {
50: '#c1bd6c',
500: '#a2a229',
950: '#000000',
},
}SCSS
$custom: #a2a229; $custom-light: #c1bd6c; $custom-dark: #000000;
JSON
{
"hex": "#a2a229",
"rgb": {
"r": 162,
"g": 162,
"b": 41
},
"hsl": {
"h": 60,
"s": 59.606,
"l": 39.804
},
"oklch": {
"l": 0.69086,
"c": 0.13668,
"h": 109.5
},
"luminance": 0.33682
}Semantic roles & 50–950 ramp
primary
#A2A229
secondary
#6767C0
accent
#45E345
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A