#F0D307

A medium, vivid yellow closely aligning with Gold.

About #F0D307

The hex code #F0D307 represents a beautifully specific shade of yellow. If you're using CSS, you might find it aligns closely with Gold. This translates to an RGB value of rgb(240, 211, 7).

If you are designing for print, the four-color process is what matters most. Its ink density profile breaks down to 0% cyan, 12% magenta, 97% yellow, and 6% black. Always request a physical proof before doing a large print run with this exact code.

Contrast ratios determine whether this color is safe for typography. Mathematical luminance calculations suggest that #000000 text provides the most optimal reading experience. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#F0D307
RGB240, 211, 7
HSL52.5°, 94.3%, 48.4%
CMYK0%, 12%, 97%, 6%
HSV52.5°, 97.1%, 94.1%
LAB84.6, -6.2, 84.2
XYZ59.3, 65.1, 9.6
Decimal15782663

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

1.50:1
Text on #FFFFFF
FAIL
14.03:1
Text on #000000
AAA
1.43:1
Text on #F8FAFC
FAIL
11.92:1
Text on #0F172A
AAA

CSS Implementation

.bg-color { background-color: #F0D307; }
.text-color { color: #F0D307; }
.border-color { border: 2px solid #F0D307; }

Similar Colors

Gold
#FFD700