Skip to content

#fcff88

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

RGB
252, 255, 136
HSL
62°, 100%, 77%
CMYK
1, 0, 47, 0
Luminance
0.9399

At a glance

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

Hex
#fcff88
Hue
62°
yellow
Saturation
100%
electric
Lightness
77%
light
Brightness
100%
HSV value
Perceived
95%
weighted brightness
Luminance
0.9399
WCAG relative
Temperature
Warm
26/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
19.80:1
Closest name
Khaki
ΔE2000 6.6
Where it sits
Hue62° of 360°
Saturation100%
Lightness77%
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#fcff88
RGBrgb(252, 255, 136)
HSLhsl(62, 100%, 77%)
CMYKcmyk(1%, 0%, 47%, 0%)
LABlab(97.6 -17.0 56.1)
LCHlch(97.6 58.6 106.9)
OKLCHoklch(0.974 0.142 110.1)
Decimal16580488
Display P3color(display-p3 0.988 1.000 0.533)

Copy-ready code

/* CSS */
color: #fcff88;
background-color: #fcff88;
/* Tailwind (arbitrary) */
class="text-[#fcff88] bg-[#fcff88]"
/* SCSS */
$brand: #fcff88;
/* SwiftUI */
Color(red: 0.988, green: 1.000, blue: 0.533)
/* Android */
Color.parseColor("#fcff88")
/* Flutter */
Color(0xFFFCFF88)
/* Python / OpenCV (BGR) */
(136, 255, 252)

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

Accessibility — WCAG contrast

Aa
#fcff88 on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#fcff88 on black: 19.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFF67E
deuteranopia · #FFFA8E
tritanopia · #FFF2E3

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #fcff88 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
#FAFCC0
#fcff88
#FBFF57
#F9FF1F
#EFF500
#C7CC00
#9FA300
#737605
#484903
Base = 300Lightest = 50 · #FDFEF1Darkest = 950 · #484903
:root {
  --brand-50: #FDFEF1;
  --brand-100: #FCFCE3;
  --brand-200: #FAFCC0;
  --brand-300: #fcff88;
  --brand-400: #FBFF57;
  --brand-500: #F9FF1F;
  --brand-600: #EFF500;
  --brand-700: #C7CC00;
  --brand-800: #9FA300;
  --brand-900: #737605;
  --brand-950: #484903;
  --brand: #fcff88;
  --brand-ink: #000000;
}

Colors that work with #fcff88

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#999B4B
Captions on the surface
Accent#002ECC
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 #fcff88

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#8B88FF
Analogous left#FFC788
Analogous right#C1FF88
Split-complement 1#88C1FF
Split-complement 2#C788FF
Triadic 1#88FCFF
Triadic 2#FF88FC
Tetradic#88FFC7

RGB percentages

Red98.8%
Green100.0%
Blue53.3%

CMYK percentages

Cyan1.2%
Magenta0.0%
Yellow46.7%
Key (black)0.0%

Color previews

#fcff88 text on a black background

contrast 19.80:1

Card sample

#fcff88 text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcff88

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.

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

#fcff88, answered

What color is #fcff88?

#fcff88 is a light electric yellow, closest to Khaki (ΔE2000 6.6). It sits at 62° on the hue wheel with 100% saturation and 77% lightness, which reads as warm.

What is the RGB value of #fcff88?

rgb(252, 255, 136) — 252 red, 255 green and 136 blue out of 255, or 98.8% / 100% / 53.3% by channel.

Is #fcff88 a light or a dark color?

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

Should I use black or white text on #fcff88?

Black. It scores 19.80:1 against #fcff88, versus 1.06:1 for white — AAA at any size.

What is the complementary color of #fcff88?

#8B88FF sits directly opposite on the wheel. Softer options are the split-complements #88C1FF and #C788FF, which give the same contrast with far less vibration.

What colors go well with #fcff88?

For interface work: #FAFAF4 as the surface, #ECEDC0 for borders, #999B4B for secondary text, #002ECC as an accent and #7C8000 for hover and pressed states. For a palette, the analogous pair #FFC788 and #C1FF88 stays calm, while #8B88FF is the loudest partner.

What is #fcff88 in CMYK for printing?

cmyk(1%, 0%, 47%, 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 #fcff88 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 #FFD688; nudged cooler, #D0FF88.

Work with #fcff88 in the Color Lab