Luna color: hex code #D4D8CE
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 | |
|---|---|---|
| RGB | rgb(212, 216, 206) | |
| RGB percent | rgb(83.1%, 84.7%, 80.8%) | |
| HSL | hsl(84, 11%, 83%) | |
| HSV / HSB | hsv(84, 5%, 85%) | |
| CMYK | cmyk(2%, 0%, 5%, 15%) | |
| CIE LAB | lab(85.79, -3.15, 4.45) | |
| CIE LCH | lch(85.79, 5.45, 125.28) | |
| CIE XYZ | xyz(62.846, 67.565, 68.111) | |
| Decimal | 13949134 | |
| Short hex | None (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 #D4D8CE | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.51:1 | Pass | Pass | Pass |
| Sample text | 1.45:1 | Fail | Fail | Fail |
| #D4D8CE as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.45:1 | Fail | Fail | Fail |
| Sample text | 14.51:1 | Pass | Pass | Pass |
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.
#d9d7cdProtanopia
no red cones#d9d6ceDeuteranopia
no green cones#d5d7d5Tritanopia
no blue cones#d6d6d6Achromatopsia
no color vision
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); }
Similar colors
#dadad1Alaska#dad9ceFeather#d5d5ceKefir#cfcfc4Pastel Gray#e1e3d7Washed Dollar#e1e1d5Fish Ceviche#d6d7d2Fog#c7cfc7Murmur
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.