Skip to content

#fdffb2

a light, electric yellow · warm · closest name: Pale Goldenrod

RGB
253, 255, 178
HSL
62°, 100%, 85%
CMYK
1, 0, 30, 0
Luminance
0.9562

At a glance

Every number on this page in one read: what #fdffb2 is made of, how bright it looks, and which way it leans.

Hex
#fdffb2
Hue
62°
yellow
Saturation
100%
electric
Lightness
85%
light
Brightness
100%
HSV value
Perceived
97%
weighted brightness
Luminance
0.9562
WCAG relative
Temperature
Warm
26/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
20.12:1
Closest name
Pale Goldenrod
ΔE2000 5.5
Where it sits
Hue62° of 360°
Saturation100%
Lightness85%
Temperature
Warm ← → Cool26% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#fdffb2
RGBrgb(253, 255, 178)
HSLhsl(62, 100%, 85%)
CMYKcmyk(1%, 0%, 30%, 0%)
LABlab(98.3 -12.2 36.7)
LCHlch(98.3 38.6 108.4)
OKLCHoklch(0.981 0.097 109.3)
Decimal16646066
Display P3color(display-p3 0.992 1.000 0.698)

Copy-ready code

/* CSS */
color: #fdffb2;
background-color: #fdffb2;
/* Tailwind (arbitrary) */
class="text-[#fdffb2] bg-[#fdffb2]"
/* SCSS */
$brand: #fdffb2;
/* SwiftUI */
Color(red: 0.992, green: 1.000, blue: 0.698)
/* Android */
Color.parseColor("#fdffb2")
/* Flutter */
Color(0xFFFDFFB2)
/* Python / OpenCV (BGR) */
(178, 255, 253)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #fdffb2 · 20.12:1
Use #000000AAA at every size.
Aa
White text · 1.04:1
AA fail · AA large fail · AAA fail
Aa
Black text · 20.12:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #fdffb2 as text scores 1.04:1 on white and 20.12:1 on black.

Accessibility — WCAG contrast

Aa
#fdffb2 on white: 1.04:1
AA ✗ fail · AA-large · AAA
Aa
#fdffb2 on black: 20.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFF8AD
deuteranopia · #FFFBB5
tritanopia · #FFF6EB

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #fdffb2 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.

#FDFEF1
#FCFCE3
#fdffb2
#FCFF8F
#FBFF57
#F9FF1F
#EEF500
#C7CC00
#9FA300
#737605
#484903
Base = 200Lightest = 50 · #FDFEF1Darkest = 950 · #484903
:root {
  --brand-50: #FDFEF1;
  --brand-100: #FCFCE3;
  --brand-200: #fdffb2;
  --brand-300: #FCFF8F;
  --brand-400: #FBFF57;
  --brand-500: #F9FF1F;
  --brand-600: #EEF500;
  --brand-700: #C7CC00;
  --brand-800: #9FA300;
  --brand-900: #737605;
  --brand-950: #484903;
  --brand: #fdffb2;
  --brand-ink: #000000;
}

Colors that work with #fdffb2

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAFAF4
Tinted page background
Border#EBEDC0
Hairlines and dividers
Muted text#999B4B
Captions on the surface
Accent#002DCC
Second voice, not a rival
Dark variant#7C8000
Hover, pressed, headers
Light variant#FEFFE5
Selected rows, tints
Dark surface#242414
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #fdffb2

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • 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
Use with care
  • 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#B4B2FF
Analogous left#FFDBB2
Analogous right#D6FFB2
Split-complement 1#B2D6FF
Split-complement 2#DBB2FF
Triadic 1#B2FDFF
Triadic 2#FFB2FD
Tetradic#B2FFDB

RGB percentages

Red99.2%
Green100.0%
Blue69.8%

CMYK percentages

Cyan0.8%
Magenta0.0%
Yellow30.2%
Key (black)0.0%

Color previews

#fdffb2 text on a black background

contrast 20.12:1

Card sample

#fdffb2 text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #fdffb2;
Background color
Panel with #fdffb2 background
background-color: #fdffb2;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #fdffb2;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(253, 255, 178, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 255, 178, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdffb2;
background: linear-gradient(135deg, #fdffb2, #CAFFB2);

Monochromatic scale

Palettes built from #fdffb2

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.

#fdffb2 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
RetailLeisureEnergyWarning systems
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#fdffb2, answered

What color is #fdffb2?

#fdffb2 is a light electric yellow, closest to Pale Goldenrod (ΔE2000 5.5). It sits at 62° on the hue wheel with 100% saturation and 85% lightness, which reads as warm.

What is the RGB value of #fdffb2?

rgb(253, 255, 178) — 253 red, 255 green and 178 blue out of 255, or 99.2% / 100% / 69.8% by channel.

Is #fdffb2 a light or a dark color?

It is a light color. Relative luminance is 0.9562 and perceived brightness is 97%, so black text on it reaches 20.12:1.

Should I use black or white text on #fdffb2?

Black. It scores 20.12:1 against #fdffb2, versus 1.04:1 for white — AAA at any size.

What is the complementary color of #fdffb2?

#B4B2FF sits directly opposite on the wheel. Softer options are the split-complements #B2D6FF and #DBB2FF, which give the same contrast with far less vibration.

What colors go well with #fdffb2?

For interface work: #FAFAF4 as the surface, #EBEDC0 for borders, #999B4B for secondary text, #002DCC as an accent and #7C8000 for hover and pressed states. For a palette, the analogous pair #FFDBB2 and #D6FFB2 stays calm, while #B4B2FF is the loudest partner.

What is #fdffb2 in CMYK for printing?

cmyk(1%, 0%, 30%, 0%). 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 #fdffb2 warm or cool?

Warm — it scores 26 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FFE5B2; nudged cooler, #E1FFB2.

Work with #fdffb2 in the Color Lab