About #F5F5DC
#F5F5DC is a very pale, saturated yellow with a hue angle of 60°. It belongs to the yellow family and reads as a warm color. In the RGB model red is the strongest channel at 245 (96%) and blue the weakest at 220 (86%). Colors like this are typically used for page backgrounds, cards and subtle section fills.
- It is the CSS named color beige, so you can write
color: beigeinstead of the hex code.
Color conversions
| HEX | #F5F5DC |
|---|---|
| RGB | rgb(245, 245, 220) |
| RGB percent | rgb(96.1%, 96.1%, 86.3%) |
| HSL | hsl(60, 56%, 91%) |
| HSV / HSB | hsv(60, 10%, 96%) |
| CMYK | cmyk(0%, 0%, 10%, 4%) |
| CIELAB (D65) | lab(95.9 -4.2 12) |
| Decimal | 16119260 |
| Binary | 11110101 11110101 11011100 |
HEX F5 F5 DC → 245, 245, 220 (each pair is a base-16 number: F×16 + 5 = 245)
Color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.
Tints and shades of #F5F5DC
Tints (mixed with white)
Shades (mixed with black)
Tones (mixed with gray)
Contrast and accessibility
| Text on #F5F5DC | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 1.11:1 | Fail | Fail | Fail | Fail |
| Black text | 18.98:1 | Pass | Pass | Pass | Pass |
Relative luminance is 0.8988 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.
Color blindness simulation
Protanopia#faf3db
Deuteranopia#faf4dd
Tritanopia#f9f2ee
Achromatopsia#f3f3f3
People with red–green color blindness see this color almost unchanged (ΔE 2.9 for deuteranopia), so it is a safe choice where color carries meaning. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.
Similar named colors
| Name | HEX | ΔE 2000 |
|---|---|---|
| beige | #f5f5dc | 0 |
| lightyellow | #ffffe0 | 2.7 |
| cornsilk | #fff8dc | 3.1 |
| ivory | #fffff0 | 4.3 |
CSS
.element {
color: #f5f5dc;
background-color: rgb(245, 245, 220);
border: 1px solid hsl(60, 56%, 91%);
box-shadow: 0 2px 8px rgb(245 245 220 / 50%);
}
:root { --brand: #f5f5dc; }