Palettes / Colors / #7B671A
#7B671A — Yellow
#7B671A is a yellow color we call Yellow, closest to the named color Olive (#808000). It belongs to the yellow family.
Color name
Closest CSS keyword: olive (#808000) — not an exact match. CSS olive gives you #808000, a different color; use #7B671A when you need this exact shade.
Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.
#7B671A is a warm yellow color associated with optimism, attention and cheer. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.
Its strongest partner is its complement #1A2D7A; it also sits naturally between #7A371A and #5D7A1A. In the palettes below you can see it working alongside real color combinations from our collection.
Color values
| HEX | #7B671A |
|---|---|
| RGB | 123, 103, 26 |
| HSL | 48°, 65%, 29% |
| HSV | 48°, 79%, 48% |
| CMYK | 0%, 16%, 79%, 52% |
| XYZ | 13.21, 13.99, 2.98 |
| Yxy | 13.99, 0.4377, 0.4635 |
| CIE-Lab | 44.21, -0.58, 43.54 |
| Hunter Lab | 37.40, -0.43, 20.16 |
RGB & CMYK percentages
Red 48% · Green 40% · Blue 10%
Cyan 0% · Magenta 16% · Yellow 79% · Key 52%
CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.
Previews
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
CSS code for #7B671A
.text { color: #7B671A; }
.background { background-color: #7B671A; }
.border { border: 3px solid #7B671A; }
.text-rgb { color: rgb(123, 103, 26); }
.text-hsl { color: hsl(48, 65%, 29%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #7B671A; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(123, 103, 26, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #7B671A; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(123, 103, 26, 0.8); }
HTML: <p style="color:#7B671A">Text here</p> · <div style="background-color:#7B671A">Div content here</div>
Shades of #7B671A
Tints of #7B671A
Tones of #7B671A
Color harmonies
Complementary — #1A2D7A:
Analogous:
Triadic:
Contrast & accessibility
| Against white text | 5.53:1 AA |
|---|---|
| Against black text | 3.80:1 AA large only |
Best text color on #7B671A: #FFFFFF.
Semi-transparent (opacity) text on #7B671A
Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:
Smaller body text shows the effect best.
Blended color: · Contrast against #7B671A: ·
How #7B671A looks with color blindness
Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:
Closest design-system colors
The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:
Palettes with a similar color
These palettes use a close neighbour of #7B671A rather than the exact color:
Similar colors
The closest colors that actually appear in our palette collection — click any to open its page:
Browse neighbouring colors
Frequently asked questions
What color is #7B671A?
#7B671A is Yellow, a yellow color (RGB 123, 103, 26). Its closest standard named color is Olive.
What is the RGB and HSL of #7B671A?
#7B671A is RGB 123, 103, 26 — HSL 48°, 65%, 29% — CMYK 0%, 16%, 79%, 52%.
What colors go with #7B671A?
Its complement is #1A2D7A; analogous partners are #7A371A and #5D7A1A. It also appears in 6+ palettes in our collection.
Can I use #7B671A for text?
White text on #7B671A has a contrast ratio of 5.53:1 (passes WCAG AA); black text gives 3.80:1.