#D8E380 color
The hex color #D8E380 is a light, moderate yellow.
In the RGB color model it is made of 84.7% red, 89% green and 50.2% blue (216, 227, 128).
Its hue angle is 67°, with 64% saturation and 70% lightness. For print, the CMYK equivalent is 5% cyan, 0% magenta, 44% yellow and 11% black.
The closest named color is Sassy Lime (#DFE289), a difference of 2.3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 15.22:1).
#D8E380 color codes
| HEX | #D8E380 | |
|---|---|---|
| RGB | rgb(216, 227, 128) | |
| RGB percent | rgb(84.7%, 89%, 50.2%) | |
| HSL | hsl(67, 64%, 70%) | |
| HSV / HSB | hsv(67, 44%, 89%) | |
| CMYK | cmyk(5%, 0%, 44%, 11%) | |
| CIE LAB | lab(87.53, -18.09, 46.94) | |
| CIE LCH | lch(87.53, 50.3, 111.08) | |
| CIE XYZ | xyz(59.685, 71.096, 30.997) | |
| Decimal | 14214016 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D8E380, 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 #D8E380 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.22:1 | Pass | Pass | Pass |
| Sample text | 1.38:1 | Fail | Fail | Fail |
| #D8E380 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.38:1 | Fail | Fail | Fail |
| Sample text | 15.22: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 #D8E380 looks to people with the most common types of color vision deficiency.
#f0da78Protanopia
no red cones#efdc85Deuteranopia
no green cones#e3d9cbTritanopia
no blue cones#dbdbdbAchromatopsia
no color vision
CSS examples
.background { background-color: #d8e380; }
.text { color: #d8e380; }
.border { border: 2px solid #d8e380; }
.transparent { background-color: rgb(216 227 128 / 50%); }
.gradient { background: linear-gradient(to right, #d8e380, #a6e380); }
Similar colors
#dfe289Sassy Lime#dddd88Garlic Toast#daea6fMindaro#e6e382Yellow Press#c6d86bCool as a Cucumber#eeee88Pineapple Perfume#eae583Hippy#cad175Fool’s Gold
Closest common color name: Pastel Yellow.
Questions
- What color is #D8E380?
- #D8E380 is a light, moderate yellow, closest to the named color Sassy Lime. It belongs to the yellow family of colors.
- What is the RGB value of #D8E380?
- The RGB value is 216, 227, 128: 216 red, 227 green and 128 blue on a 0 to 255 scale.
- What is the complementary color of #D8E380?
- The complementary color is #8B80E3, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D8E380?
- Black text. Black text has a contrast ratio of 15.22:1 and white text 1.38:1. WCAG asks for at least 4.5:1 for normal text.