#ffebc3 ≈ Moccasin
#ffebc3 is a color from the yellow family, with very high lightness and muted saturation. In the RGB model it is made of 100% red, 92.16% green and 76.47% blue; printed in CMYK it uses 0% cyan, 7.84% magenta, 23.53% yellow and 0% black. Its hue angle is 40°, with 100% saturation and 88.24% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and soft pastel palettes. Black text on this color reaches a contrast ratio of 17.92:1 (WCAG AAA). The closest named color is Moccasin (#ffe4b5), ΔE 2.86.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffffcc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.8462 |
Shades
#ffebc3 mixed progressively with black.
Tints
#ffebc3 mixed progressively with white.
Tones
#ffebc3 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ffebc3 {
color: #ffebc3;
}
.bg-ffebc3 {
background-color: #ffebc3;
color: #000000;
}
.border-ffebc3 {
border: 2px solid #ffebc3;
}
:root {
--color-primary: #ffebc3;
--color-primary-rgb: 255 235 195;
--color-primary-hsl: 40 100% 88%;
}
.gradient-ffebc3 {
background: linear-gradient(135deg, #ffebc3, #f5ffc3);
}
.shadow-ffebc3 {
box-shadow: 0 8px 24px rgb(255 235 195 / 0.35);
}
Moccasin
#ffebc3 rgb(255, 235, 195) hsl(40, 100%, 88%) Moccasin
#c3d7ff rgb(195, 215, 255) hsl(220, 100%, 88%) Light Steel Blue
#c3ffeb rgb(195, 255, 235) hsl(160, 100%, 88%) Magic Mint
#ebc3ff rgb(235, 195, 255) hsl(280, 100%, 88%) Mauve