#18170F color

#18170F rgb(24, 23, 15)
Shades of black

The hex color #18170F is a very dark, grayish yellow.

In the RGB color model it is made of 9.4% red, 9% green and 5.9% blue (24, 23, 15).

Its hue angle is 53°, with 23% saturation and 8% lightness. For print, the CMYK equivalent is 0% cyan, 4% magenta, 37% yellow and 91% black.

The closest named color is Twilight Zone (#191916), a difference of 2.6 ΔE, a small difference.

White text is the more readable choice on this background (contrast 17.97:1).

#18170F color codes

HEX#18170F
RGBrgb(24, 23, 15)
RGB percentrgb(9.4%, 9%, 5.9%)
HSLhsl(53, 23%, 8%)
HSV / HSBhsv(53, 38%, 9%)
CMYKcmyk(0%, 4%, 37%, 91%)
CIE LABlab(7.6, -1.25, 4.9)
CIE LCHlch(7.6, 5.06, 104.31)
CIE XYZxyz(0.769, 0.841, 0.574)
Decimal1578767
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #18170F, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #18170FRatioAAAAAAA large
Sample text1.17:1FailFailFail
Sample text17.97:1PassPassPass
#18170F as text onRatioAAAAAAA large
Sample text17.97:1PassPassPass
Sample text1.17:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #18170F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #18170f; }
.text { color: #18170f; }
.border { border: 2px solid #18170f; }
.transparent { background-color: rgb(24 23 15 / 50%); }
.gradient { background: linear-gradient(to right, #18170f, #15180f); }
Background
Text color
Border

Similar colors

Closest common color name: Off Black.

Questions

What color is #18170F?
#18170F is a very dark, grayish yellow, closest to the named color Twilight Zone. It belongs to the black family of colors.
What is the RGB value of #18170F?
The RGB value is 24, 23, 15: 24 red, 23 green and 15 blue on a 0 to 255 scale.
What is the complementary color of #18170F?
The complementary color is #0F1018, found by rotating the hue 180° on the color wheel.
Is black or white text better on #18170F?
White text. Black text has a contrast ratio of 1.17:1 and white text 17.97:1. WCAG asks for at least 4.5:1 for normal text.