Skip to content
Kolorvia
#ffcc2e

Color #ffcc2e

A vivid, highly saturated medium yellow.

Conversions

HEX
#ffcc2e
RGB
rgb(255, 204, 46)
HSL
hsl(45.4, 100%, 59%)
HSV / HSB
hsv(45.4, 82%, 100%)
CMYK
cmyk(0%, 20%, 82%, 0%)
LAB
lab(84.3, 4.38, 77.78)
LCH
lch(84.3, 77.9, 86.78)
OKLCH
oklch(86.6%, 0.1667, 89)
HWB
hwb(45.4, 18%, 0%)

Harmony colors

Complementary

#2e61ff

Analogous

#ff642e
#ffcc2e
#c9ff2e

Triadic

#ffcc2e
#2effcc
#cc2eff

Split-complementary

#ffcc2e
#2ec9ff
#642eff

Tetradic

#ffcc2e
#61ff2e
#2e61ff
#cc2eff

Square

#ffcc2e
#2eff64
#2e61ff
#ff2ec9

Shades

Color #ffcc2e mixed toward black.

#fbbe00
#c99800
#967200
#644c00
#322600

Tints

Color #ffcc2e mixed toward white.

#ffd551
#ffdd74
#ffe696
#ffeeb9
#fff7dc

Tones

Color #ffcc2e mixed toward gray.

#eec33f
#dcba51
#cbb162
#b9a874
#a89f85

Accessibility

Aa White text on this color
1.51:1
Aa Black text on this color
13.93:1

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

Under color vision deficiencies

Protanopia

#ebea72 · ΔE 14.1

Deuteranopia

#eef17c · ΔE 15.6

Tritanopia

#fd9095 · ΔE 42.5

Achromatopsia

#d2d2d2 · ΔE 28.3

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

Code

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

Related colors

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

Frequently asked questions

#ffcc2e (#ffcc2e) is rgb(255, 204, 46) in RGB.

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