#A9A342#A9A342
#A9A342 is a light, moderate yellow. Relative luminance 0.350; OKLCH L 70.1% C 0.119 H 105.7°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #A9A342 |
|---|---|
| RGB | rgb(169, 163, 66) |
| HSL | hsl(57, 44%, 46%) |
| HSV | hsv(57, 61%, 66%) |
| CMYK | cmyk(0%, 3.6%, 60.9%, 33.7%) |
| CIE-LAB | lab(65.77, -10.34, 49.82) |
| CIE-LCH | lch(65.77, 50.88, 101.73°) |
| OKLab | oklab(70.13% -0.0322 0.1142) |
| OKLCH | oklch(70.13% 0.119 105.7) |
| XYZ | xyz(30.4438, 35.0238, 10.3098) |
| Luminance | 0.3502 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.53
Khaki (survey)
#AAA662
ΔE00 4.98
Puke
#A5A502
ΔE00 5.12
Pea Soup
#929901
ΔE00 6.44
Pea Soup Green
#94A617
ΔE00 6.75
Baby Poop Green
#8F9805
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A9A342 #4248A9
analogous
#A96F42 #A9A342 #7BA942
triadic
#A9A342 #42A9A3 #A342A9
tetradic
#A9A342 #42A96F #4248A9 #A9427B
square
#A9A342 #42A96F #4248A9 #A9427B
split-complementary
#A9A342 #427BA9 #6F42A9
monochromatic
#514E20 #7D7931 #A9A342 #C3BD65 #D4D091
Accessibility & contrast
On white
2.62
#A9A342 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.00
#A9A342 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A9A342
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A9A342 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A9A342 | 1.00 | 2.62 | 8.00 | 8.00 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09D37
Deuteranopia (green-blind)
#B3A247
Tritanopia (blue-blind)
#B5998E
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a9a342; /* rgb */ color: rgb(169, 163, 66); /* oklch */ color: oklch(70.1% 0.119 105.7);
Tailwind
colors: {
custom: {
50: '#c5be7a',
500: '#a9a342',
950: '#000000',
},
}SCSS
$custom: #a9a342; $custom-light: #c5be7a; $custom-dark: #000000;
JSON
{
"hex": "#a9a342",
"rgb": {
"r": 169,
"g": 163,
"b": 66
},
"hsl": {
"h": 56.505,
"s": 43.83,
"l": 46.078
},
"oklch": {
"l": 0.70132,
"c": 0.11866,
"h": 105.7
},
"luminance": 0.35023
}Semantic roles & 50–950 ramp
primary
#A9A342
secondary
#878BC0
accent
#5CD454
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B