Gradient Page

#FFFF00

#FFFF00 is the HEX color code for
Yellow
#FFFF00

Yellow

Contrast
Light
Luminance
89%
Color Conversions
Formats for Yellow (#FFFF00) in various color spaces.
#FFFF00
255, 255, 0
60°, 100%, 50%
0%, 0%, 100%, 0%
0.968, 0.211, 109.8
--color-yellow: #FFFF00;

Shades & Tints

#ffffe5
#ffffb3
#ffff80
#ffff4d
#ffff1a
#e6e600
#b3b300
#808000
#4d4d00
#1a1a00
DarkestBaseLightest

Color Harmonies

Complementary

#FFFF00
#0000ff

Analogous

#ff8000
#FFFF00
#80ff00

Triadic

#FFFF00
#00ffff
#ff00ff

Split Complementary

#FFFF00
#0080ff
#8000ff

UI Component Examples

See how #FFFF00 looks when applied to real interface components.

Interactive Elements
Surface & Accent
Pro Tip!

Use lighter tints for backgrounds to maintain readability while keeping brand identity.

Status Indicator
Active
# CSS Variables
Copy-paste these variables into your global CSS to use this palette instantly.
:root {
  /* Yellow Base */
  --color-primary: #FFFF00;
  --color-primary-rgb: 255 255 0;
  --color-primary-hsl: 60 100% 50%;
  
  /* Foreground text color based on contrast */
  --color-primary-foreground: #000000;

  /* Shades */
  --color-primary-50:  #ffffe5;
  --color-primary-100: #ffffb3;
  --color-primary-200: #ffff80;
  --color-primary-300: #ffff4d;
  --color-primary-400: #ffff1a;
  --color-primary-500: #e6e600;
  --color-primary-600: #b3b300;
  --color-primary-700: #808000;
  --color-primary-800: #4d4d00;
  --color-primary-900: #1a1a00;
}

Want more?

We hope you enjoyed this color. Keep reading for more amazing colorful content for developers, designers and creators!
View our entire collection of UI gradientsView all our color names
#FFFF00 Hex Color | Yellow sl | UI Color Scheme Generator