#31312A Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

Bright yellow this is not. #31312a is a dark, dusty yellow that sits almost at grey, closer to charcoal than citrus. Its low saturation and deep tone make it a dependable base for dark mode layouts and moody backgrounds. White text reads clearly on it at about 13.1:1 contrast. Pair it with mustard or burnt orange accents to pull out its hidden warmth.
Questions about #31312a
What is #31312a in RGB, HSL and CMYK?
In RGB, #31312a is rgb(49, 49, 42), in HSL hsl(60, 8%, 18%) and in CMYK 0%, 0%, 14%, 81%. Browse more shades of black with names and hex codes.
What text color works best on #31312a?
White text is the safest choice, reaching about 13.1:1 contrast, well above the 4.5:1 needed for WCAG AA body text. Light greys and pale yellows also hold up for larger type.
What colors pair well with #31312a?
Warm accents like mustard, burnt orange, and olive bring out the yellow undertone hiding in this near-grey shade. Avoid cool blues, which can make it read flat and muddy.
Is #31312a readable on white or black?
#31312a has a 13.09:1 contrast ratio on white and 1.60:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it is too faint for text. Try other pairs in the contrast checker.