#FFAF38 Color Information

Hex color code: #FFAF38

The hex color #FFAF38 is a striking orange with RGB values of (255, 175, 56) and HSL of (36°, 100%, 61%). It is popular in mobile app design.

Try:
Color NameSandy Brown
HEX
#FFAF38
RGB
255, 175, 56
HSL
36°, 100%, 61%
CMYK
0%, 31%, 78%, 0%

Shades

CSS Usage
color: #FFAF38;
background-color: #FFAF38;
border-color: #FFAF38;
box-shadow: 0 0 10px #FFAF38;
border: 2px solid #FFAF38;
Tailwind Usage
bg-[#FFAF38]
text-[#FFAF38]
border-[#FFAF38]
shadow-[0_0_10px_FFAF38]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #FFAF38, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #FFAF38; color: #000000; }

Badge

New Feature
.badge { background-color: #FFAF38; color: #000000; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #FFAF38; background-color: #FFAF3815; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #FFAF3820; border-left: 4px solid #FFAF38; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #FFAF38; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #FFAF38 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

255, 175, 56

Red: 255 / Green: 175 / Blue: 56

HSL

36°, 100%, 61%

Hue: 36° / Saturation: 100% / Lightness: 61%

CMYK

0%, 31%, 78%, 0%

Cyan: 0% / Magenta: 31% / Yellow: 78% / Key: 0%

What color is #FFAF38?

#FFAF38 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #FFAF38 to RGB:

rgb(255, 175, 56)HEX to RGB Converter →

HEX to HSL

Convert #FFAF38 to HSL:

hsl(36, 100%, 61%)RGB to HSL Converter →

HEX to CMYK

Convert #FFAF38 to CMYK:

cmyk(0%, 31%, 78%, 0%)Color Converter →

Color Meaning and Usage

#FFAF38 is a vivid orange color with RGB values of 255, 175, 56 and HSL of 36°, 100%, 61%. This highly saturated hue evokes energy and excitement, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #FFAF38 is #3888FF, creating high-contrast pairings. For softer combinations, try analogous colors like #FF4C38.

Use #FFAF38 in CSS: color: #FFAF38 or background-color: #FFAF38. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #FFAF38

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 11.44:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #FFAF38?

#FFAF38 is a vivid orange color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #FFAF38?

#FFAF38 in RGB is (255, 175, 56) - 255 red, 175 green, and 56 blue.

How to use #FFAF38 in CSS?

Use #FFAF38 directly in your CSS properties like color or background-color.

What colors go well with #FFAF38?

#3888FF (complementary), #FF4C38 (analogous), and #EB8D00 (lighter shade) work well with #FFAF38.