Skip to content
Kolorvia
#ffc104

Color #ffc104

A vivid, highly saturated medium yellow.

Conversions

HEX
#ffc104
RGB
rgb(255, 193, 4)
HSL
hsl(45.2, 100%, 50.8%)
HSV / HSB
hsv(45.2, 98.4%, 100%)
CMYK
cmyk(0%, 24.3%, 98.4%, 0%)
LAB
lab(81.52, 9.38, 82.98)
LCH
lch(81.52, 83.51, 83.55)
OKLCH
oklch(84.4%, 0.1725, 84.98)
HWB
hwb(45.2, 1.6%, 0%)

Harmony colors

Complementary

#0442ff

Analogous

#ff4404
#ffc104
#bfff04

Triadic

#ffc104
#04ffc1
#c104ff

Split-complementary

#ffc104
#04bfff
#4404ff

Tetradic

#ffc104
#42ff04
#0442ff
#c104ff

Square

#ffc104
#04ff44
#0442ff
#ff04bf

Shades

Color #ffc104 mixed toward black.

#d8a300
#ad8200
#826200
#564100
#2b2100

Tints

Color #ffc104 mixed toward white.

#ffcb2e
#ffd658
#ffe082
#ffeaab
#fff5d5

Tones

Color #ffc104 mixed toward gray.

#eab719
#d5ac2e
#c0a143
#ab9758
#968c6d

Accessibility

Aa White text on this color
1.63:1
Aa Black text on this color
12.88:1

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

Under color vision deficiencies

Protanopia

#e7e665 · ΔE 16.9

Deuteranopia

#eaef70 · ΔE 18.9

Tritanopia

#fc848a · ΔE 42.5

Achromatopsia

#cbcbcb · ΔE 29

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

Code

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

Related colors

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

Frequently asked questions

#ffc104 (#ffc104) is rgb(255, 193, 4) in RGB.

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