#F2ECAB color
The hex color #F2ECAB is a light, moderate yellow.
In the RGB color model it is made of 94.9% red, 92.5% green and 67.1% blue (242, 236, 171).
Its hue angle is 55°, with 73% saturation and 81% lightness. For print, the CMYK equivalent is 0% cyan, 2% magenta, 29% yellow and 5% black.
The closest named color is Pale Goldenrod (#EEE8AA), a difference of 1 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 17.36:1).
#F2ECAB color codes
| HEX | #F2ECAB | |
|---|---|---|
| RGB | rgb(242, 236, 171) | |
| RGB percent | rgb(94.9%, 92.5%, 67.1%) | |
| HSL | hsl(55, 73%, 81%) | |
| HSV / HSB | hsv(55, 29%, 95%) | |
| CMYK | cmyk(0%, 2%, 29%, 5%) | |
| CIE LAB | lab(92.49, -7.73, 32.33) | |
| CIE LCH | lch(92.49, 33.24, 103.45) | |
| CIE XYZ | xyz(73.965, 81.81, 50.415) | |
| Decimal | 15920299 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #F2ECAB, 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 #F2ECAB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.36:1 | Pass | Pass | Pass |
| Sample text | 1.21:1 | Fail | Fail | Fail |
| #F2ECAB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.21:1 | Fail | Fail | Fail |
| Sample text | 17.36: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 #F2ECAB looks to people with the most common types of color vision deficiency.
#f8e7a7Protanopia
no red cones#faebadDeuteranopia
no green cones#fce3dbTritanopia
no blue cones#e9e9e9Achromatopsia
no color vision
CSS examples
.background { background-color: #f2ecab; }
.text { color: #f2ecab; }
.border { border: 2px solid #f2ecab; }
.transparent { background-color: rgb(242 236 171 / 50%); }
.gradient { background: linear-gradient(to right, #f2ecab, #d5f2ab); }
Similar colors
#eee8aaPale Goldenrod#f9f2b3Casino Lights#f5edb2Sunbeam#f6f1a9Sailor Moonlight#eeeeaaPollen#f1efa6Pale Canary#f6eba1Lazy Daisy#f6edb6Veiled Treasure
Questions
- What color is #F2ECAB?
- #F2ECAB is a light, moderate yellow, closest to the named color Pale Goldenrod. It belongs to the beige family of colors.
- What is the RGB value of #F2ECAB?
- The RGB value is 242, 236, 171: 242 red, 236 green and 171 blue on a 0 to 255 scale.
- What is the complementary color of #F2ECAB?
- The complementary color is #ABB1F2, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #F2ECAB?
- Black text. Black text has a contrast ratio of 17.36:1 and white text 1.21:1. WCAG asks for at least 4.5:1 for normal text.