#A7A540#A7A540
#A7A540 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.4% C 0.123 H 108.1°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A540 |
|---|---|
| RGB | rgb(167, 165, 64) |
| HSL | hsl(59, 45%, 45%) |
| HSV | hsv(59, 62%, 65%) |
| CMYK | cmyk(0%, 1.2%, 61.7%, 34.5%) |
| CIE-LAB | lab(66.13, -12.39, 51.06) |
| CIE-LCH | lch(66.13, 52.55, 103.64°) |
| OKLab | oklab(70.38% -0.0381 0.1166) |
| OKLCH | oklch(70.38% 0.123 108.1) |
| XYZ | xyz(30.3179, 35.4968, 10.1040) |
| Luminance | 0.3550 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.88
Puke
#A5A502
ΔE00 4.61
Khaki (survey)
#AAA662
ΔE00 5.33
Pea Soup Green
#94A617
ΔE00 5.67
Pea Soup
#929901
ΔE00 6.01
Baby Poop Green
#8F9805
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A540 #4042A7
analogous
#A77140 #A7A540 #75A740
triadic
#A7A540 #40A7A5 #A540A7
tetradic
#A7A540 #40A771 #4042A7 #A74075
square
#A7A540 #40A771 #4042A7 #A74075
split-complementary
#A7A540 #4075A7 #7140A7
monochromatic
#4F4E1E #7B792F #A7A540 #C3C162 #D4D28E
Accessibility & contrast
On white
2.59
#A7A540 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.10
#A7A540 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A540
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A540 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A540 | 1.00 | 2.59 | 8.10 | 8.10 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29F34
Deuteranopia (green-blind)
#B4A246
Tritanopia (blue-blind)
#B29B90
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a7a540; /* rgb */ color: rgb(167, 165, 64); /* oklch */ color: oklch(70.4% 0.123 108.1);
Tailwind
colors: {
custom: {
50: '#c4bf79',
500: '#a7a540',
950: '#000000',
},
}SCSS
$custom: #a7a540; $custom-light: #c4bf79; $custom-dark: #000000;
JSON
{
"hex": "#a7a540",
"rgb": {
"r": 167,
"g": 165,
"b": 64
},
"hsl": {
"h": 58.835,
"s": 44.589,
"l": 45.294
},
"oklch": {
"l": 0.70377,
"c": 0.12268,
"h": 108.1
},
"luminance": 0.35496
}Semantic roles & 50–950 ramp
primary
#A7A540
secondary
#8485BF
accent
#56D454
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B