#ECDB98 color
The hex color #ECDB98 is a light, moderate yellow.
In the RGB color model it is made of 92.5% red, 85.9% green and 59.6% blue (236, 219, 152).
Its hue angle is 48°, with 69% saturation and 76% lightness. For print, the CMYK equivalent is 0% cyan, 7% magenta, 36% yellow and 7% black.
The closest named color is Ivory Buff (#EBD999), a difference of 0.8 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 15.15:1).
#ECDB98 color codes
| HEX | #ECDB98 | |
|---|---|---|
| RGB | rgb(236, 219, 152) | |
| RGB percent | rgb(92.5%, 85.9%, 59.6%) | |
| HSL | hsl(48, 69%, 76%) | |
| HSV / HSB | hsv(48, 36%, 93%) | |
| CMYK | cmyk(0%, 7%, 36%, 7%) | |
| CIE LAB | lab(87.37, -3.71, 35.1) | |
| CIE LCH | lch(87.37, 35.3, 96.04) | |
| CIE XYZ | xyz(65.592, 70.765, 39.903) | |
| Decimal | 15522712 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #ECDB98, 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 #ECDB98 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.15:1 | Pass | Pass | Pass |
| Sample text | 1.39:1 | Fail | Fail | Fail |
| #ECDB98 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.39:1 | Fail | Fail | Fail |
| Sample text | 15.15: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 #ECDB98 looks to people with the most common types of color vision deficiency.
#e8d893Protanopia
no red cones#eddd9aDeuteranopia
no green cones#f8d1caTritanopia
no blue cones#dbdbdbAchromatopsia
no color vision
CSS examples
.background { background-color: #ecdb98; }
.text { color: #ecdb98; }
.border { border: 2px solid #ecdb98; }
.transparent { background-color: rgb(236 219 152 / 50%); }
.gradient { background: linear-gradient(to right, #ecdb98, #d3ec98); }
Similar colors
#ebd999Ivory Buff#e8d99cSunny Glory#f6e19cButtery Croissant#f2e2a4Sugar Cookie#f6e199Lemon Meringue#f0e093Cheesy Frittata#f5dd98Sunbathed#eedf91Party Sponge Cake
Closest common color name: Vanilla.
Questions
- What color is #ECDB98?
- #ECDB98 is a light, moderate yellow, closest to the named color Ivory Buff. It belongs to the yellow family of colors.
- What is the RGB value of #ECDB98?
- The RGB value is 236, 219, 152: 236 red, 219 green and 152 blue on a 0 to 255 scale.
- What is the complementary color of #ECDB98?
- The complementary color is #98A9EC, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #ECDB98?
- Black text. Black text has a contrast ratio of 15.15:1 and white text 1.39:1. WCAG asks for at least 4.5:1 for normal text.