#ECFCCB color
The swatch above shows #ECFCCB with its hex code written on it in white and in black, so you can see which of the two is legible before reading the measured ratios below.
#ECFCCB is a very light, vivid yellow-green, closest to the CSS named color lightgoldenrodyellow (#FAFAD2).
It is also a Tailwind CSS default: lime-100. That means you can write bg-lime-100 or text-lime-100 directly, with no arbitrary-value brackets and no entry in your theme config.
Color values
| HEX | #ECFCCB |
| RGB | rgb(236, 252, 203) |
| HSL | hsl(80, 89%, 89%) |
| CMYK | cmyk(6%, 0%, 19%, 1%) |
| Decimal | 15531211 |
| CSS | color: #ECFCCB; |
| Android | 0xFFECFCCB |
| Swift | UIColor(red: 0.925, green: 0.988, blue: 0.796, alpha: 1) |
Accessibility and contrast
| White text on #ECFCCB | 1.09:1 — AA fail · AA large fail · AAA fail |
| Black text on #ECFCCB | 19.35:1 — AA pass · AA large pass · AAA pass |
| Recommended text color | black |
WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).
Tints and shades of #ECFCCB
Each swatch keeps the hue and saturation of #ECFCCB and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #ECFCCB
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #ECFCCB in code
/* CSS */
.element { color: #ECFCCB; background-color: #ECFCCB; }
.element { color: rgb(236 252 203); }
.element { color: hsl(80 89% 89%); }
/* Tailwind */
<div class="bg-lime-100 text-black">
/* SCSS variable */
$brand: #ECFCCB;
Frequently asked questions
What color is #ECFCCB?
#ECFCCB is a very light, vivid yellow-green. Its hue sits at 80° on the color wheel, with 89% saturation and 89% lightness.
What is #ECFCCB in RGB?
#ECFCCB converts to rgb(236, 252, 203) — 236 red, 252 green and 203 blue.
What is #ECFCCB in CMYK?
Approximately cmyk(6%, 0%, 19%, 1%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.
Should text on #ECFCCB be white or black?
Black gives the better contrast ratio (19.35:1 versus 1.09:1).
What is the complementary color of #ECFCCB?
#DBCAFC — the hue directly opposite #ECFCCB on the color wheel.