#302F18 color

#302F18 rgb(48, 47, 24)
Shades of yellow

The hex color #302F18 is a very dark, desaturated yellow.

In the RGB color model it is made of 18.8% red, 18.4% green and 9.4% blue (48, 47, 24).

Its hue angle is 58°, with 33% saturation and 14% lightness. For print, the CMYK equivalent is 0% cyan, 2% magenta, 50% yellow and 81% black.

The closest named color is Madras (#473E23), a difference of 7 ΔE.

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

#302F18 color codes

HEX#302F18
RGBrgb(48, 47, 24)
RGB percentrgb(18.8%, 18.4%, 9.4%)
HSLhsl(58, 33%, 14%)
HSV / HSBhsv(58, 50%, 19%)
CMYKcmyk(0%, 2%, 50%, 81%)
CIE LABlab(18.92, -3.81, 14.92)
CIE LCHlch(18.92, 15.4, 104.33)
CIE XYZxyz(2.4, 2.727, 1.264)
Decimal3157784
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #302F18, 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 #302F18RatioAAAAAAA large
Sample text1.55:1FailFailFail
Sample text13.59:1PassPassPass
#302F18 as text onRatioAAAAAAA large
Sample text13.59:1PassPassPass
Sample text1.55: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 #302F18 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #302f18; }
.text { color: #302f18; }
.border { border: 2px solid #302f18; }
.transparent { background-color: rgb(48 47 24 / 50%); }
.gradient { background: linear-gradient(to right, #302f18, #253018); }
Background
Text color
Border

Similar colors

Closest common color name: Onyx.

Questions

What color is #302F18?
#302F18 is a very dark, desaturated yellow, closest to the named color Madras. It belongs to the yellow family of colors.
What is the RGB value of #302F18?
The RGB value is 48, 47, 24: 48 red, 47 green and 24 blue on a 0 to 255 scale.
What is the complementary color of #302F18?
The complementary color is #181930, found by rotating the hue 180° on the color wheel.
Is black or white text better on #302F18?
White text. Black text has a contrast ratio of 1.55:1 and white text 13.59:1. WCAG asks for at least 4.5:1 for normal text.