#302A02 color

#302A02 rgb(48, 42, 2)
Shades of yellow

The hex color #302A02 is a very dark, vivid yellow.

In the RGB color model it is made of 18.8% red, 16.5% green and 0.8% blue (48, 42, 2).

Its hue angle is 52°, with 92% saturation and 10% lightness. For print, the CMYK equivalent is 0% cyan, 13% magenta, 96% yellow and 81% black.

The closest named color is Secret Passage (#372A05), a difference of 4 ΔE, a small difference.

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

#302A02 color codes

HEX#302A02
RGBrgb(48, 42, 2)
RGB percentrgb(18.8%, 16.5%, 0.8%)
HSLhsl(52, 92%, 10%)
HSV / HSBhsv(52, 96%, 19%)
CMYKcmyk(0%, 13%, 96%, 81%)
CIE LABlab(16.94, -2.6, 23.61)
CIE LCHlch(16.94, 23.75, 96.29)
CIE XYZxyz(2.058, 2.289, 0.391)
Decimal3156482
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #302A02, 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 #302A02RatioAAAAAAA large
Sample text1.46:1FailFailFail
Sample text14.41:1PassPassPass
#302A02 as text onRatioAAAAAAA large
Sample text14.41:1PassPassPass
Sample text1.46: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 #302A02 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #302a02; }
.text { color: #302a02; }
.border { border: 2px solid #302a02; }
.transparent { background-color: rgb(48 42 2 / 50%); }
.gradient { background: linear-gradient(to right, #302a02, #1f3002); }
Background
Text color
Border

Similar colors

Closest common color name: Taupe.

Questions

What color is #302A02?
#302A02 is a very dark, vivid yellow, closest to the named color Secret Passage. It belongs to the yellow family of colors.
What is the RGB value of #302A02?
The RGB value is 48, 42, 2: 48 red, 42 green and 2 blue on a 0 to 255 scale.
What is the complementary color of #302A02?
The complementary color is #020830, found by rotating the hue 180° on the color wheel.
Is black or white text better on #302A02?
White text. Black text has a contrast ratio of 1.46:1 and white text 14.41:1. WCAG asks for at least 4.5:1 for normal text.