Palettes / Colors / #313503
#313503 — Dark Vivid Yellow
#313503 is a yellow color we call Dark Vivid Yellow, closest to the named color DarkGreen (#006400). It belongs to the yellow family.
Color name
Closest CSS keyword: darkgreen (#006400) — not an exact match. CSS darkgreen gives you #006400, a different color; use #313503 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.
#313503 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 #070335; it also sits naturally between #352003 and #183503. In the palettes below you can see it working alongside real color combinations from our collection.
Color values
| HEX | #313503 |
|---|---|
| RGB | 49, 53, 3 |
| HSL | 65°, 89%, 11% |
| HSV | 65°, 94%, 21% |
| CMYK | 8%, 0%, 94%, 79% |
| XYZ | 2.56, 3.21, 0.57 |
| Yxy | 3.21, 0.4037, 0.5063 |
| CIE-Lab | 20.85, -9.03, 27.79 |
| Hunter Lab | 17.90, -4.97, 10.04 |
RGB & CMYK percentages
Red 19% · Green 21% · Blue 1%
Cyan 8% · Magenta 0% · Yellow 94% · Key 79%
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 #313503
.text { color: #313503; }
.background { background-color: #313503; }
.border { border: 3px solid #313503; }
.text-rgb { color: rgb(49, 53, 3); }
.text-hsl { color: hsl(65, 89%, 11%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #313503; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(49, 53, 3, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #313503; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(49, 53, 3, 0.8); }
HTML: <p style="color:#313503">Text here</p> · <div style="background-color:#313503">Div content here</div>
Shades of #313503
Tints of #313503
Tones of #313503
Color harmonies
Complementary — #070335:
Analogous:
Triadic:
Contrast & accessibility
| Against white text | 12.80:1 AAA |
|---|---|
| Against black text | 1.64:1 Fails |
Best text color on #313503: #FFFFFF.
Semi-transparent (opacity) text on #313503
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 #313503: ·
How #313503 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 #313503 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 #313503?
#313503 is Dark Vivid Yellow, a yellow color (RGB 49, 53, 3). Its closest standard named color is DarkGreen.
What is the RGB and HSL of #313503?
#313503 is RGB 49, 53, 3 — HSL 65°, 89%, 11% — CMYK 8%, 0%, 94%, 79%.
What colors go with #313503?
Its complement is #070335; analogous partners are #352003 and #183503. It also appears in 6+ palettes in our collection.
Can I use #313503 for text?
White text on #313503 has a contrast ratio of 12.80:1 (passes WCAG AA); black text gives 1.64:1.