Skip to content

Golden Yellow (#FFDF00)

The hex code for Golden Yellow is #FFDF00. It is rgb(255, 223, 0) in RGB, hsl(52, 100%, 50%) in HSL, and about cmyk(0%, 13%, 100%, 0%) in CMYK — a mid-tone yellow. Black text is the more readable choice on this background.

#FFDF00
HEX#FFDF00
RGBrgb(255, 223, 0)
HSLhsl(52, 100%, 50%)
HSVhsv(52, 100%, 100%)
CMYKcmyk(0%, 13%, 100%, 0%)
OKLCHoklch(90.3% 0.187 98.7)
LABlab(89.46% -0.92 87.87)
LCHlch(89.46% 87.88 90.60)

Colors Closest to Golden Yellow

Golden Yellow is a registered color name, also listed as Philippine Golden Yellow. These are the named colors nearest to it, measured as CIE76 distance in CIELAB — a perceptual scale, so the ordering matches what the eye sees rather than how close the raw RGB numbers happen to sit.

Browse the full index of named colors A-Z or every yellow in the library.

#FFDF00 Channel Values

How Golden Yellow breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 255 · G 223 · B 08-bit channels as sent to the display
HSLH 52° · S 100% · L 50%Easiest model for building lighter and darker variants
HSVH 52° · S 100% · V 100%Matches the picker in most design tools
CMYKC 0% · M 13% · Y 100% · K 0%Approximate ink mix; confirm with an ICC profile before printing
Luminance1.33:1 vs white · 15.81:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a Golden Yellow background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text1.33:1AA normal AA large AAA normal
TextBlack text15.81:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #FFDF00 in the contrast checker.

Colors That Go With Golden Yellow

Pairings derived from color-wheel relationships. The complementary color sits opposite Golden Yellow; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of Golden Yellow

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #FFDF00.

How Golden Yellow Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#FFDF00
Protanopia#E5E500
Protanomaly#F0E300
Deuteranopia#EAEA00
Deuteranomaly#F3E600
Tritanopia#FFD2D2
Tritanomaly#FFD7A7
Achromatopsia#DFDFDF

Test a full palette in the color blindness simulator.

Using #FFDF00 in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--golden-yellow: #FFDF00;
CSS backgroundbackground-color: #FFDF00;
Tailwind configcolors: { 'golden-yellow': '#FFDF00' }
SwiftUIColor(red: 1.000, green: 0.875, blue: 0.000)
Android XML<color name="golden_yellow">#FFDF00</color>
SVG fillfill="#FFDF00"

More Yellow Colors

Golden Yellow sits in the yellowfamily. These are its neighbours across that family's full range, each with its own breakdown.

#FFDF00 Frequently Asked Questions

What is the hex code for Golden Yellow?

The hex code for Golden Yellow is #FFDF00. That is rgb(255, 223, 0) in RGB, hsl(52, 100%, 50%) in HSL, and approximately cmyk(0%, 13%, 100%, 0%) in CMYK.

What is the RGB value of #FFDF00?

#FFDF00 is rgb(255, 223, 0) — red 255, green 223, and blue 0 on the 0-255 scale.

What is the CMYK value of #FFDF00?

#FFDF00 converts to approximately cmyk(0%, 13%, 100%, 0%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #FFDF00 be black or white?

Black text is the more readable choice. #FFDF00 scores 1.33:1 against white and 15.81:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #FFDF00 as a CSS color keyword?

No. #FFDF00 is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is gold (#FFD700) at a CIE76 distance of 4.51, which is very hard to tell apart.

Open Golden Yellow in a Tool

Keep exploring: every yellow in the color library, the guide to shades of yellow, or the full color library.