Gradient Page

#FEF9E3

#FEF9E3 is the HEX color code for
Off Yellow
Contrast
Light
Luminance
97%
Color Conversions
Formats for Off Yellow (#FEF9E3) in various color spaces.
HEX
RGB
HSL
CMYK
OKLCH
CSS Variable

Shades & Tints

LightestBaseDarkest

Color Harmonies

Complementary

Analogous

Triadic

Split Complementary

UI Component Examples

See how #FEF9E3 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 {
  /* Off Yellow Base */
  --color-primary: #FEF9E3;
  --color-primary-rgb: 254 249 227;
  --color-primary-hsl: 49 93% 94%;
  
  /* Foreground text color based on contrast */
  --color-primary-foreground: #000000;

  /* Shades */
  --color-primary-50:  #fefae6;
  --color-primary-100: #fcefb5;
  --color-primary-200: #fbe584;
  --color-primary-300: #f9da53;
  --color-primary-400: #f7d022;
  --color-primary-500: #ddb608;
  --color-primary-600: #ac8e06;
  --color-primary-700: #7b6504;
  --color-primary-800: #4a3d03;
  --color-primary-900: #191401;
}

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