#2B2812 color
The hex color #2B2812 is a very dark, desaturated yellow.
In the RGB color model it is made of 16.9% red, 15.7% green and 7.1% blue (43, 40, 18).
Its hue angle is 53°, with 41% saturation and 12% lightness. For print, the CMYK equivalent is 0% cyan, 7% magenta, 58% yellow and 83% black.
The closest named color is Secret Passage (#372A05), a difference of 6.8 ΔE.
White text is the more readable choice on this background (contrast 14.84:1).
#2B2812 color codes
| HEX | #2B2812 | |
|---|---|---|
| RGB | rgb(43, 40, 18) | |
| RGB percent | rgb(16.9%, 15.7%, 7.1%) | |
| HSL | hsl(53, 41%, 12%) | |
| HSV / HSB | hsv(53, 58%, 17%) | |
| CMYK | cmyk(0%, 7%, 58%, 83%) | |
| CIE LAB | lab(15.88, -2.55, 14.86) | |
| CIE LCH | lch(15.88, 15.08, 99.74) | |
| CIE XYZ | xyz(1.864, 2.075, 0.874) | |
| Decimal | 2828306 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2B2812, 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 #2B2812 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.41:1 | Fail | Fail | Fail |
| Sample text | 14.84:1 | Pass | Pass | Pass |
| #2B2812 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.84:1 | Pass | Pass | Pass |
| Sample text | 1.41: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 #2B2812 looks to people with the most common types of color vision deficiency.
#2c2710Protanopia
no red cones#2d2813Deuteranopia
no green cones#2e2523Tritanopia
no blue cones#272727Achromatopsia
no color vision
CSS examples
.background { background-color: #2b2812; }
.text { color: #2b2812; }
.border { border: 2px solid #2b2812; }
.transparent { background-color: rgb(43 40 18 / 50%); }
.gradient { background: linear-gradient(to right, #2b2812, #222b12); }
Similar colors
#372a05Secret Passage#393227Creole#1f180aNoir Mystique#2b2e26Marshland#333300Wasabi Nori#473e23Madras#1e231cUnderworld#17240bMidnight Pines
Closest common color name: Onyx.
Questions
- What color is #2B2812?
- #2B2812 is a very dark, desaturated yellow, closest to the named color Secret Passage. It belongs to the yellow family of colors.
- What is the RGB value of #2B2812?
- The RGB value is 43, 40, 18: 43 red, 40 green and 18 blue on a 0 to 255 scale.
- What is the complementary color of #2B2812?
- The complementary color is #12152B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2B2812?
- White text. Black text has a contrast ratio of 1.41:1 and white text 14.84:1. WCAG asks for at least 4.5:1 for normal text.