#070802 Color Information

Hex color code: #070802

#070802 is a dark yellow color. In RGB it is (7, 8, 2), and in HSL it is (70°, 60%, 2%). It is often used for branding and logos.

Try:
Color NameBlack
HEX
#070802
RGB
7, 8, 2
HSL
70°, 60%, 2%
CMYK
12%, 0%, 75%, 97%

Shades

CSS Usage
color: #070802;
background-color: #070802;
border-color: #070802;
box-shadow: 0 0 10px #070802;
border: 2px solid #070802;
Tailwind Usage
bg-[#070802]
text-[#070802]
border-[#070802]
shadow-[0_0_10px_070802]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #070802, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #070802; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #070802; color: #FFFFFF; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #070802; background-color: #07080215; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #07080220; border-left: 4px solid #070802; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #070802; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #070802 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

7, 8, 2

Red: 7 / Green: 8 / Blue: 2

HSL

70°, 60%, 2%

Hue: 70° / Saturation: 60% / Lightness: 2%

CMYK

12%, 0%, 75%, 97%

Cyan: 12% / Magenta: 0% / Yellow: 75% / Key: 97%

What color is #070802?

#070802 is a very dark shade associated with sophistication and elegance.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #070802 to RGB:

rgb(7, 8, 2)HEX to RGB Converter →

HEX to HSL

Convert #070802 to HSL:

hsl(70, 60%, 2%)RGB to HSL Converter →

HEX to CMYK

Convert #070802 to CMYK:

cmyk(12%, 0%, 75%, 97%)Color Converter →

Color Meaning and Usage

A rich yellow tone, #070802 has RGB (7, 8, 2) and HSL (70°, 60%, 2%). Known for evoking sophistication and elegance, this very dark shade is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #070802 is #030208, creating high-contrast pairings. For softer combinations, try analogous colors like #080602.

Use #070802 in CSS: color: #070802 or background-color: #070802. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #070802

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 1.04:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #070802?

#070802 is a rich yellow color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #070802?

#070802 in RGB is (7, 8, 2) - 7 red, 8 green, and 2 blue.

How to use #070802 in CSS?

Use #070802 directly in your CSS properties like color or background-color.

What colors go well with #070802?

#030208 (complementary), #080602 (analogous), and #000000 (lighter shade) work well with #070802.