Golden Yellow (#FFDF00)
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.33:1 — vs black: 15.81:1
Color values
-
HEX
#FFDF00 -
RGB
rgb(255, 223, 0) -
HSL
hsl(52, 100%, 50%) -
CMYK
cmyk( 0, 13, 100, 0 ) -
Websafe
#FFCC00
Tags
Style
Use case
Tip: tags are heuristic suggestions (helpful for browsing and inspiration).
Color Harmonies
Colors that pair well with #FFDF00 based on color theory relationships.
The color directly opposite on the color wheel — creates maximum contrast and vibrance.
#FFDF00
Base
#0020FF
Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.
#FFDF00
Base
#FF6000
#9FFF00
Three colors equally spaced 120° apart — bold, balanced, and visually rich.
Two colors flanking the complement — high contrast with less tension than full complementary.
#FFDF00
Base
#009FFF
#6000FF
Four colors at 90° intervals — rich variety, best when one color dominates.
#FFDF00
Base
#00FF60
#0020FF
#FF009F
Shades and tints of the same hue — cohesive, elegant, and easy to work with.
#FFDF00
Base
#665900
#B39C00
#D6BB00
#FFE429
#FFE94D
#FFF299
Darker shades and lighter tints of Golden Yellow, generated by adjusting lightness while keeping the same hue and saturation.
Shades (darker)
#1A1600
#473E00
#756700
#A38F00
#D1B700
#FFDF00
Base
#FFE52E
#FFEB5C
#FFF08A
#FFF6B8
#FFFCE6
Ready-to-use code snippets for #FFDF00. Click the copy button to copy any snippet to your clipboard.
/* Background */
.element {
background-color: #FFDF00;
}
/* Text */
.element {
color: #FFDF00;
}
/* Border */
.element {
border: 1px solid #FFDF00;
}
/* Linear gradient to complementary */
.element {
background: linear-gradient(
to right,
#FFDF00,
#0020FF
);
}
/* Radial gradient */
.element {
background: radial-gradient(
circle,
#FFDF00,
#0020FF
);
}
// SCSS variable
$golden-yellow: #FFDF00;
// With RGB channels (useful for rgba() usage)
$golden-yellow-r: 255;
$golden-yellow-g: 223;
$golden-yellow-b: 0;
// Usage
.element {
background-color: $golden-yellow;
color: rgba($golden-yellow-r, $golden-yellow-g, $golden-yellow-b, 0.8);
}
How Golden Yellow appears to people with different types of color vision deficiency.
#FFDF00
How the color appears with full color vision.
#E9E900
Deuteranopia affects ~8% of males. Green cones are absent, making it difficult to distinguish red from green. The most common form of color blindness.
#E3E304
Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
#FFD2D2
Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
#DFDFDF
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.