#A4A226#A4A226
#A4A226 is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.2% C 0.138 H 108.6°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #A4A226 |
|---|---|
| RGB | rgb(164, 162, 38) |
| HSL | hsl(59, 62%, 40%) |
| HSV | hsv(59, 77%, 64%) |
| CMYK | cmyk(0%, 1.2%, 76.8%, 35.7%) |
| CIE-LAB | lab(64.86, -13.57, 59.81) |
| CIE-LCH | lch(64.86, 61.33, 102.78°) |
| OKLab | oklab(69.24% -0.0439 0.1308) |
| OKLCH | oklch(69.24% 0.138 108.6) |
| XYZ | xyz(28.5811, 33.8740, 6.8661) |
| Luminance | 0.3387 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.56
Puke
#A5A502
ΔE00 2.22
Pea Soup
#929901
ΔE00 4.17
Baby Poop Green
#8F9805
ΔE00 4.76
Pea Soup Green
#94A617
ΔE00 4.82
Puke Green
#9AAE07
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4A226 #2628A4
analogous
#A46326 #A4A226 #67A426
triadic
#A4A226 #26A4A2 #A226A4
tetradic
#A4A226 #26A463 #2628A4 #A42667
square
#A4A226 #26A463 #2628A4 #A42667
split-complementary
#A4A226 #2667A4 #6326A4
monochromatic
#41400F #72711A #A4A226 #D1CE37 #DCDA68
Accessibility & contrast
On white
2.70
#A4A226 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.77
#A4A226 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4A226
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4A226 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4A226 | 1.00 | 2.70 | 7.77 | 7.77 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B05
Deuteranopia (green-blind)
#B29F30
Tritanopia (blue-blind)
#B0978B
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a4a226; /* rgb */ color: rgb(164, 162, 38); /* oklch */ color: oklch(69.2% 0.138 108.6);
Tailwind
colors: {
custom: {
50: '#c3bd6b',
500: '#a4a226',
950: '#000000',
},
}SCSS
$custom: #a4a226; $custom-light: #c3bd6b; $custom-dark: #000000;
JSON
{
"hex": "#a4a226",
"rgb": {
"r": 164,
"g": 162,
"b": 38
},
"hsl": {
"h": 59.048,
"s": 62.376,
"l": 39.608
},
"oklch": {
"l": 0.69244,
"c": 0.13793,
"h": 108.6
},
"luminance": 0.33873
}Semantic roles & 50–950 ramp
primary
#A4A226
secondary
#6465C2
accent
#45E542
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A