#A7A71F#A7A71F
#A7A71F is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.6% C 0.146 H 109.6°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A71F |
|---|---|
| RGB | rgb(167, 167, 31) |
| HSL | hsl(60, 69%, 39%) |
| HSV | hsv(60, 81%, 65%) |
| CMYK | cmyk(0%, 0%, 81.4%, 34.5%) |
| CIE-LAB | lab(66.48, -15.09, 63.43) |
| CIE-LCH | lch(66.48, 65.20, 103.38°) |
| OKLab | oklab(70.59% -0.0488 0.1371) |
| OKLCH | oklch(70.59% 0.146 109.6) |
| XYZ | xyz(30.0036, 35.9528, 6.6552) |
| Luminance | 0.3595 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.16
Puke
#A5A502
ΔE00 1.33
Pea Soup Green
#94A617
ΔE00 4.53
Mustard Green
#A8B504
ΔE00 4.67
Puke Green
#9AAE07
ΔE00 4.69
Pea Soup
#929901
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A71F #1F1FA7
analogous
#A7631F #A7A71F #63A71F
triadic
#A7A71F #1FA7A7 #A71FA7
tetradic
#A7A71F #1FA763 #1F1FA7 #A71F63
square
#A7A71F #1FA763 #1F1FA7 #A71F63
split-complementary
#A7A71F #1F63A7 #631FA7
monochromatic
#40400C #737315 #A7A71F #D8D82B #E1E15F
Accessibility & contrast
On white
2.56
#A7A71F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.19
#A7A71F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A71F
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A71F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A71F | 1.00 | 2.56 | 8.19 | 8.19 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B7A42C
Tritanopia (blue-blind)
#B39C8F
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a7a71f; /* rgb */ color: rgb(167, 167, 31); /* oklch */ color: oklch(70.6% 0.146 109.6);
Tailwind
colors: {
custom: {
50: '#c5c069',
500: '#a7a71f',
950: '#000000',
},
}SCSS
$custom: #a7a71f; $custom-light: #c5c069; $custom-dark: #000000;
JSON
{
"hex": "#a7a71f",
"rgb": {
"r": 167,
"g": 167,
"b": 31
},
"hsl": {
"h": 60,
"s": 68.687,
"l": 38.824
},
"oklch": {
"l": 0.7059,
"c": 0.14552,
"h": 109.6
},
"luminance": 0.35952
}Semantic roles & 50–950 ramp
primary
#A7A71F
secondary
#5C5CC6
accent
#3CEC3C
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A