#282A11 color

#282A11 rgb(40, 42, 17)
Shades of yellow

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
RGBrgb(40, 42, 17)
RGB percentrgb(15.7%, 16.5%, 6.7%)
HSLhsl(65, 42%, 12%)
HSV / HSBhsv(65, 60%, 16%)
CMYKcmyk(5%, 0%, 60%, 84%)
CIE LABlab(16.24, -5.6, 15.85)
CIE LCHlch(16.24, 16.81, 109.46)
CIE XYZxyz(1.804, 2.148, 0.85)
Decimal2632209
Short hexNone (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 #282A11RatioAAAAAAA large
Sample text1.43:1FailFailFail
Sample text14.69:1PassPassPass
#282A11 as text onRatioAAAAAAA large
Sample text14.69:1PassPassPass
Sample text1.43:1FailFailFail

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.

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); }
Background
Text color
Border

Similar colors

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.