Gradient Page

#AF9F1C

#AF9F1C is the HEX color code for
Lucky
#AF9F1C

Lucky

Contrast
Light
Luminance
58%
Color Conversions
Formats for Lucky (#AF9F1C) in various color spaces.
#AF9F1C
175, 159, 28
53°, 72%, 40%
0%, 9%, 84%, 31%
0.695, 0.139, 101.7
--color-lucky: #AF9F1C;

Shades & Tints

#fbf9e9
#f4eebd
#ede291
#e6d765
#dfcc3a
#c5b220
#9a8b19
#6e6312
#423b0b
#161404
DarkestBaseLightest

Color Harmonies

Complementary

#AF9F1C
#1d2eaf

Analogous

#af551d
#AF9F1C
#77af1d

Triadic

#AF9F1C
#1daf9e
#9e1daf

Split Complementary

#AF9F1C
#1d77af
#551daf

UI Component Examples

See how #AF9F1C 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 {
  /* Lucky Base */
  --color-primary: #AF9F1C;
  --color-primary-rgb: 175 159 28;
  --color-primary-hsl: 53 72% 40%;
  
  /* Foreground text color based on contrast */
  --color-primary-foreground: #000000;

  /* Shades */
  --color-primary-50:  #fbf9e9;
  --color-primary-100: #f4eebd;
  --color-primary-200: #ede291;
  --color-primary-300: #e6d765;
  --color-primary-400: #dfcc3a;
  --color-primary-500: #c5b220;
  --color-primary-600: #9a8b19;
  --color-primary-700: #6e6312;
  --color-primary-800: #423b0b;
  --color-primary-900: #161404;
}

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
#AF9F1C Hex Color | Lucky sl | UI Color Scheme Generator