#afa31c hex color

Hex color #afa31c graphic

darkgoldenrod

#afa31c RGB Percentages

Red
47.81%
Green
44.54%
Blue
7.65%

#afa31c CMYK Percentages

Cyan
0%
Magenta
7%
Yellow
84%
Key (Black)
31%

Color #afa31c Variations

Color #afa31c Harmonies

Analogous Colors

Colors that are next to each other on the color wheel

Complementary Colors

Colors that are opposite each other on the color wheel

Split Complementary

A color and two colors adjacent to its complement

Triadic Colors

Three colors equally spaced on the color wheel

Contrast Checks for #afa31c

On White Background

WCAG AA Fail (2.59)

Large Text Example

The quick brown fox jumps over the lazy dog.

Regular Text Example

This is an example of regular-sized text that would commonly appear in paragraphs and body content.

On Black Background

WCAG AA Pass (8.07)

Large Text Example

The quick brown fox jumps over the lazy dog.

Regular Text Example

This is an example of regular-sized text that would commonly appear in paragraphs and body content.

CSS Styles for #afa31c

Nearest Tailwind Color for #afa31c

Here's the nearest color to #afa31c in Tailwind's full color palette.

Tailwind color name:

Hex color code:

Tailwind's yellow-500 (#eab308)

Your color #afa31c

CSS Code Examples for #afa31c

Basic CSS Classes for #afa31c

Background Color

Background Color Example

Text Color

This text shows the color #afa31c

Border Color

Border Color Example

CSS3 Effects for #afa31c

Text Shadow (RGB)

Text with RGB Shadow

Text Shadow (Hex)

Text with Hex Shadow

Box Shadow

Box with Shadow

HTML Examples for #afa31c

Inline Styles

This is a sample text showing how this color looks when used as a text color.

Combined Effects

Combined Styles Example

#afa31c Relaxed Palette