#fdf7b4
a light, electric yellow · warm · closest name: Pale Goldenrod
At a glance
Every number on this page in one read: what #fdf7b4 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 | #fdf7b4 |
| RGB | rgb(253, 247, 180) |
| HSL | hsl(55, 95%, 85%) |
| CMYK | cmyk(0%, 2%, 29%, 1%) |
| LAB | lab(96.3 -8.0 33.0) |
| LCH | lch(96.3 34.0 103.6) |
| OKLCH | oklch(0.965 0.085 103.6) |
| Decimal | 16644020 |
| Display P3 | color(display-p3 0.992 0.969 0.706) |
Copy-ready code
/* CSS */
color: #fdf7b4;
background-color: #fdf7b4;
/* Tailwind (arbitrary) */
class="text-[#fdf7b4] bg-[#fdf7b4]"
/* SCSS */
$brand: #fdf7b4;
/* SwiftUI */
Color(red: 0.992, green: 0.969, blue: 0.706)
/* Android */
Color.parseColor("#fdf7b4")
/* Flutter */
Color(0xFFFDF7B4)
/* Python / OpenCV (BGR) */
(180, 247, 253)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. #fdf7b4 is pinned to step 200; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #FDFCF1;
--brand-100: #FBFAE4;
--brand-200: #fdf7b4;
--brand-300: #FCF392;
--brand-400: #FBEE5B;
--brand-500: #F9E824;
--brand-600: #EEDB06;
--brand-700: #C7B705;
--brand-800: #9F9204;
--brand-900: #736A08;
--brand-950: #484205;
--brand: #fdf7b4;
--brand-ink: #000000;
}Colors that work with #fdf7b4
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 #fdf7b4
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 | #B4BAFD | Directly opposite — maximum tension | |
| Analogous left | #FDD3B4 | Neighbour, quieter | |
| Analogous right | #DEFDB4 | Neighbour, quieter | |
| Split-complement 1 | #B4DEFD | Contrast without the clash | |
| Split-complement 2 | #D3B4FD | Contrast without the clash | |
| Triadic 1 | #B4FDF7 | Even thirds — balanced and loud | |
| Triadic 2 | #F7B4FD | Even thirds — balanced and loud | |
| Tetradic | #B4FDD3 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#fdf7b4 text on a black background
contrast 19.14:1
#fdf7b4 text on a white background
contrast 1.10:1
CSS3 live lab
The quick brown fox
color: #fdf7b4;
background-color: #fdf7b4;
Glowing headline
text-shadow: 2px 2px 8px #fdf7b4;
Soft neon halo
text-shadow: 0 0 14px rgba(253, 247, 180, 0.45);
box-shadow: 0 12px 32px -8px rgba(253, 247, 180, 0.45);
border: 3px solid #fdf7b4; background: linear-gradient(135deg, #fdf7b4, #D2FDB4);
Monochromatic scale
Palettes built from #fdf7b4
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: Cream (#fffdd0) — ΔE2000 5.2 away, with its history, psychology and brand usage.
#fdf7b4 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.
#fdf7b4, answered
What color is #fdf7b4?
#fdf7b4 is a light electric yellow, closest to Pale Goldenrod (ΔE2000 3.2). It sits at 55° on the hue wheel with 95% saturation and 85% lightness, which reads as warm.
What is the RGB value of #fdf7b4?
rgb(253, 247, 180) — 253 red, 247 green and 180 blue out of 255, or 99.2% / 96.9% / 70.6% by channel.
Is #fdf7b4 a light or a dark color?
It is a light color. Relative luminance is 0.9070 and perceived brightness is 95%, so black text on it reaches 19.14:1.
Should I use black or white text on #fdf7b4?
Black. It scores 19.14:1 against #fdf7b4, versus 1.10:1 for white — AAA at any size.
What is the complementary color of #fdf7b4?
#B4BAFD sits directly opposite on the wheel. Softer options are the split-complements #B4DEFD and #D3B4FD, which give the same contrast with far less vibration.
What colors go well with #fdf7b4?
For interface work: #FAFAF4 as the surface, #EDE9C0 for borders, #9B944B for secondary text, #0045CC as an accent and #7C7203 for hover and pressed states. For a palette, the analogous pair #FDD3B4 and #DEFDB4 stays calm, while #B4BAFD is the loudest partner.
What is #fdf7b4 in CMYK for printing?
cmyk(0%, 2%, 29%, 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 #fdf7b4 warm or cool?
Warm — it scores 21 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FDDCB4; nudged cooler, #E9FEB3.