Skip to content
Kolorvia
#f0d22d

Color #f0d22d

A vivid, highly saturated medium yellow.

Conversions

HEX
#f0d22d
RGB
rgb(240, 210, 45)
HSL
hsl(50.8, 86.7%, 55.9%)
HSV / HSB
hsv(50.8, 81.3%, 94.1%)
CMYK
cmyk(0%, 12.5%, 81.3%, 5.9%)
LAB
lab(84.39, -5.08, 77.56)
LCH
lch(84.39, 77.73, 93.75)
OKLCH
oklch(86.4%, 0.1684, 97.92)
HWB
hwb(50.8, 17.6%, 5.9%)

Harmony colors

Complementary

#2d4bf0

Analogous

#f0712d
#f0d22d
#acf02d

Triadic

#f0d22d
#2df0d2
#d22df0

Split-complementary

#f0d22d
#2dacf0
#712df0

Tetradic

#f0d22d
#4bf02d
#2d4bf0
#d22df0

Square

#f0d22d
#2df071
#2d4bf0
#f02dac

Shades

Color #f0d22d mixed toward black.

#debe10
#b1980d
#857209
#594c06
#2c2603

Tints

Color #f0d22d mixed toward white.

#f3da50
#f5e173
#f8e996
#faf0b9
#fdf8dc

Tones

Color #f0d22d mixed toward gray.

#e0c73d
#d0bc4e
#bfb05e
#afa56e
#9f9a7e

Accessibility

Aa White text on this color
1.5:1
Aa Black text on this color
13.96:1

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

Under color vision deficiencies

Protanopia

#e4e374 · ΔE 9.7

Deuteranopia

#e5e87f · ΔE 11.4

Tritanopia

#ef9399 · ΔE 45.3

Achromatopsia

#d3d3d3 · ΔE 28.3

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

Code

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

Related colors

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

Frequently asked questions

#f0d22d (#f0d22d) is rgb(240, 210, 45) in RGB.

No, #f0d22d 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 #f0d22d, 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.