#A1A22B#A1A22B
#A1A22B is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.0% C 0.136 H 110.0°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #A1A22B |
|---|---|
| RGB | rgb(161, 162, 43) |
| HSL | hsl(61, 58%, 40%) |
| HSV | hsv(61, 73%, 64%) |
| CMYK | cmyk(0.6%, 0%, 73.5%, 36.5%) |
| CIE-LAB | lab(64.64, -14.67, 57.81) |
| CIE-LCH | lch(64.64, 59.65, 104.23°) |
| OKLab | oklab(69.01% -0.0464 0.1276) |
| OKLCH | oklch(69.01% 0.136 110) |
| XYZ | xyz(28.0553, 33.5930, 7.2913) |
| Luminance | 0.3359 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.86
Puke
#A5A502
ΔE00 2.85
Pea Soup
#929901
ΔE00 3.86
Pea Soup Green
#94A617
ΔE00 4.11
Baby Poop Green
#8F9805
ΔE00 4.33
Puke Green
#9AAE07
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1A22B #2C2BA2
analogous
#A2672B #A1A22B #66A22B
triadic
#A1A22B #2BA1A2 #A22BA1
tetradic
#A1A22B #2BA267 #2C2BA2 #A22B66
square
#A1A22B #2BA267 #2C2BA2 #A22B66
split-complementary
#A1A22B #2B66A2 #672BA2
monochromatic
#414111 #71721E #A1A22B #CBCC3E #D8D96F
Accessibility & contrast
On white
2.72
#A1A22B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.72
#A1A22B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1A22B
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1A22B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1A22B | 1.00 | 2.72 | 7.72 | 7.72 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9B13
Deuteranopia (green-blind)
#B09E34
Tritanopia (blue-blind)
#AD988B
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a1a22b; /* rgb */ color: rgb(161, 162, 43); /* oklch */ color: oklch(69.0% 0.136 110.0);
Tailwind
colors: {
custom: {
50: '#c0bd6d',
500: '#a1a22b',
950: '#000000',
},
}SCSS
$custom: #a1a22b; $custom-light: #c0bd6d; $custom-dark: #000000;
JSON
{
"hex": "#a1a22b",
"rgb": {
"r": 161,
"g": 162,
"b": 43
},
"hsl": {
"h": 60.504,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.69012,
"c": 0.13572,
"h": 110
},
"luminance": 0.33592
}Semantic roles & 50–950 ramp
primary
#A1A22B
secondary
#6A69C0
accent
#47E148
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B