#A2A22B#A2A22B
#A2A22B is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.1% C 0.136 H 109.5°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A22B |
|---|---|
| RGB | rgb(162, 162, 43) |
| HSL | hsl(60, 58%, 40%) |
| HSV | hsv(60, 73%, 64%) |
| CMYK | cmyk(0%, 0%, 73.5%, 36.5%) |
| CIE-LAB | lab(64.72, -14.23, 57.92) |
| CIE-LCH | lch(64.72, 59.65, 103.80°) |
| OKLab | oklab(69.1% -0.0452 0.1278) |
| OKLCH | oklch(69.1% 0.136 109.5) |
| XYZ | xyz(28.2577, 33.6973, 7.3007) |
| Luminance | 0.3370 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.84
Puke
#A5A502
ΔE00 2.75
Pea Soup
#929901
ΔE00 3.99
Pea Soup Green
#94A617
ΔE00 4.36
Baby Poop Green
#8F9805
ΔE00 4.49
Puke Green
#9AAE07
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A22B #2B2BA2
analogous
#A2662B #A2A22B #66A22B
triadic
#A2A22B #2BA2A2 #A22BA2
tetradic
#A2A22B #2BA266 #2B2BA2 #A22B66
square
#A2A22B #2BA266 #2B2BA2 #A22B66
split-complementary
#A2A22B #2B66A2 #662BA2
monochromatic
#414111 #72721E #A2A22B #CCCC3E #D9D96F
Accessibility & contrast
On white
2.71
#A2A22B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.74
#A2A22B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A22B
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A22B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A22B | 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)
#AF9B13
Deuteranopia (green-blind)
#B19F34
Tritanopia (blue-blind)
#AE978B
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a2a22b; /* rgb */ color: rgb(162, 162, 43); /* oklch */ color: oklch(69.1% 0.136 109.5);
Tailwind
colors: {
custom: {
50: '#c1bd6d',
500: '#a2a22b',
950: '#000000',
},
}SCSS
$custom: #a2a22b; $custom-light: #c1bd6d; $custom-dark: #000000;
JSON
{
"hex": "#a2a22b",
"rgb": {
"r": 162,
"g": 162,
"b": 43
},
"hsl": {
"h": 60,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.69099,
"c": 0.13551,
"h": 109.5
},
"luminance": 0.33696
}Semantic roles & 50–950 ramp
primary
#A2A22B
secondary
#6969C0
accent
#47E147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B