#302B08 color
The hex color #302B08 is a very dark, moderate yellow.
In the RGB color model it is made of 18.8% red, 16.9% green and 3.1% blue (48, 43, 8).
Its hue angle is 53°, with 71% saturation and 11% lightness. For print, the CMYK equivalent is 0% cyan, 10% magenta, 83% yellow and 81% black.
The closest named color is Secret Passage (#372A05), a difference of 4.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.24:1).
#302B08 color codes
| HEX | #302B08 | |
|---|---|---|
| RGB | rgb(48, 43, 8) | |
| RGB percent | rgb(18.8%, 16.9%, 3.1%) | |
| HSL | hsl(53, 71%, 11%) | |
| HSV / HSB | hsv(53, 83%, 19%) | |
| CMYK | cmyk(0%, 10%, 83%, 81%) | |
| CIE LAB | lab(17.34, -2.8, 21.66) | |
| CIE LCH | lch(17.34, 21.84, 97.37) | |
| CIE XYZ | xyz(2.127, 2.374, 0.576) | |
| Decimal | 3156744 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #302B08, 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 #302B08 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.47:1 | Fail | Fail | Fail |
| Sample text | 14.24:1 | Pass | Pass | Pass |
| #302B08 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.24:1 | Pass | Pass | Pass |
| Sample text | 1.47: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 #302B08 looks to people with the most common types of color vision deficiency.
#302904Protanopia
no red cones#312b0aDeuteranopia
no green cones#342724Tritanopia
no blue cones#2b2b2bAchromatopsia
no color vision
CSS examples
.background { background-color: #302b08; }
.text { color: #302b08; }
.border { border: 2px solid #302b08; }
.transparent { background-color: rgb(48 43 8 / 50%); }
.gradient { background: linear-gradient(to right, #302b08, #213008); }
Similar colors
#372a05Secret Passage#333300Wasabi Nori#473e23Madras#373e02Dark Olive#4e3e1fAvocado Stone#444411Alligator Gladiator#393227Creole#404404Green Not Found
Closest common color name: Taupe.
Questions
- What color is #302B08?
- #302B08 is a very dark, moderate yellow, closest to the named color Secret Passage. It belongs to the yellow family of colors.
- What is the RGB value of #302B08?
- The RGB value is 48, 43, 8: 48 red, 43 green and 8 blue on a 0 to 255 scale.
- What is the complementary color of #302B08?
- The complementary color is #080D30, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #302B08?
- White text. Black text has a contrast ratio of 1.47:1 and white text 14.24:1. WCAG asks for at least 4.5:1 for normal text.