#A2A122#A2A122
#A2A122 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.8% C 0.139 H 109.1°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A122 |
|---|---|
| RGB | rgb(162, 161, 34) |
| HSL | hsl(60, 65%, 38%) |
| HSV | hsv(60, 79%, 64%) |
| CMYK | cmyk(0%, 0.6%, 79%, 36.5%) |
| CIE-LAB | lab(64.39, -14.09, 60.58) |
| CIE-LCH | lch(64.39, 62.19, 103.09°) |
| OKLab | oklab(68.82% -0.0456 0.1317) |
| OKLCH | oklch(68.82% 0.139 109.1) |
| XYZ | xyz(27.9350, 33.2875, 6.4667) |
| Luminance | 0.3329 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.41
Puke
#A5A502
ΔE00 2.17
Pea Soup
#929901
ΔE00 3.69
Baby Poop Green
#8F9805
ΔE00 4.29
Pea Soup Green
#94A617
ΔE00 4.58
Puke Green
#9AAE07
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A122 #2223A2
analogous
#A26122 #A2A122 #63A222
triadic
#A2A122 #22A2A1 #A122A2
tetradic
#A2A122 #22A261 #2223A2 #A22263
square
#A2A122 #22A261 #2223A2 #A22263
split-complementary
#A2A122 #2263A2 #6122A2
monochromatic
#3D3C0D #6F6F17 #A2A122 #D3D22E #DEDD61
Accessibility & contrast
On white
2.74
#A2A122 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.66
#A2A122 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A122
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A122 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A122 | 1.00 | 2.74 | 7.66 | 7.66 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#B09E2D
Tritanopia (blue-blind)
#AE968A
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #a2a122; /* rgb */ color: rgb(162, 161, 34); /* oklch */ color: oklch(68.8% 0.139 109.1);
Tailwind
colors: {
custom: {
50: '#c1bc69',
500: '#a2a122',
950: '#000000',
},
}SCSS
$custom: #a2a122; $custom-light: #c1bc69; $custom-dark: #000000;
JSON
{
"hex": "#a2a122",
"rgb": {
"r": 162,
"g": 161,
"b": 34
},
"hsl": {
"h": 59.531,
"s": 65.306,
"l": 38.431
},
"oklch": {
"l": 0.68822,
"c": 0.13938,
"h": 109.1
},
"luminance": 0.33287
}Semantic roles & 50–950 ramp
primary
#A2A122
secondary
#5D5EC3
accent
#41E840
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131207
muted
#82817A