#1A1F18 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This dusty, dim lime sits on the edge of grey, offering a moody and organic feel. As a dark background, the hex code #1a1f18 provides excellent contrast for white text or bright neon accents. It functions best as a base for gaming or nature-inspired interfaces where you need serious depth without the harshness of pure black. Use it to ground bright, energetic colors.
Questions about #1a1f18
What is #1a1f18 in RGB, HSL and CMYK?
In RGB, #1a1f18 is rgb(26, 31, 24), in HSL hsl(103, 13%, 11%) and in CMYK 16%, 0%, 23%, 88%. Browse more shades of black with names and hex codes.
How does #1a1f18 perform as a background color for text?
#1a1f18 creates a high-contrast foundation that works exceptionally well with off-white or soft neon text. Because it is darker than standard charcoal, it offers a softer, more organic depth that feels less artificial than pure black while maintaining great readability for interface design.
What colors pair well with the dark tone of #1a1f18?
Use bright, energetic accent colors like citrine or sharp electric blue to create visual tension against this base. For a more subtle, natural look, pairing #1a1f18 with warm terracotta helps balance its cool, grey-leaning undertones with a grounding, earthy warmth.
Is #1a1f18 readable on white or black?
#1a1f18 has a 16.75:1 contrast ratio on white and 1.25: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.