Sunflower color: hex code #FFC512

#FFC512 rgb(255, 197, 18)
Shades of yellow

Sunflower has the hex code #FFC512. It is a vivid yellow.

In the RGB color model it is made of 100% red, 77.3% green and 7.1% blue (255, 197, 18).

Its hue angle is 45°, with 100% saturation and 54% lightness. For print, the CMYK equivalent is 0% cyan, 23% magenta, 93% yellow and 0% black.

Black text is the more readable choice on this background (contrast 13.25:1).

Sunflower (#FFC512) color codes

HEX#FFC512
RGBrgb(255, 197, 18)
RGB percentrgb(100%, 77.3%, 7.1%)
HSLhsl(45, 100%, 54%)
HSV / HSBhsv(45, 93%, 100%)
CMYKcmyk(0%, 23%, 93%, 0%)
CIE LABlab(82.51, 7.44, 82.2)
CIE LCHlch(82.51, 82.53, 84.83)
CIE XYZxyz(61.32, 61.241, 9.163)
Decimal16762130
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Sunflower, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #FFC512RatioAAAAAAA large
Sample text13.25:1PassPassPass
Sample text1.59:1FailFailFail
#FFC512 as text onRatioAAAAAAA large
Sample text1.59:1FailFailFail
Sample text13.25:1PassPassPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #FFC512 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #ffc512; }
.text { color: #ffc512; }
.border { border: 2px solid #ffc512; }
.transparent { background-color: rgb(255 197 18 / 50%); }
.gradient { background: linear-gradient(to right, #ffc512, #c3ff12); }
Background
Text color
Border

Similar colors

See #FFC512 on its hex code page

Questions

What color is #FFC512?
#FFC512 is a vivid yellow known as Sunflower. It belongs to the yellow family of colors.
What is the RGB value of Sunflower?
The RGB value is 255, 197, 18: 255 red, 197 green and 18 blue on a 0 to 255 scale.
What is the complementary color of Sunflower?
The complementary color is #124CFF, found by rotating the hue 180° on the color wheel.
Is black or white text better on #FFC512?
Black text. Black text has a contrast ratio of 13.25:1 and white text 1.59:1. WCAG asks for at least 4.5:1 for normal text.