#f7fd5c
a light, electric yellow · warm · closest name: Yellow
At a glance
Every number on this page in one read: what #f7fd5c is made of, how bright it looks, and which way it leans.
Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #f7fd5c |
| RGB | rgb(247, 253, 92) |
| HSL | hsl(62, 98%, 68%) |
| CMYK | cmyk(2%, 0%, 64%, 1%) |
| LAB | lab(96.3 -21.3 73.4) |
| LCH | lch(96.3 76.4 106.2) |
| OKLCH | oklch(0.961 0.178 111.4) |
| Decimal | 16252252 |
| Display P3 | color(display-p3 0.969 0.992 0.361) |
Copy-ready code
/* CSS */
color: #f7fd5c;
background-color: #f7fd5c;
/* Tailwind (arbitrary) */
class="text-[#f7fd5c] bg-[#f7fd5c]"
/* SCSS */
$brand: #f7fd5c;
/* SwiftUI */
Color(red: 0.969, green: 0.992, blue: 0.361)
/* Android */
Color.parseColor("#f7fd5c")
/* Flutter */
Color(0xFFF7FD5C)
/* Python / OpenCV (BGR) */
(92, 253, 247)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #f7fd5c is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #FDFDF1;
--brand-100: #FBFCE4;
--brand-200: #F9FBC1;
--brand-300: #FAFE90;
--brand-400: #f7fd5c;
--brand-500: #F4FC21;
--brand-600: #E9F203;
--brand-700: #C2CA02;
--brand-800: #9BA102;
--brand-900: #707406;
--brand-950: #464904;
--brand: #f7fd5c;
--brand-ink: #000000;
}Colors that work with #f7fd5c
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #f7fd5c
Derived from its contrast, chroma and lightness — not from taste.
- ✓Text and icons on dark surfaces
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Card and section backgrounds
- ✓Brand accents, badges and data highlights
- ⚠Text of any size on white — fails WCAG AA
- ⚠Full-page backgrounds — tiring over long sessions
- ⚠White text placed on it
- ⚠Thin strokes and 1px borders — they disappear on light UI
- ⚠Pairing with a same-lightness hue — edges vibrate
Similar colors
One move away from this hex in each direction. Every swatch is its own page.
Color relationships
The wheel positions with their names attached, so you can grab the one you actually need.
| Complementary | #625CFD | Directly opposite — maximum tension | |
| Analogous left | #FDB25C | Neighbour, quieter | |
| Analogous right | #A6FD5C | Neighbour, quieter | |
| Split-complement 1 | #5CA6FD | Contrast without the clash | |
| Split-complement 2 | #B25CFD | Contrast without the clash | |
| Triadic 1 | #5CF7FD | Even thirds — balanced and loud | |
| Triadic 2 | #FD5CF7 | Even thirds — balanced and loud | |
| Tetradic | #5CFDB2 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#f7fd5c text on a black background
contrast 19.16:1
#f7fd5c text on a white background
contrast 1.10:1
CSS3 live lab
The quick brown fox
color: #f7fd5c;
background-color: #f7fd5c;
Glowing headline
text-shadow: 2px 2px 8px #f7fd5c;
Soft neon halo
text-shadow: 0 0 14px rgba(247, 253, 92, 0.45);
box-shadow: 0 12px 32px -8px rgba(247, 253, 92, 0.45);
border: 3px solid #f7fd5c; background: linear-gradient(135deg, #f7fd5c, #8CFD5C);
Monochromatic scale
Palettes built from #f7fd5c
Shades — darker
Tints — lighter
Color harmonies
Nearest named colors
Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.
Closest color with a full write-up: Yellow (#ffff00) — ΔE2000 4.9 away, with its history, psychology and brand usage.
#f7fd5c in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.
#f7fd5c, answered
What color is #f7fd5c?
#f7fd5c is a light electric yellow, closest to Yellow (ΔE2000 4.9). It sits at 62° on the hue wheel with 98% saturation and 68% lightness, which reads as warm.
What is the RGB value of #f7fd5c?
rgb(247, 253, 92) — 247 red, 253 green and 92 blue out of 255, or 96.9% / 99.2% / 36.1% by channel.
Is #f7fd5c a light or a dark color?
It is a light color. Relative luminance is 0.9080 and perceived brightness is 93%, so black text on it reaches 19.16:1.
Should I use black or white text on #f7fd5c?
Black. It scores 19.16:1 against #f7fd5c, versus 1.10:1 for white — AAA at any size.
What is the complementary color of #f7fd5c?
#625CFD sits directly opposite on the wheel. Softer options are the split-complements #5CA6FD and #B25CFD, which give the same contrast with far less vibration.
What colors go well with #f7fd5c?
For interface work: #FAFAF4 as the surface, #EBEDC0 for borders, #989B4B for secondary text, #5A7DFF as an accent and #797E02 for hover and pressed states. For a palette, the analogous pair #FDB25C and #A6FD5C stays calm, while #625CFD is the loudest partner.
What is #f7fd5c in CMYK for printing?
cmyk(2%, 0%, 64%, 1%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.
Is #f7fd5c warm or cool?
Warm — it scores 27 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FDC85C; nudged cooler, #BCFF5A.