#A9A42E#A9A42E
#A9A42E is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.2% C 0.134 H 107.0°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A9A42E |
|---|---|
| RGB | rgb(169, 164, 46) |
| HSL | hsl(58, 57%, 42%) |
| HSV | hsv(58, 73%, 66%) |
| CMYK | cmyk(0%, 3%, 72.8%, 33.7%) |
| CIE-LAB | lab(65.89, -12.05, 58.17) |
| CIE-LCH | lch(65.89, 59.41, 101.70°) |
| OKLab | oklab(70.18% -0.0392 0.1286) |
| OKLCH | oklch(70.18% 0.134 107) |
| XYZ | xyz(30.1320, 35.1842, 7.7883) |
| Luminance | 0.3518 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.41
Puke
#A5A502
ΔE00 2.75
Pea Soup
#929901
ΔE00 5.34
Pea Soup Green
#94A617
ΔE00 5.69
Muddy Yellow
#BFAC05
ΔE00 5.92
Baby Poop Green
#8F9805
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A9A42E #2E33A9
analogous
#A9672E #A9A42E #71A92E
triadic
#A9A42E #2EA9A4 #A42EA9
tetradic
#A9A42E #2EA967 #2E33A9 #A92E71
square
#A9A42E #2EA967 #2E33A9 #A92E71
split-complementary
#A9A42E #2E71A9 #672EA9
monochromatic
#494714 #797521 #A9A42E #CDC847 #DAD677
Accessibility & contrast
On white
2.61
#A9A42E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.04
#A9A42E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A9A42E
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A9A42E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A9A42E | 1.00 | 2.61 | 8.04 | 8.04 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29E18
Deuteranopia (green-blind)
#B4A237
Tritanopia (blue-blind)
#B5998D
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a9a42e; /* rgb */ color: rgb(169, 164, 46); /* oklch */ color: oklch(70.2% 0.134 107.0);
Tailwind
colors: {
custom: {
50: '#c6be6f',
500: '#a9a42e',
950: '#000000',
},
}SCSS
$custom: #a9a42e; $custom-light: #c6be6f; $custom-dark: #000000;
JSON
{
"hex": "#a9a42e",
"rgb": {
"r": 169,
"g": 164,
"b": 46
},
"hsl": {
"h": 57.561,
"s": 57.209,
"l": 42.157
},
"oklch": {
"l": 0.70183,
"c": 0.13442,
"h": 107
},
"luminance": 0.35183
}Semantic roles & 50–950 ramp
primary
#A9A42E
secondary
#7174C2
accent
#4EE047
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131208
muted
#82817B