AfoliOpen Afoli →

Sunflower color #FFC512

Sunflower is a color name from the xkcd color survey for the hex code #FFC512 — RGB 255, 197, 18, HSL 45°, 100%, 54%.

Open in Afoli Colour tools →

#FFC512Sunflower

Color codes

HEX
#FFC512
RGB
rgb(255, 197, 18)
HSL
hsl(45, 100%, 54%)
CMYK
0%, 23%, 93%, 0%
OKLCH
oklch(85.2% 0.172 86.7)

Tints and shades

#FFF4DB#FFD46E#EEB700#CE9E00#AF8600#926F00#755800#5A4300#402E00#271B00#110A00

Color harmonies

Complementary
#FFC512#B9CEFF
Analogous
#FFBE90#FFC512#C8DC44
Triadic
#FFC512#00E8FE#FFACFF
Split complementary
#FFC512#98D8FF#D3C4FF
Tetradic
#FFC512#00EFCC#B9CEFF#FFB6CF

Contrast with text

PairWCAG 2.x ratioAPCA LcResult
Sunflower text on white1.59 : 126Fails for text
Sunflower text on black13.25 : 1-77AAA — any text
White text on Sunflower1.59 : 1-30Fails for text
Black text on Sunflower13.25 : 178AAA — any text

WCAG 2.x needs 4.5 : 1 for body text and 3 : 1 for large text; APCA asks for |Lc| 75 for body text and 60 for large text.

Palettes with this color

Frequently asked questions

What is the hex code of Sunflower?

Sunflower has the hex code #FFC512, which is RGB 255, 197, 18 and HSL 45°, 100%, 54%.

Which text color reads best on Sunflower?

Black text: contrast 13.25 : 1 (white text: 1.59 : 1).

Which colors go well with Sunflower?

Its complementary color is #B9CEFF; analogous colors are #FFBE90 and #C8DC44; a triadic set adds #00E8FE and #FFACFF.

Similar colors

Sources and licences

Updated November 21, 2026