Palettes / Colors / #313110
#313110 — Dark Muted Yellow
#313110 is a yellow color we call Dark Muted Yellow, closest to the named color DarkSlateGray (#2F4F4F). It belongs to the yellow family.
Color name
Closest CSS keyword: darkslategray (#2F4F4F) — not an exact match. CSS darkslategray gives you #2F4F4F, a different color; use #313110 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.
#313110 is a warm yellow color associated with optimism, attention and cheer. It is deep enough for text, outlines and dark interface surfaces, and makes light colors glow next to it.
Its strongest partner is its complement #101032; it also sits naturally between #322110 and #213210. In the palettes below you can see it working alongside real color combinations from our collection.
Color values
| HEX | #313110 |
|---|---|
| RGB | 49, 49, 16 |
| HSL | 60°, 51%, 13% |
| HSV | 60°, 67%, 19% |
| CMYK | 0%, 0%, 67%, 81% |
| XYZ | 2.46, 2.89, 0.92 |
| Yxy | 2.89, 0.3925, 0.4609 |
| CIE-Lab | 19.59, -5.52, 20.64 |
| Hunter Lab | 16.99, -3.05, 8.06 |
RGB & CMYK percentages
Red 19% · Green 19% · Blue 6%
Cyan 0% · Magenta 0% · Yellow 67% · Key 81%
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 #313110
.text { color: #313110; }
.background { background-color: #313110; }
.border { border: 3px solid #313110; }
.text-rgb { color: rgb(49, 49, 16); }
.text-hsl { color: hsl(60, 51%, 13%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #313110; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(49, 49, 16, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #313110; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(49, 49, 16, 0.8); }
HTML: <p style="color:#313110">Text here</p> · <div style="background-color:#313110">Div content here</div>
Shades of #313110
Tints of #313110
Tones of #313110
Color harmonies
Complementary — #101032:
Analogous:
Triadic:
Contrast & accessibility
| Against white text | 13.31:1 AAA |
|---|---|
| Against black text | 1.58:1 Fails |
Best text color on #313110: #FFFFFF.
Semi-transparent (opacity) text on #313110
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 #313110: ·
How #313110 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 #313110 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 #313110?
#313110 is Dark Muted Yellow, a yellow color (RGB 49, 49, 16). Its closest standard named color is DarkSlateGray.
What is the RGB and HSL of #313110?
#313110 is RGB 49, 49, 16 — HSL 60°, 51%, 13% — CMYK 0%, 0%, 67%, 81%.
What colors go with #313110?
Its complement is #101032; analogous partners are #322110 and #213210. It also appears in 6+ palettes in our collection.
Can I use #313110 for text?
White text on #313110 has a contrast ratio of 13.31:1 (passes WCAG AA); black text gives 1.58:1.