#A9A540#A9A540
#A9A540 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.6% C 0.122 H 107.0°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A9A540 |
|---|---|
| RGB | rgb(169, 165, 64) |
| HSL | hsl(58, 45%, 46%) |
| HSV | hsv(58, 62%, 66%) |
| CMYK | cmyk(0%, 2.4%, 62.1%, 33.7%) |
| CIE-LAB | lab(66.30, -11.53, 51.29) |
| CIE-LCH | lch(66.30, 52.57, 102.67°) |
| OKLab | oklab(70.55% -0.0358 0.1171) |
| OKLCH | oklch(70.55% 0.122 107) |
| XYZ | xyz(30.7438, 35.7164, 10.1240) |
| Luminance | 0.3572 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.98
Puke
#A5A502
ΔE00 4.59
Khaki (survey)
#AAA662
ΔE00 5.34
Pea Soup Green
#94A617
ΔE00 6.11
Pea Soup
#929901
ΔE00 6.25
Baby Poop Green
#8F9805
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A9A540 #4044A9
analogous
#A97040 #A9A540 #78A940
triadic
#A9A540 #40A9A5 #A540A9
tetradic
#A9A540 #40A970 #4044A9 #A94078
square
#A9A540 #40A970 #4044A9 #A94078
split-complementary
#A9A540 #4078A9 #7040A9
monochromatic
#504E1E #7D7A2F #A9A540 #C4C062 #D5D28F
Accessibility & contrast
On white
2.58
#A9A540 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.14
#A9A540 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A9A540
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A9A540 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A9A540 | 1.00 | 2.58 | 8.14 | 8.14 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29F34
Deuteranopia (green-blind)
#B4A346
Tritanopia (blue-blind)
#B59B90
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a9a540; /* rgb */ color: rgb(169, 165, 64); /* oklch */ color: oklch(70.6% 0.122 107.0);
Tailwind
colors: {
custom: {
50: '#c5bf79',
500: '#a9a540',
950: '#000000',
},
}SCSS
$custom: #a9a540; $custom-light: #c5bf79; $custom-dark: #000000;
JSON
{
"hex": "#a9a540",
"rgb": {
"r": 169,
"g": 165,
"b": 64
},
"hsl": {
"h": 57.714,
"s": 45.064,
"l": 45.686
},
"oklch": {
"l": 0.70553,
"c": 0.1224,
"h": 107
},
"luminance": 0.35715
}Semantic roles & 50–950 ramp
primary
#A9A540
secondary
#8587C0
accent
#58D553
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B