#fef2b2 ≈ Pale Goldenrod
#fef2b2 is a color from the yellow family, with very high lightness and moderate saturation. In the RGB model it is made of 99.61% red, 94.9% green and 69.8% blue; printed in CMYK it uses 0% cyan, 4.72% magenta, 29.92% yellow and 0.39% black. Its hue angle is 50.53°, with 97.44% saturation and 84.71% 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 18.56:1 (WCAG AAA). The closest named color is Pale Goldenrod (#eee8aa), ΔE 2.95.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffff99 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.8779 |
Shades
#fef2b2 mixed progressively with black.
Tints
#fef2b2 mixed progressively with white.
Tones
#fef2b2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fef2b2 {
color: #fef2b2;
}
.bg-fef2b2 {
background-color: #fef2b2;
color: #000000;
}
.border-fef2b2 {
border: 2px solid #fef2b2;
}
:root {
--color-primary: #fef2b2;
--color-primary-rgb: 254 242 178;
--color-primary-hsl: 51 97% 85%;
}
.gradient-fef2b2 {
background: linear-gradient(135deg, #fef2b2, #e4feb2);
}
.shadow-fef2b2 {
box-shadow: 0 8px 24px rgb(254 242 178 / 0.35);
}
Pale Goldenrod
#fef2b2 rgb(254, 242, 178) hsl(51, 97%, 85%) Pale Goldenrod
#b2befe rgb(178, 190, 254) hsl(231, 97%, 85%) Periwinkle
#b2fef2 rgb(178, 254, 242) hsl(171, 97%, 85%) Celeste
#f2b2fe rgb(242, 178, 254) hsl(291, 97%, 85%) Mauve