#A3A540#A3A540
#A3A540 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.0% C 0.123 H 110.3°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #A3A540 |
|---|---|
| RGB | rgb(163, 165, 64) |
| HSL | hsl(61, 44%, 45%) |
| HSV | hsv(61, 61%, 65%) |
| CMYK | cmyk(1.2%, 0%, 61.2%, 35.3%) |
| CIE-LAB | lab(65.80, -14.12, 50.61) |
| CIE-LCH | lch(65.80, 52.54, 105.59°) |
| OKLab | oklab(70.03% -0.0427 0.1157) |
| OKLCH | oklch(70.03% 0.123 110.3) |
| XYZ | xyz(29.4857, 35.0677, 10.0650) |
| Luminance | 0.3507 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.96
Puke
#A5A502
ΔE00 4.87
Pea Soup Green
#94A617
ΔE00 4.89
Khaki (survey)
#AAA662
ΔE00 5.46
Pea Soup
#929901
ΔE00 5.68
Baby Poop Green
#8F9805
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A3A540 #4240A5
analogous
#A57440 #A3A540 #71A540
triadic
#A3A540 #40A3A5 #A540A3
tetradic
#A3A540 #40A574 #4240A5 #A54071
square
#A3A540 #40A574 #4240A5 #A54071
split-complementary
#A3A540 #4071A5 #7440A5
monochromatic
#4C4D1E #77792F #A3A540 #C0C261 #D1D38D
Accessibility & contrast
On white
2.62
#A3A540 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.01
#A3A540 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A3A540
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A3A540 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A3A540 | 1.00 | 2.62 | 8.01 | 8.01 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19E34
Deuteranopia (green-blind)
#B2A146
Tritanopia (blue-blind)
#AE9B90
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a3a540; /* rgb */ color: rgb(163, 165, 64); /* oklch */ color: oklch(70.0% 0.123 110.3);
Tailwind
colors: {
custom: {
50: '#c1bf79',
500: '#a3a540',
950: '#000000',
},
}SCSS
$custom: #a3a540; $custom-light: #c1bf79; $custom-dark: #000000;
JSON
{
"hex": "#a3a540",
"rgb": {
"r": 163,
"g": 165,
"b": 64
},
"hsl": {
"h": 61.188,
"s": 44.105,
"l": 44.902
},
"oklch": {
"l": 0.70031,
"c": 0.12338,
"h": 110.3
},
"luminance": 0.35067
}Semantic roles & 50–950 ramp
primary
#A3A540
secondary
#8483BE
accent
#54D456
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B