#302A02 color
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 | |
|---|---|---|
| RGB | rgb(48, 42, 2) | |
| RGB percent | rgb(18.8%, 16.5%, 0.8%) | |
| HSL | hsl(52, 92%, 10%) | |
| HSV / HSB | hsv(52, 96%, 19%) | |
| CMYK | cmyk(0%, 13%, 96%, 81%) | |
| CIE LAB | lab(16.94, -2.6, 23.61) | |
| CIE LCH | lch(16.94, 23.75, 96.29) | |
| CIE XYZ | xyz(2.058, 2.289, 0.391) | |
| Decimal | 3156482 | |
| Short hex | None (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 #302A02 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.46:1 | Fail | Fail | Fail |
| Sample text | 14.41:1 | Pass | Pass | Pass |
| #302A02 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.41:1 | Pass | Pass | Pass |
| Sample text | 1.46:1 | Fail | Fail | Fail |
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.
#2f2800Protanopia
no red cones#312b04Deuteranopia
no green cones#352622Tritanopia
no blue cones#2a2a2aAchromatopsia
no color vision
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); }
Similar colors
#372a05Secret Passage#333300Wasabi Nori#473e23Madras#373e02Dark Olive#444411Alligator Gladiator#4e3e1fAvocado Stone#404404Green Not Found#393227Creole
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.