#A2A22A#A2A22A
#A2A22A 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 | #A2A22A |
|---|---|
| RGB | rgb(162, 162, 42) |
| HSL | hsl(60, 59%, 40%) |
| HSV | hsv(60, 74%, 64%) |
| CMYK | cmyk(0%, 0%, 74.1%, 36.5%) |
| CIE-LAB | lab(64.72, -14.27, 58.27) |
| CIE-LCH | lch(64.72, 59.99, 103.76°) |
| OKLab | oklab(69.09% -0.0454 0.1283) |
| OKLCH | oklch(69.09% 0.136 109.5) |
| XYZ | xyz(28.2396, 33.6901, 7.2053) |
| Luminance | 0.3369 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.75
Puke
#A5A502
ΔE00 2.66
Pea Soup
#929901
ΔE00 3.95
Pea Soup Green
#94A617
ΔE00 4.34
Baby Poop Green
#8F9805
ΔE00 4.47
Puke Green
#9AAE07
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A22A #2A2AA2
analogous
#A2662A #A2A22A #66A22A
triadic
#A2A22A #2AA2A2 #A22AA2
tetradic
#A2A22A #2AA266 #2A2AA2 #A22A66
square
#A2A22A #2AA266 #2A2AA2 #A22A66
split-complementary
#A2A22A #2A66A2 #662AA2
monochromatic
#414111 #71711D #A2A22A #CDCD3D #D9D96D
Accessibility & contrast
On white
2.71
#A2A22A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.74
#A2A22A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A22A
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A22A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A22A | 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)
#AF9B11
Deuteranopia (green-blind)
#B19F33
Tritanopia (blue-blind)
#AE978B
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a2a22a; /* rgb */ color: rgb(162, 162, 42); /* oklch */ color: oklch(69.1% 0.136 109.5);
Tailwind
colors: {
custom: {
50: '#c1bd6d',
500: '#a2a22a',
950: '#000000',
},
}SCSS
$custom: #a2a22a; $custom-light: #c1bd6d; $custom-dark: #000000;
JSON
{
"hex": "#a2a22a",
"rgb": {
"r": 162,
"g": 162,
"b": 42
},
"hsl": {
"h": 60,
"s": 58.824,
"l": 40
},
"oklch": {
"l": 0.69093,
"c": 0.1361,
"h": 109.5
},
"luminance": 0.33689
}Semantic roles & 50–950 ramp
primary
#A2A22A
secondary
#6868C0
accent
#46E246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A