Daffodil (#FFFF31)
HEX, RGB, HSL, CMYK values + mood/style/use-case color tags. Use this page to keep your colors consistent across web and print.
Preview
Contrast vs white: 1.07:1 — vs black: 19.60:1
Color values
-
HEX
#FFFF31 -
RGB
rgb(255, 255, 49) -
HSL
hsl(60, 100%, 59%) -
CMYK
cmyk( 0, 0, 81, 0 ) -
Websafe
#FFFF33
Tags
Style
Use case
Tip: tags are heuristic suggestions (helpful for browsing and inspiration).
Color Harmonies
Colors that pair well with #FFFF31 based on color theory relationships.
The color directly opposite on the color wheel — creates maximum contrast and vibrance.
#FFFF31
Base
#3131FF
Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.
#FFFF31
Base
#FF9831
#98FF31
Three colors equally spaced 120° apart — bold, balanced, and visually rich.
#FFFF31
Base
#31FFFF
#FF31FF
Two colors flanking the complement — high contrast with less tension than full complementary.
#FFFF31
Base
#3198FF
#9831FF
Four colors at 90° intervals — rich variety, best when one color dominates.
#FFFF31
Base
#31FF98
#3131FF
#FF3198
Shades and tints of the same hue — cohesive, elegant, and easy to work with.
#FFFF31
Base
#979700
#E3E300
#FFFF08
#FFFF5A
#FFFF7D
#FFFFCA
Darker shades and lighter tints of Daffodil, generated by adjusting lightness while keeping the same hue and saturation.
Shades (darker)
#1A1A00
#515100
#898900
#C1C100
#F8F800
#FFFF31
Base
#FFFF55
#FFFF79
#FFFF9D
#FFFFC1
#FFFFE6
Ready-to-use code snippets for #FFFF31. Click the copy button to copy any snippet to your clipboard.
/* Background */
.element {
background-color: #FFFF31;
}
/* Text */
.element {
color: #FFFF31;
}
/* Border */
.element {
border: 1px solid #FFFF31;
}
/* Linear gradient to complementary */
.element {
background: linear-gradient(
to right,
#FFFF31,
#3131FF
);
}
/* Radial gradient */
.element {
background: radial-gradient(
circle,
#FFFF31,
#3131FF
);
}
// SCSS variable
$daffodil: #FFFF31;
// With RGB channels (useful for rgba() usage)
$daffodil-r: 255;
$daffodil-g: 255;
$daffodil-b: 49;
// Usage
.element {
background-color: $daffodil;
color: rgba($daffodil-r, $daffodil-g, $daffodil-b, 0.8);
}
How Daffodil appears to people with different types of color vision deficiency.
#FFFF31
How the color appears with full color vision.
#FFFF31
Deuteranopia affects ~8% of males. Green cones are absent, making it difficult to distinguish red from green. The most common form of color blindness.
#FFFF31
Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
#FFF1F1
Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
#F7F7F7
Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
How to use this color
- Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
- Use CMYK when preparing print assets (posters, packaging, brochures).
- Check contrast before using it for text or important UI elements.