✓ Copied to clipboard
#040402 (Deep Yellow) color swatch preview — Color From Pic.
#040402 — Deep Yellow color swatch

Deep Yellow

#040402

📝 Color Information for #040402

The hexadecimal color code #040402 represents a very dark shade in the yellow family. In the RGB color model, this color is composed of 4 red, 4 green, and 2 blue, which translates to approximately 2% red, 2% green, and 1% blue. This makes it a slightly desaturated color with cool undertones that can evoke different emotional responses depending on its application. When analyzed in the HSL (Hue, Saturation, Lightness) color space, #040402 has a hue of 60 degrees, a saturation level of 33%, and a lightness value of 1%. The hue angle of 60° places this color firmly in the yellow spectrum. In the HSV/HSB color model, this translates to a hue of 60°, saturation of 50%, and brightness/value of 2%. For print applications using the CMYK color model, #040402 would be reproduced using 0% cyan, 0% magenta, 50% yellow, and 98% black. The closest web-safe color is #000000, which may be useful for ensuring compatibility across older displays and systems. This color works well in various design contexts. As a darker shade, it works well for text, headers, and creating visual weight in compositions. The moderate to low saturation gives this color a sophisticated, muted quality that works well in professional and minimalist designs. When pairing #040402 with other colors, consider its complementary color at hue 240° for maximum contrast, or use analogous colors within 30° of its hue for harmonious combinations. The decimal representation of this color is 263170, which can be useful in certain programming contexts.

🔢 Color Conversion Codes for #040402

Tailwind CSS
black
HEX
#040402
RGB
rgb(4, 4, 2)
RGB %
2%, 2%, 1%
HSL
hsl(60, 33%, 1%)
HSV
hsv(60, 50%, 2%)
CMYK
0%, 0%, 50%, 98%
Decimal
263170
Web Safe
#000000

🎨 Color Schemes for #040402

Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)

🔄 Alternatives to #040402

🌗 Shades and Tints of #040402

Shades (adding black)
Tints (adding white)

🎚️ Tones of #040402

Tones (adding gray / desaturating)

🌈 Hue Variations of #040402

Hue Variations (shifting the color spectrum)

👁️ Preview of #040402 in Use

Text on #040402
This demonstrates text readability on the color background. (Click to edit)
#040402 as Text
This shows the color used as text on white. (Click to edit)

👓 Color Blindness Simulation for #040402

Check how a color is perceived by people with different types of color blindness to create more accessible designs. Understanding color perception helps ensure your content is accessible to everyone.

📋 CSS Code for #040402

:root { --color-hex: #040402; --color-rgb: 4, 4, 2; --color-hsl: 60, 33%, 1%; } .bg-color { background-color: #040402; } .text-color { color: #040402; } .border-color { border-color: #040402; }

🛠️ Use #040402 in Your Project

🎨
Build a Palette with #040402
Generate harmonious color schemes
⚖️
Check Contrast for #040402
WCAG accessibility testing
🌈
Create a Gradient with #040402
Beautiful CSS gradients

🔗 Related Colors to #040402

#030302
Hue -30°
#030302
Hue -15°
#030302
Hue +15°
#030302
Hue +30°
#030302
85% L
#030302
70% L
#030302
50% L
#000000
30% L
#474724
21% L
#8B8B46
41% L
#BBBB77
60% L
#DDDDBB
80% L

About Deep Yellow (#040402)

Deep Yellow is a dark, moderately saturated, warm yellow color with a hue angle of 60°, saturation of 33%, and lightness of 1%. Its RGB value is (4, 4, 2) and its CMYK breakdown is C:0% M:0% Y:50% K:98%.

This is a Winter (Deep) color palette archetype. Happiness, Positivity, Optimism, Caution. Yellow is the most luminous of all the colors of the spectrum.

Frequently Asked Questions About #040402

What is the HEX code for Deep Yellow? +

The HEX code for Deep Yellow is #040402. In CSS you can use it directly as color: #040402; or as a background: background-color: #040402;. The three-character shorthand is not available for this color since it cannot be reduced without changing the value. Use the full six-character hex for accurate reproduction in any web or design project.

What is the RGB value of #040402? +

The RGB value of #040402 is rgb(4, 4, 2). This means the color contains 4 out of 255 parts red, 4 out of 255 parts green, and 2 out of 255 parts blue. Red is the strongest channel in this color mix. You can use the full RGB function in any CSS property: color: rgb(4, 4, 2);

What is the HSL value of #040402? +

The HSL value of #040402 is hsl(60, 33%, 1%). The hue is 60°, placing it in the yellow family on the color wheel. The saturation is 33%, making it moderately saturated. The lightness is 1%, making it dark. HSL is the most useful format for programmatic color manipulation in CSS, as you can easily adjust lightness to create tints and shades.

Is #040402 a warm or cool color? +

#040402 is classified as a warm color based on its hue angle of 60°. Warm colors — reds, oranges, and yellows — evoke energy, enthusiasm, and urgency. They tend to advance visually and draw the eye. In design, warm colors are often used for calls-to-action, food and hospitality brands, and anywhere a feeling of warmth or excitement is desired.

What is the CMYK value of #040402? +

The approximate CMYK value of #040402 is C:0% M:0% Y:50% K:98%. CMYK (Cyan, Magenta, Yellow, Key/Black) is the color model used in physical printing. Unlike RGB which mixes light additively on screens, CMYK mixes inks subtractively on paper. Note that the RGB-to-CMYK conversion is an approximation — screen colors and print colors exist in different color gamuts, and some screen colors cannot be exactly reproduced in print. For precise print work, consult a professional print color profile or Pantone matching system.

Analyze #040402 with Other Tools

🔢
Color Converter
Get all formats for #040402 — HEX, RGB, HSL, HSV, CMYK, harmonies and shades.
Contrast Checker
Test whether #040402 passes WCAG AA/AAA contrast requirements as text.
🎨
Palette Generator
Generate complementary, triadic, and analogous palettes starting from #040402.
👓
Blindness Simulator
See how #040402 appears to users with deuteranopia, protanopia, and tritanopia.
📊
Color Analysis
Deep analysis of luminance, temperature, psychology and harmonies for #040402.
🎭
Creative Aspects
Explore the mood, psychology, seasonal meaning, and mixing guide for #040402.
🌅
Gradient Maker
Create a beautiful CSS linear or radial gradient starting from #040402.
🔬
Technical Formats
See #040402 in OKLCH, Lab, HSV, XYZ, and other advanced color spaces.
🎨
Practical Formats
Get #040402 as a CSS variable, Tailwind class, design token, and more.

More Color Tools

Explore our full suite of free color utilities for designers and developers.