Skip to content
Kolorvia
#ffca1f

Color #ffca1f

A vivid, highly saturated medium yellow.

Conversions

HEX
#ffca1f
RGB
rgb(255, 202, 31)
HSL
hsl(45.8, 100%, 56.1%)
HSV / HSB
hsv(45.8, 87.8%, 100%)
CMYK
cmyk(0%, 20.8%, 87.8%, 0%)
LAB
lab(83.76, 5.06, 80.94)
LCH
lch(83.76, 81.1, 86.42)
OKLCH
oklch(86.2%, 0.1708, 88.73)
HWB
hwb(45.8, 12.2%, 0%)

Harmony colors

Complementary

#1f54ff

Analogous

#ff5a1f
#ffca1f
#c4ff1f

Triadic

#ffca1f
#1fffca
#ca1fff

Split-complementary

#ffca1f
#1fc4ff
#5a1fff

Tetradic

#ffca1f
#54ff1f
#1f54ff
#ca1fff

Square

#ffca1f
#1fff5a
#1f54ff
#ff1fc4

Shades

Color #ffca1f mixed toward black.

#eeb600
#bf9200
#8f6d00
#5f4900
#302400

Tints

Color #ffca1f mixed toward white.

#ffd344
#ffdc6a
#ffe58f
#ffedb4
#fff6da

Tones

Color #ffca1f mixed toward gray.

#ecc032
#dab644
#c7ad57
#b4a36a
#a2997c

Accessibility

Aa White text on this color
1.53:1
Aa Black text on this color
13.72:1

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

Under color vision deficiencies

Protanopia

#eaea6d · ΔE 14.8

Deuteranopia

#edf178 · ΔE 16.4

Tritanopia

#fd8c92 · ΔE 43.5

Achromatopsia

#d1d1d1 · ΔE 28.7

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

Code

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

Related colors

Cornsilk #fff8dc
Goldenrod #daa520
Dark Goldenrod #b8860b
Gold #ffd700
Floral White #fffaf0
Old Lace #fdf5e6

Frequently asked questions

#ffca1f (#ffca1f) is rgb(255, 202, 31) in RGB.

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