#F5F5DC color (beige)

#F5F5DC is rgb(245, 245, 220) in RGB and hsl(60, 56%, 91%) in HSL. It is exactly the CSS color beige. Use black text on it (contrast 18.98:1).

#F5F5DCbeige
HEX#F5F5DC
RGBrgb(245, 245, 220)
RGB percentrgb(96.1%, 96.1%, 86.3%)
HSLhsl(60, 56%, 91%)
HSV / HSBhsv(60, 10%, 96%)
CMYKcmyk(0%, 0%, 10%, 4%)
CIELAB (D65)lab(95.9 -4.2 12)

Edit in the color converter → · Check contrast → · Shades →

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.

Color conversions

HEX#F5F5DC
RGBrgb(245, 245, 220)
RGB percentrgb(96.1%, 96.1%, 86.3%)
HSLhsl(60, 56%, 91%)
HSV / HSBhsv(60, 10%, 96%)
CMYKcmyk(0%, 0%, 10%, 4%)
CIELAB (D65)lab(95.9 -4.2 12)
Decimal16119260
Binary11110101 11110101 11011100

HEX F5 F5 DC → 245, 245, 220 (each pair is a base-16 number: F×16 + 5 = 245)

Color harmonies

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 #F5F5DCRatioAA normalAA largeAAA normalAAA large
White text1.11:1FailFailFailFail
Black text18.98:1PassPassPassPass
White text on #F5F5DC
Black text on #F5F5DC
#F5F5DC text on white
#F5F5DC text on black

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

NameHEXΔE 2000
beige#f5f5dc0
lightyellow#ffffe02.7
cornsilk#fff8dc3.1
ivory#fffff04.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; }

Frequently asked questions

What color is #F5F5DC?
A very pale saturated yellow in the yellow family. Closest CSS name: beige.
What is #F5F5DC in RGB?
rgb(245, 245, 220): red 245, green 245, blue 220.
What is the complementary color of #F5F5DC?
#DCDCF5, found by rotating the hue 180°.