Luna color: hex code #D4D8CE

#D4D8CE rgb(212, 216, 206)
Shades of gray

Luna has the hex code #D4D8CE. It is a very light, grayish yellow-green.

In the RGB color model it is made of 83.1% red, 84.7% green and 80.8% blue (212, 216, 206).

Its hue angle is 84°, with 11% saturation and 83% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 5% yellow and 15% black.

Black text is the more readable choice on this background (contrast 14.51:1).

Luna (#D4D8CE) color codes

HEX#D4D8CE
RGBrgb(212, 216, 206)
RGB percentrgb(83.1%, 84.7%, 80.8%)
HSLhsl(84, 11%, 83%)
HSV / HSBhsv(84, 5%, 85%)
CMYKcmyk(2%, 0%, 5%, 15%)
CIE LABlab(85.79, -3.15, 4.45)
CIE LCHlch(85.79, 5.45, 125.28)
CIE XYZxyz(62.846, 67.565, 68.111)
Decimal13949134
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Luna, 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 #D4D8CERatioAAAAAAA large
Sample text14.51:1PassPassPass
Sample text1.45:1FailFailFail
#D4D8CE as text onRatioAAAAAAA large
Sample text1.45:1FailFailFail
Sample text14.51:1PassPassPass

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 #D4D8CE looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #d4d8ce; }
.text { color: #d4d8ce; }
.border { border: 2px solid #d4d8ce; }
.transparent { background-color: rgb(212 216 206 / 50%); }
.gradient { background: linear-gradient(to right, #d4d8ce, #cfd8ce); }
Background
Text color
Border

Similar colors

Closest common color name: Oatmeal.

See #D4D8CE on its hex code page

Questions

What color is #D4D8CE?
#D4D8CE is a very light, grayish yellow-green known as Luna. It belongs to the gray family of colors.
What is the RGB value of Luna?
The RGB value is 212, 216, 206: 212 red, 216 green and 206 blue on a 0 to 255 scale.
What is the complementary color of Luna?
The complementary color is #D2CED8, found by rotating the hue 180° on the color wheel.
Is black or white text better on #D4D8CE?
Black text. Black text has a contrast ratio of 14.51:1 and white text 1.45:1. WCAG asks for at least 4.5:1 for normal text.