#ECD998 color
The hex color #ECD998 is a light, moderate yellow.
In the RGB color model it is made of 92.5% red, 85.1% green and 59.6% blue (236, 217, 152).
Its hue angle is 46°, with 69% saturation and 76% lightness. For print, the CMYK equivalent is 0% cyan, 8% magenta, 36% yellow and 7% black.
The closest named color is Ivory Buff (#EBD999), a difference of 0.3 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 14.95:1).
#ECD998 color codes
| HEX | #ECD998 | |
|---|---|---|
| RGB | rgb(236, 217, 152) | |
| RGB percent | rgb(92.5%, 85.1%, 59.6%) | |
| HSL | hsl(46, 69%, 76%) | |
| HSV / HSB | hsv(46, 36%, 93%) | |
| CMYK | cmyk(0%, 8%, 36%, 7%) | |
| CIE LAB | lab(86.86, -2.69, 34.43) | |
| CIE LCH | lch(86.86, 34.54, 94.47) | |
| CIE XYZ | xyz(65.074, 69.728, 39.731) | |
| Decimal | 15522200 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #ECD998, 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 #ECD998 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.95:1 | Pass | Pass | Pass |
| Sample text | 1.41:1 | Fail | Fail | Fail |
| #ECD998 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.41:1 | Fail | Fail | Fail |
| Sample text | 14.95: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 #ECD998 looks to people with the most common types of color vision deficiency.
#e6d693Protanopia
no red cones#ebdc9aDeuteranopia
no green cones#f9cfc8Tritanopia
no blue cones#d9d9d9Achromatopsia
no color vision
CSS examples
.background { background-color: #ecd998; }
.text { color: #ecd998; }
.border { border: 2px solid #ecd998; }
.transparent { background-color: rgb(236 217 152 / 50%); }
.gradient { background: linear-gradient(to right, #ecd998, #d5ec98); }
Similar colors
#ebd999Ivory Buff#e8d99cSunny Glory#f1dca1Hazy Moon#f5dd98Sunbathed#f6e19cButtery Croissant#f2dea4North Star#f2e2a4Sugar Cookie#f6e199Lemon Meringue
Closest common color name: Vanilla.
Questions
- What color is #ECD998?
- #ECD998 is a light, moderate yellow, closest to the named color Ivory Buff. It belongs to the beige family of colors.
- What is the RGB value of #ECD998?
- The RGB value is 236, 217, 152: 236 red, 217 green and 152 blue on a 0 to 255 scale.
- What is the complementary color of #ECD998?
- The complementary color is #98ABEC, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #ECD998?
- Black text. Black text has a contrast ratio of 14.95:1 and white text 1.41:1. WCAG asks for at least 4.5:1 for normal text.