Skip to content

#fdfe7f

a light, electric yellow · warm · closest name: Khaki

RGB
253, 254, 127
HSL
61°, 98%, 75%
CMYK
0, 0, 50, 0
Luminance
0.9330

At a glance

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

Hex
#fdfe7f
Hue
61°
yellow
Saturation
98%
electric
Lightness
75%
light
Brightness
100%
HSV value
Perceived
95%
weighted brightness
Luminance
0.9330
WCAG relative
Temperature
Warm
25/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
19.66:1
Closest name
Khaki
ΔE2000 6.9
Where it sits
Hue61° of 360°
Saturation98%
Lightness75%
Temperature
Warm ← → Cool25% 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#fdfe7f
RGBrgb(253, 254, 127)
HSLhsl(61, 98%, 75%)
CMYKcmyk(0%, 0%, 50%, 0%)
LABlab(97.3 -16.9 59.9)
LCHlch(97.3 62.2 105.8)
OKLCHoklch(0.971 0.149 109.3)
Decimal16645759
Display P3color(display-p3 0.992 0.996 0.498)

Copy-ready code

/* CSS */
color: #fdfe7f;
background-color: #fdfe7f;
/* Tailwind (arbitrary) */
class="text-[#fdfe7f] bg-[#fdfe7f]"
/* SCSS */
$brand: #fdfe7f;
/* SwiftUI */
Color(red: 0.992, green: 0.996, blue: 0.498)
/* Android */
Color.parseColor("#fdfe7f")
/* Flutter */
Color(0xFFFDFE7F)
/* Python / OpenCV (BGR) */
(127, 254, 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 #fdfe7f · 19.66:1
Use #000000AAA at every size.
Aa
White text · 1.07:1
AA fail · AA large fail · AAA fail
Aa
Black text · 19.66:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #fdfe7f as text scores 1.07:1 on white and 19.66:1 on black.

Accessibility — WCAG contrast

Aa
#fdfe7f on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#fdfe7f on black: 19.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFF573
deuteranopia · #FFFA86
tritanopia · #FFF1E1

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #fdfe7f is pinned to step 300; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FDFEF1
#FCFCE3
#FBFBC1
#fdfe7f
#FCFE58
#FBFD20
#F1F302
#C9CA02
#A1A201
#747506
#484904
Base = 300Lightest = 50 · #FDFEF1Darkest = 950 · #484904
:root {
  --brand-50: #FDFEF1;
  --brand-100: #FCFCE3;
  --brand-200: #FBFBC1;
  --brand-300: #fdfe7f;
  --brand-400: #FCFE58;
  --brand-500: #FBFD20;
  --brand-600: #F1F302;
  --brand-700: #C9CA02;
  --brand-800: #A1A201;
  --brand-900: #747506;
  --brand-950: #484904;
  --brand: #fdfe7f;
  --brand-ink: #000000;
}

Colors that work with #fdfe7f

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#ECEDC0
Hairlines and dividers
Muted text#9A9B4B
Captions on the surface
Accent#0031CC
Second voice, not a rival
Dark variant#7D7E01
Hover, pressed, headers
Light variant#FFFFE6
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 #fdfe7f

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#807FFE
Analogous left#FEC07F
Analogous right#BDFE7F
Split-complement 1#7FBDFE
Split-complement 2#C07FFE
Triadic 1#7FFDFE
Triadic 2#FE7FFD
Tetradic#7FFEC0

RGB percentages

Red99.2%
Green99.6%
Blue49.8%

CMYK percentages

Cyan0.4%
Magenta0.0%
Yellow50.0%
Key (black)0.4%

Color previews

#fdfe7f text on a black background

contrast 19.66:1

Card sample

#fdfe7f text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfe7f

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.

#fdfe7f 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.

#fdfe7f, answered

What color is #fdfe7f?

#fdfe7f is a light electric yellow, closest to Khaki (ΔE2000 6.9). It sits at 61° on the hue wheel with 98% saturation and 75% lightness, which reads as warm.

What is the RGB value of #fdfe7f?

rgb(253, 254, 127) — 253 red, 254 green and 127 blue out of 255, or 99.2% / 99.6% / 49.8% by channel.

Is #fdfe7f a light or a dark color?

It is a light color. Relative luminance is 0.9330 and perceived brightness is 95%, so black text on it reaches 19.66:1.

Should I use black or white text on #fdfe7f?

Black. It scores 19.66:1 against #fdfe7f, versus 1.07:1 for white — AAA at any size.

What is the complementary color of #fdfe7f?

#807FFE sits directly opposite on the wheel. Softer options are the split-complements #7FBDFE and #C07FFE, which give the same contrast with far less vibration.

What colors go well with #fdfe7f?

For interface work: #FAFAF4 as the surface, #ECEDC0 for borders, #9A9B4B for secondary text, #0031CC as an accent and #7D7E01 for hover and pressed states. For a palette, the analogous pair #FEC07F and #BDFE7F stays calm, while #807FFE is the loudest partner.

What is #fdfe7f in CMYK for printing?

cmyk(0%, 0%, 50%, 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 #fdfe7f warm or cool?

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

Work with #fdfe7f in the Color Lab