#28311E color

#28311E rgb(40, 49, 30)
Shades of green

The hex color #28311E is a very dark, grayish yellow-green.

In the RGB color model it is made of 15.7% red, 19.2% green and 11.8% blue (40, 49, 30).

Its hue angle is 88°, with 24% saturation and 15% lightness. For print, the CMYK equivalent is 18% cyan, 0% magenta, 39% yellow and 81% black.

The closest named color is Midnight Pines (#17240B), a difference of 5.2 ΔE.

White text is the more readable choice on this background (contrast 13.56:1).

#28311E color codes

HEX#28311E
RGBrgb(40, 49, 30)
RGB percentrgb(15.7%, 19.2%, 11.8%)
HSLhsl(88, 24%, 15%)
HSV / HSBhsv(88, 39%, 19%)
CMYKcmyk(18%, 0%, 39%, 81%)
CIE LABlab(18.98, -8.1, 10.9)
CIE LCHlch(18.98, 13.59, 126.62)
CIE XYZxyz(2.208, 2.741, 1.641)
Decimal2634014
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #28311E, 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 #28311ERatioAAAAAAA large
Sample text1.55:1FailFailFail
Sample text13.56:1PassPassPass
#28311E as text onRatioAAAAAAA large
Sample text13.56:1PassPassPass
Sample text1.55: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 #28311E looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #28311e; }
.text { color: #28311e; }
.border { border: 2px solid #28311e; }
.transparent { background-color: rgb(40 49 30 / 50%); }
.gradient { background: linear-gradient(to right, #28311e, #1e311e); }
Background
Text color
Border

Similar colors

Closest common color name: Onyx.

Questions

What color is #28311E?
#28311E is a very dark, grayish yellow-green, closest to the named color Midnight Pines. It belongs to the green family of colors.
What is the RGB value of #28311E?
The RGB value is 40, 49, 30: 40 red, 49 green and 30 blue on a 0 to 255 scale.
What is the complementary color of #28311E?
The complementary color is #271E31, found by rotating the hue 180° on the color wheel.
Is black or white text better on #28311E?
White text. Black text has a contrast ratio of 1.55:1 and white text 13.56:1. WCAG asks for at least 4.5:1 for normal text.