Skip to content

#f4fc4f

a balanced, electric yellow · warm · closest name: Yellow

RGB
244, 252, 79
HSL
63°, 97%, 65%
CMYK
3, 0, 69, 1
Luminance
0.8942

At a glance

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

Hex
#f4fc4f
Hue
63°
yellow
Saturation
97%
electric
Lightness
65%
balanced
Brightness
99%
HSV value
Perceived
93%
weighted brightness
Luminance
0.8942
WCAG relative
Temperature
Warm
27/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
18.88:1
Closest name
Yellow
ΔE2000 4.2
Where it sits
Hue63° of 360°
Saturation97%
Lightness65%
Temperature
Warm ← → Cool27% 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#f4fc4f
RGBrgb(244, 252, 79)
HSLhsl(63, 97%, 65%)
CMYKcmyk(3%, 0%, 69%, 1%)
LABlab(95.8 -22.7 77.5)
LCHlch(95.8 80.8 106.3)
OKLCHoklch(0.956 0.186 112.1)
Decimal16055375
Display P3color(display-p3 0.957 0.988 0.310)

Copy-ready code

/* CSS */
color: #f4fc4f;
background-color: #f4fc4f;
/* Tailwind (arbitrary) */
class="text-[#f4fc4f] bg-[#f4fc4f]"
/* SCSS */
$brand: #f4fc4f;
/* SwiftUI */
Color(red: 0.957, green: 0.988, blue: 0.310)
/* Android */
Color.parseColor("#f4fc4f")
/* Flutter */
Color(0xFFF4FC4F)
/* Python / OpenCV (BGR) */
(79, 252, 244)

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 #f4fc4f · 18.88:1
Use #000000AAA at every size.
Aa
White text · 1.11:1
AA fail · AA large fail · AAA fail
Aa
Black text · 18.88:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #f4fc4f as text scores 1.11:1 on white and 18.88:1 on black.

Accessibility — WCAG contrast

Aa
#f4fc4f on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#f4fc4f on black: 18.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFF132
deuteranopia · #FFF55C
tritanopia · #FFEDDA

Color scale — 50 to 950

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

#FDFDF1
#FBFCE4
#F8FBC1
#F8FD91
#f4fc4f
#F1FB22
#E6F104
#BFC903
#99A003
#6F7407
#454804
Base = 400Lightest = 50 · #FDFDF1Darkest = 950 · #454804
:root {
  --brand-50: #FDFDF1;
  --brand-100: #FBFCE4;
  --brand-200: #F8FBC1;
  --brand-300: #F8FD91;
  --brand-400: #f4fc4f;
  --brand-500: #F1FB22;
  --brand-600: #E6F104;
  --brand-700: #BFC903;
  --brand-800: #99A003;
  --brand-900: #6F7407;
  --brand-950: #454804;
  --brand: #f4fc4f;
  --brand-ink: #000000;
}

Colors that work with #f4fc4f

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#979B4B
Captions on the surface
Accent#4C70FF
Second voice, not a rival
Dark variant#787D02
Hover, pressed, headers
Light variant#FDFFE6
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 #f4fc4f

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
  • 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
  • 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#574FFC
Analogous left#FCAE4F
Analogous right#9DFC4F
Split-complement 1#4F9DFC
Split-complement 2#AE4FFC
Triadic 1#4FF4FC
Triadic 2#FC4FF4
Tetradic#4FFCAE

RGB percentages

Red95.7%
Green98.8%
Blue31.0%

CMYK percentages

Cyan3.2%
Magenta0.0%
Yellow68.7%
Key (black)1.2%

Color previews

#f4fc4f text on a black background

contrast 18.88:1

Card sample

#f4fc4f text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(244, 252, 79, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(244, 252, 79, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f4fc4f;
background: linear-gradient(135deg, #f4fc4f, #81FC4F);

Monochromatic scale

Palettes built from #f4fc4f

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.

#f4fc4f 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
ButtonsLinksFocus statesCharts
Print note

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

#f4fc4f, answered

What color is #f4fc4f?

#f4fc4f is a balanced electric yellow, closest to Yellow (ΔE2000 4.2). It sits at 63° on the hue wheel with 97% saturation and 65% lightness, which reads as warm.

What is the RGB value of #f4fc4f?

rgb(244, 252, 79) — 244 red, 252 green and 79 blue out of 255, or 95.7% / 98.8% / 31% by channel.

Is #f4fc4f a light or a dark color?

It is a light color. Relative luminance is 0.8942 and perceived brightness is 93%, so black text on it reaches 18.88:1.

Should I use black or white text on #f4fc4f?

Black. It scores 18.88:1 against #f4fc4f, versus 1.11:1 for white — AAA at any size.

What is the complementary color of #f4fc4f?

#574FFC sits directly opposite on the wheel. Softer options are the split-complements #4F9DFC and #AE4FFC, which give the same contrast with far less vibration.

What colors go well with #f4fc4f?

For interface work: #FAFAF4 as the surface, #EBEDC0 for borders, #979B4B for secondary text, #4C70FF as an accent and #787D02 for hover and pressed states. For a palette, the analogous pair #FCAE4F and #9DFC4F stays calm, while #574FFC is the loudest partner.

What is #f4fc4f in CMYK for printing?

cmyk(3%, 0%, 69%, 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 #f4fc4f 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 #FCC54F; nudged cooler, #B5FE4D.

Work with #f4fc4f in the Color Lab