#A1A226#A1A226
#A1A226 is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.0% C 0.139 H 110.0°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #A1A226 |
|---|---|
| RGB | rgb(161, 162, 38) |
| HSL | hsl(60, 62%, 39%) |
| HSV | hsv(60, 77%, 64%) |
| CMYK | cmyk(0.6%, 0%, 76.5%, 36.5%) |
| CIE-LAB | lab(64.61, -14.89, 59.49) |
| CIE-LCH | lch(64.61, 61.32, 104.05°) |
| OKLab | oklab(68.98% -0.0474 0.1302) |
| OKLCH | oklch(68.98% 0.139 110) |
| XYZ | xyz(27.9691, 33.5585, 6.8375) |
| Luminance | 0.3356 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.43
Puke
#A5A502
ΔE00 2.42
Pea Soup
#929901
ΔE00 3.69
Pea Soup Green
#94A617
ΔE00 4.05
Baby Poop Green
#8F9805
ΔE00 4.23
Puke Green
#9AAE07
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1A226 #2726A2
analogous
#A26526 #A1A226 #63A226
triadic
#A1A226 #26A1A2 #A226A1
tetradic
#A1A226 #26A265 #2726A2 #A22663
square
#A1A226 #26A265 #2726A2 #A22663
split-complementary
#A1A226 #2663A2 #6526A2
monochromatic
#3E3F0F #70701A #A1A226 #CED035 #DADB67
Accessibility & contrast
On white
2.72
#A1A226 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.71
#A1A226 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1A226
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1A226 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1A226 | 1.00 | 2.72 | 7.71 | 7.71 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9B05
Deuteranopia (green-blind)
#B19E30
Tritanopia (blue-blind)
#AD978B
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a1a226; /* rgb */ color: rgb(161, 162, 38); /* oklch */ color: oklch(69.0% 0.139 110.0);
Tailwind
colors: {
custom: {
50: '#c0bd6b',
500: '#a1a226',
950: '#000000',
},
}SCSS
$custom: #a1a226; $custom-light: #c0bd6b; $custom-dark: #000000;
JSON
{
"hex": "#a1a226",
"rgb": {
"r": 161,
"g": 162,
"b": 38
},
"hsl": {
"h": 60.484,
"s": 62,
"l": 39.216
},
"oklch": {
"l": 0.68981,
"c": 0.13856,
"h": 110
},
"luminance": 0.33558
}Semantic roles & 50–950 ramp
primary
#A1A226
secondary
#6363C1
accent
#43E544
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A