#282A11 color
The hex color #282A11 is a very dark, desaturated yellow.
In the RGB color model it is made of 15.7% red, 16.5% green and 6.7% blue (40, 42, 17).
Its hue angle is 65°, with 42% saturation and 12% lightness. For print, the CMYK equivalent is 5% cyan, 0% magenta, 60% yellow and 84% black.
The closest named color is Midnight Pines (#17240B), a difference of 6.3 ΔE.
White text is the more readable choice on this background (contrast 14.69:1).
#282A11 color codes
| HEX | #282A11 | |
|---|---|---|
| RGB | rgb(40, 42, 17) | |
| RGB percent | rgb(15.7%, 16.5%, 6.7%) | |
| HSL | hsl(65, 42%, 12%) | |
| HSV / HSB | hsv(65, 60%, 16%) | |
| CMYK | cmyk(5%, 0%, 60%, 84%) | |
| CIE LAB | lab(16.24, -5.6, 15.85) | |
| CIE LCH | lch(16.24, 16.81, 109.46) | |
| CIE XYZ | xyz(1.804, 2.148, 0.85) | |
| Decimal | 2632209 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #282A11, 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 #282A11 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.43:1 | Fail | Fail | Fail |
| Sample text | 14.69:1 | Pass | Pass | Pass |
| #282A11 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.69:1 | Pass | Pass | Pass |
| Sample text | 1.43: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 #282A11 looks to people with the most common types of color vision deficiency.
#2d280fProtanopia
no red cones#2d2912Deuteranopia
no green cones#2b2724Tritanopia
no blue cones#282828Achromatopsia
no color vision
CSS examples
.background { background-color: #282a11; }
.text { color: #282a11; }
.border { border: 2px solid #282a11; }
.transparent { background-color: rgb(40 42 17 / 50%); }
.gradient { background: linear-gradient(to right, #282a11, #1b2a11); }
Similar colors
#17240bMidnight Pines#333300Wasabi Nori#223311Darkest Forest#172808Lindworm Green#2b2e26Marshland#1e231cUnderworld#112211Nightmare#372a05Secret Passage
Closest common color name: Onyx.
Questions
- What color is #282A11?
- #282A11 is a very dark, desaturated yellow, closest to the named color Midnight Pines. It belongs to the yellow family of colors.
- What is the RGB value of #282A11?
- The RGB value is 40, 42, 17: 40 red, 42 green and 17 blue on a 0 to 255 scale.
- What is the complementary color of #282A11?
- The complementary color is #13112A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #282A11?
- White text. Black text has a contrast ratio of 1.43:1 and white text 14.69:1. WCAG asks for at least 4.5:1 for normal text.