Skip to content
Kolorvia
#f0e28c

Color #f0e28c

A vivid, highly saturated light yellow.

Conversions

HEX
#f0e28c
RGB
rgb(240, 226, 140)
HSL
hsl(51.6, 76.9%, 74.5%)
HSV / HSB
hsv(51.6, 41.7%, 94.1%)
CMYK
cmyk(0%, 5.8%, 41.7%, 5.9%)
LAB
lab(89.31, -7, 43.69)
LCH
lch(89.31, 44.25, 99.1)
OKLCH
oklch(90.5%, 0.1079, 100.2)
HWB
hwb(51.6, 54.9%, 5.9%)

Harmony colors

Complementary

#8c9af0

Analogous

#f0b08c
#f0e28c
#ccf08c

Triadic

#f0e28c
#8cf0e2
#e28cf0

Split-complementary

#f0e28c
#8cccf0
#b08cf0

Tetradic

#f0e28c
#9af08c
#8c9af0
#e28cf0

Square

#f0e28c
#8cf0b0
#8c9af0
#f08ccc

Shades

Color #f0e28c mixed toward black.

#e9d454
#e0c51d
#a89416
#70620f
#383107

Tints

Color #f0e28c mixed toward white.

#f2e79f
#f5ecb2
#f7f0c5
#faf5d9
#fcfaec

Tones

Color #f0e28c mixed toward gray.

#e8dc94
#dfd69d
#d7d0a5
#cfcaad
#c6c4b6

Accessibility

Aa White text on this color
1.32:1
Aa Black text on this color
15.96:1

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

Under color vision deficiencies

Protanopia

#eaeaa6 · ΔE 5.3

Deuteranopia

#ebecac · ΔE 6.2

Tritanopia

#efb8bb · ΔE 33.4

Achromatopsia

#e0e0e0 · ΔE 22.2

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

Code

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

Related colors

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

Frequently asked questions

#f0e28c (#f0e28c) is rgb(240, 226, 140) in RGB.

No, #f0e28c is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #f0e28c, 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.