#F5D72E Color
#F5D72E is rgb(245, 215, 46) in RGB, hsl(51, 91%, 57%) in HSL, and about cmyk(0%, 12%, 81%, 4%) in CMYK. It has no registered color name of its own — the closest is Safety Yellow (#EED202), clearly related but distinguishable side by side at ΔE 5.52. Black text is the more readable choice on this background.
#F5D72Ergb(245, 215, 46)hsl(51, 91%, 57%)hsv(51, 81%, 96%)cmyk(0%, 12%, 81%, 4%)oklch(87.8% 0.172 98.2)lab(86.60% -0.76 78.52)lch(86.60% 78.53 90.56)What #F5D72E Is Called
Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #F5D72E, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.
Browse the full index of named colors A-Z or every yellow in the library.
#F5D72E Channel Values
How #F5D72E breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.
| Model | Channels | Notes |
|---|---|---|
| RGB | R 245 · G 215 · B 46 | 8-bit channels as sent to the display |
| HSL | H 51° · S 91% · L 57% | Easiest model for building lighter and darker variants |
| HSV | H 51° · S 81% · V 96% | Matches the picker in most design tools |
| CMYK | C 0% · M 12% · Y 81% · K 4% | Approximate ink mix; confirm with an ICC profile before printing |
| Luminance | 1.43:1 vs white · 14.64:1 vs black | WCAG 2.2 relative-luminance contrast ratios |
Text Contrast & Accessibility
WCAG 2.2 contrast ratios for text on a #F5D72E background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.
Need a specific ratio against another background? Open #F5D72E in the contrast checker.
Colors That Go With #F5D72E
Pairings derived from color-wheel relationships. The complementary color sits opposite #F5D72E; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.
Tints & Shades of #F5D72E
Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.
Want a full 50-950 ramp with semantic roles? Generate design tokens from #F5D72E.
How #F5D72E Looks with Color Vision Deficiency
Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.
#F5D72E#DDDD2D#E7DA2D#E2E228#EADD2A#FFCBCB#FBD0A4#D7D7D7Using #F5D72E in Code
Copy-ready declarations for the places this color usually ends up.
--color-f5d72e: #F5D72E;background-color: #F5D72E;colors: { 'color-f5d72e': '#F5D72E' }Color(red: 0.961, green: 0.843, blue: 0.180)<color name="color_f5d72e">#F5D72E</color>fill="#F5D72E"More Yellow Colors
#F5D72E sits in the yellow family. These are its neighbours across that family's full range, each with its own breakdown.
#F5D72E Frequently Asked Questions
What color is #F5D72E?
#F5D72E is a mid-tone yellow — rgb(245, 215, 46) in RGB and hsl(51, 91%, 57%) in HSL. It carries no registered color name of its own; the closest named color is Safety Yellow (#EED202), which is clearly related but distinguishable side by side at a CIE76 distance of 5.52.
What is the RGB value of #F5D72E?
#F5D72E is rgb(245, 215, 46) — red 245, green 215, and blue 46 on the 0-255 scale.
What is the CMYK value of #F5D72E?
#F5D72E converts to approximately cmyk(0%, 12%, 81%, 4%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.
Should text on #F5D72E be black or white?
Black text is the more readable choice. #F5D72E scores 1.43:1 against white and 14.64:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.
Can I write #F5D72E as a CSS color keyword?
No. #F5D72E is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is gold (#FFD700) at a CIE76 distance of 8.87, which is clearly related but distinguishable side by side.
Open #F5D72E in a Tool
Keep exploring: every yellow in the color library, the guide to shades of yellow, or the full color library.