Skip to content
Kolorvia
#f5f2dc

Color #f5f2dc

A moderately saturated very light yellow.

Conversions

HEX
#f5f2dc
RGB
rgb(245, 242, 220)
HSL
hsl(52.8, 55.6%, 91.2%)
HSV / HSB
hsv(52.8, 10.2%, 96.1%)
CMYK
cmyk(0%, 1.2%, 10.2%, 3.9%)
LAB
lab(95.2, -2.68, 10.98)
LCH
lch(95.2, 11.3, 103.72)
OKLCH
oklch(95.8%, 0.0291, 100.5)
HWB
hwb(52.8, 86.3%, 3.9%)

Harmony colors

Complementary

#dcdff5

Analogous

#f5e6dc
#f5f2dc
#ecf5dc

Triadic

#f5f2dc
#dcf5f2
#f2dcf5

Split-complementary

#f5f2dc
#dcecf5
#e6dcf5

Tetradic

#f5f2dc
#dff5dc
#dcdff5
#f2dcf5

Square

#f5f2dc
#dcf5e6
#dcdff5
#f5dcec

Shades

Color #f5f2dc mixed toward black.

#e4dca0
#d3c563
#b5a534
#796e22
#3c3711

Tints

Color #f5f2dc mixed toward white.

#f7f4e2
#f8f6e8
#faf9ee
#fcfbf3
#fdfdf9

Tones

Color #f5f2dc mixed toward gray.

#f3f0de
#f1efe0
#efede2
#edece4
#ebeae6

Accessibility

Aa White text on this color
1.13:1
Aa Black text on this color
18.62:1

Black text reads better on this background (18.62:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#f4f4e2 · ΔE 1.8

Deuteranopia

#f4f4e3 · ΔE 2.1

Tritanopia

#f5e6e7 · ΔE 13.9

Achromatopsia

#f1f1f1 · ΔE 9.3

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #f5f2dc;
Tailwind (arbitrary value)
bg-[#f5f2dc]

Related colors

Khaki #f0e68c
Lemon Chiffon #fffacd
Pale Goldenrod #eee8aa
Gold #ffd700
Dark Khaki #bdb76b
Cornsilk #fff8dc

Frequently asked questions

#f5f2dc (#f5f2dc) is rgb(245, 242, 220) in RGB.

No, #f5f2dc is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #f5f2dc, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.