Sugar Cookie color: hex code #F2E2A4
Sugar Cookie has the hex code #F2E2A4. It is a light, moderate yellow.
In the RGB color model it is made of 94.9% red, 88.6% green and 64.3% blue (242, 226, 164).
Its hue angle is 48°, with 75% saturation and 80% lightness. For print, the CMYK equivalent is 0% cyan, 7% magenta, 32% yellow and 5% black.
Black text is the more readable choice on this background (contrast 16.19:1).
Sugar Cookie (#F2E2A4) color codes
| HEX | #F2E2A4 | |
|---|---|---|
| RGB | rgb(242, 226, 164) | |
| RGB percent | rgb(94.9%, 88.6%, 64.3%) | |
| HSL | hsl(48, 75%, 80%) | |
| HSV / HSB | hsv(48, 32%, 95%) | |
| CMYK | cmyk(0%, 7%, 32%, 5%) | |
| CIE LAB | lab(89.84, -3.55, 32.34) | |
| CIE LCH | lch(89.84, 32.54, 96.27) | |
| CIE XYZ | xyz(70.516, 75.952, 46.06) | |
| Decimal | 15917732 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Sugar Cookie, 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 #F2E2A4 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.19:1 | Pass | Pass | Pass |
| Sample text | 1.3:1 | Fail | Fail | Fail |
| #F2E2A4 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.3:1 | Fail | Fail | Fail |
| Sample text | 16.19: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 #F2E2A4 looks to people with the most common types of color vision deficiency.
#efdfa0Protanopia
no red cones#f3e4a6Deuteranopia
no green cones#fed9d2Tritanopia
no blue cones#e2e2e2Achromatopsia
no color vision
CSS examples
.background { background-color: #f2e2a4; }
.text { color: #f2e2a4; }
.border { border: 2px solid #f2e2a4; }
.transparent { background-color: rgb(242 226 164 / 50%); }
.gradient { background: linear-gradient(to right, #f2e2a4, #dbf2a4); }
Similar colors
#efe1a7French Vanilla#f5e5abButter Honey#f3e5abVanilla#fbe8a8Bleached Sunflower#f2dea4North Star#f6e19cButtery Croissant#e8d99cSunny Glory#f1dca1Hazy Moon
See #F2E2A4 on its hex code page
Questions
- What color is #F2E2A4?
- #F2E2A4 is a light, moderate yellow known as Sugar Cookie. It belongs to the beige family of colors.
- What is the RGB value of Sugar Cookie?
- The RGB value is 242, 226, 164: 242 red, 226 green and 164 blue on a 0 to 255 scale.
- What is the complementary color of Sugar Cookie?
- The complementary color is #A4B4F2, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #F2E2A4?
- Black text. Black text has a contrast ratio of 16.19:1 and white text 1.3:1. WCAG asks for at least 4.5:1 for normal text.