Sunflower color: hex code #FFC512
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 | |
|---|---|---|
| RGB | rgb(255, 197, 18) | |
| RGB percent | rgb(100%, 77.3%, 7.1%) | |
| HSL | hsl(45, 100%, 54%) | |
| HSV / HSB | hsv(45, 93%, 100%) | |
| CMYK | cmyk(0%, 23%, 93%, 0%) | |
| CIE LAB | lab(82.51, 7.44, 82.2) | |
| CIE LCH | lch(82.51, 82.53, 84.83) | |
| CIE XYZ | xyz(61.32, 61.241, 9.163) | |
| Decimal | 16762130 | |
| Short hex | None (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 #FFC512 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.25:1 | Pass | Pass | Pass |
| Sample text | 1.59:1 | Fail | Fail | Fail |
| #FFC512 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.59:1 | Fail | Fail | Fail |
| Sample text | 13.25:1 | Pass | Pass | Pass |
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.
#dfc400Protanopia
no red cones#edd424Deuteranopia
no green cones#ffb1a8Tritanopia
no blue cones#cdcdcdAchromatopsia
no color vision
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); }
Similar colors
#ffc40cMikado Yellow#ffc400Citrus Splash#fec615Orangina#ffc72cPineapple Gold#ffc82aBumblebee#fcc006Marigold#ffbf00Amber#f5c20bSunshine Mellow
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.