#A2A226#A2A226
#A2A226 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.1% C 0.138 H 109.5°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A226 |
|---|---|
| RGB | rgb(162, 162, 38) |
| HSL | hsl(60, 62%, 39%) |
| HSV | hsv(60, 77%, 64%) |
| CMYK | cmyk(0%, 0%, 76.5%, 36.5%) |
| CIE-LAB | lab(64.69, -14.45, 59.60) |
| CIE-LCH | lch(64.69, 61.32, 103.63°) |
| OKLab | oklab(69.07% -0.0463 0.1304) |
| OKLCH | oklch(69.07% 0.138 109.5) |
| XYZ | xyz(28.1715, 33.6628, 6.8469) |
| Luminance | 0.3366 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.42
Puke
#A5A502
ΔE00 2.32
Pea Soup
#929901
ΔE00 3.84
Pea Soup Green
#94A617
ΔE00 4.30
Baby Poop Green
#8F9805
ΔE00 4.39
Puke Green
#9AAE07
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A226 #2626A2
analogous
#A26426 #A2A226 #64A226
triadic
#A2A226 #26A2A2 #A226A2
tetradic
#A2A226 #26A264 #2626A2 #A22664
square
#A2A226 #26A264 #2626A2 #A22664
split-complementary
#A2A226 #2664A2 #6426A2
monochromatic
#3F3F0F #70701A #A2A226 #D0D035 #DBDB67
Accessibility & contrast
On white
2.72
#A2A226 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.73
#A2A226 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A226
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A226 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A226 | 1.00 | 2.72 | 7.73 | 7.73 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9B05
Deuteranopia (green-blind)
#B19F30
Tritanopia (blue-blind)
#AE978B
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a2a226; /* rgb */ color: rgb(162, 162, 38); /* oklch */ color: oklch(69.1% 0.138 109.5);
Tailwind
colors: {
custom: {
50: '#c1bd6b',
500: '#a2a226',
950: '#000000',
},
}SCSS
$custom: #a2a226; $custom-light: #c1bd6b; $custom-dark: #000000;
JSON
{
"hex": "#a2a226",
"rgb": {
"r": 162,
"g": 162,
"b": 38
},
"hsl": {
"h": 60,
"s": 62,
"l": 39.216
},
"oklch": {
"l": 0.69068,
"c": 0.13834,
"h": 109.5
},
"luminance": 0.33662
}Semantic roles & 50–950 ramp
primary
#A2A226
secondary
#6363C1
accent
#43E543
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A