#A4A031#A4A031
#A4A031 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.9% C 0.129 H 107.3°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #A4A031 |
|---|---|
| RGB | rgb(164, 160, 49) |
| HSL | hsl(58, 54%, 42%) |
| HSV | hsv(58, 70%, 64%) |
| CMYK | cmyk(0%, 2.4%, 70.1%, 35.7%) |
| CIE-LAB | lab(64.37, -12.00, 55.41) |
| CIE-LCH | lch(64.37, 56.69, 102.22°) |
| OKLab | oklab(68.87% -0.0385 0.1235) |
| OKLCH | oklch(68.87% 0.129 107.3) |
| XYZ | xyz(28.4361, 33.2568, 7.8264) |
| Luminance | 0.3326 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.90
Puke
#A5A502
ΔE00 3.58
Pea Soup
#929901
ΔE00 4.54
Baby Poop Green
#8F9805
ΔE00 5.03
Pea Soup Green
#94A617
ΔE00 5.57
Baby Shit Green
#889717
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4A031 #3135A4
analogous
#A46731 #A4A031 #6FA431
triadic
#A4A031 #31A4A0 #A031A4
tetradic
#A4A031 #31A467 #3135A4 #A4316F
square
#A4A031 #31A467 #3135A4 #A4316F
split-complementary
#A4A031 #316FA4 #6731A4
monochromatic
#464415 #757223 #A4A031 #C9C449 #D7D479
Accessibility & contrast
On white
2.74
#A4A031 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.65
#A4A031 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4A031
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4A031 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4A031 | 1.00 | 2.74 | 7.65 | 7.65 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD9A1F
Deuteranopia (green-blind)
#B09E39
Tritanopia (blue-blind)
#B0958A
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #a4a031; /* rgb */ color: rgb(164, 160, 49); /* oklch */ color: oklch(68.9% 0.129 107.3);
Tailwind
colors: {
custom: {
50: '#c2bb70',
500: '#a4a031',
950: '#000000',
},
}SCSS
$custom: #a4a031; $custom-light: #c2bb70; $custom-dark: #000000;
JSON
{
"hex": "#a4a031",
"rgb": {
"r": 164,
"g": 160,
"b": 49
},
"hsl": {
"h": 57.913,
"s": 53.991,
"l": 41.765
},
"oklch": {
"l": 0.6887,
"c": 0.12931,
"h": 107.3
},
"luminance": 0.33256
}Semantic roles & 50–950 ramp
primary
#A4A031
secondary
#7274BF
accent
#50DD4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B