#A9A42A#A9A42A
#A9A42A is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.2% C 0.137 H 107.0°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #A9A42A |
|---|---|
| RGB | rgb(169, 164, 42) |
| HSL | hsl(58, 60%, 41%) |
| HSV | hsv(58, 75%, 66%) |
| CMYK | cmyk(0%, 3%, 75.1%, 33.7%) |
| CIE-LAB | lab(65.87, -12.23, 59.56) |
| CIE-LCH | lch(65.87, 60.81, 101.61°) |
| OKLab | oklab(70.16% -0.0401 0.1308) |
| OKLCH | oklch(70.16% 0.137 107) |
| XYZ | xyz(30.0568, 35.1542, 7.3922) |
| Luminance | 0.3515 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.18
Puke
#A5A502
ΔE00 2.41
Pea Soup
#929901
ΔE00 5.25
Pea Soup Green
#94A617
ΔE00 5.66
Muddy Yellow
#BFAC05
ΔE00 5.71
Baby Poop Green
#8F9805
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A9A42A #2A2FA9
analogous
#A9652A #A9A42A #6FA92A
triadic
#A9A42A #2AA9A4 #A42AA9
tetradic
#A9A42A #2AA965 #2A2FA9 #A92A6F
square
#A9A42A #2AA965 #2A2FA9 #A92A6F
split-complementary
#A9A42A #2A6FA9 #652AA9
monochromatic
#474512 #78741E #A9A42A #D0CA41 #DCD872
Accessibility & contrast
On white
2.61
#A9A42A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.03
#A9A42A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A9A42A
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A9A42A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A9A42A | 1.00 | 2.61 | 8.03 | 8.03 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29E0F
Deuteranopia (green-blind)
#B5A233
Tritanopia (blue-blind)
#B6998D
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a9a42a; /* rgb */ color: rgb(169, 164, 42); /* oklch */ color: oklch(70.2% 0.137 107.0);
Tailwind
colors: {
custom: {
50: '#c6be6d',
500: '#a9a42a',
950: '#000000',
},
}SCSS
$custom: #a9a42a; $custom-light: #c6be6d; $custom-dark: #000000;
JSON
{
"hex": "#a9a42a",
"rgb": {
"r": 169,
"g": 164,
"b": 42
},
"hsl": {
"h": 57.638,
"s": 60.19,
"l": 41.373
},
"oklch": {
"l": 0.70157,
"c": 0.13678,
"h": 107
},
"luminance": 0.35153
}Semantic roles & 50–950 ramp
primary
#A9A42A
secondary
#6C6FC3
accent
#4BE344
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131208
muted
#82817B