Skip to content

#fccc10

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

RGB
252, 204, 16
HSL
48°, 98%, 53%
CMYK
0, 19, 94, 1
Luminance
0.6392

At a glance

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

Hex
#fccc10
Hue
48°
yellow
Saturation
98%
electric
Lightness
53%
balanced
Brightness
99%
HSV value
Perceived
82%
weighted brightness
Luminance
0.6392
WCAG relative
Temperature
Warm
15/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
13.78:1
Closest name
Gold
ΔE2000 3.3
Where it sits
Hue48° of 360°
Saturation98%
Lightness53%
Temperature
Warm ← → Cool15% 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#fccc10
RGBrgb(252, 204, 16)
HSLhsl(48, 98%, 53%)
CMYKcmyk(0%, 19%, 94%, 1%)
LABlab(83.9 2.5 83.4)
LCHlch(83.9 83.4 88.3)
OKLCHoklch(0.862 0.174 91.3)
Decimal16567312
Display P3color(display-p3 0.988 0.800 0.063)

Copy-ready code

/* CSS */
color: #fccc10;
background-color: #fccc10;
/* Tailwind (arbitrary) */
class="text-[#fccc10] bg-[#fccc10]"
/* SCSS */
$brand: #fccc10;
/* SwiftUI */
Color(red: 0.988, green: 0.800, blue: 0.063)
/* Android */
Color.parseColor("#fccc10")
/* Flutter */
Color(0xFFFCCC10)
/* Python / OpenCV (BGR) */
(16, 204, 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 #fccc10 · 13.78:1
Use #000000AAA at every size.
Aa
White text · 1.52:1
AA fail · AA large fail · AAA fail
Aa
Black text · 13.78:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #fccc10 as text scores 1.52:1 on white and 13.78:1 on black.

Accessibility — WCAG contrast

Aa
#fccc10 on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#fccc10 on black: 13.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E5C900
deuteranopia · #F1D726
tritanopia · #FFB9AE

Color scale — 50 to 950

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

#FDFBF1
#FCF7E4
#FBEFC1
#FEE790
#FDDC59
#fccc10
#F2C103
#C9A103
#A18102
#745E06
#493B04
Base = 500Lightest = 50 · #FDFBF1Darkest = 950 · #493B04
:root {
  --brand-50: #FDFBF1;
  --brand-100: #FCF7E4;
  --brand-200: #FBEFC1;
  --brand-300: #FEE790;
  --brand-400: #FDDC59;
  --brand-500: #fccc10;
  --brand-600: #F2C103;
  --brand-700: #C9A103;
  --brand-800: #A18102;
  --brand-900: #745E06;
  --brand-950: #493B04;
  --brand: #fccc10;
  --brand-ink: #000000;
}

Colors that work with #fccc10

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#FAF9F4
Tinted page background
Border#EDE4C0
Hairlines and dividers
Muted text#9B8B4B
Captions on the surface
Accent#0D7BFF
Second voice, not a rival
Dark variant#7E6502
Hover, pressed, headers
Light variant#FFFAE6
Selected rows, tints
Dark surface#242114
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 #fccc10

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#1040FC
Analogous left#FC5610
Analogous right#B6FC10
Split-complement 1#10B6FC
Split-complement 2#5610FC
Triadic 1#10FCCC
Triadic 2#CC10FC
Tetradic#10FC56

RGB percentages

Red98.8%
Green80.0%
Blue6.3%

CMYK percentages

Cyan0.0%
Magenta19.0%
Yellow93.7%
Key (black)1.2%

Color previews

#fccc10 text on a black background

contrast 13.78:1

Card sample

#fccc10 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fccc10

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.

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

#fccc10, answered

What color is #fccc10?

#fccc10 is a balanced electric yellow, closest to Gold (ΔE2000 3.3). It sits at 48° on the hue wheel with 98% saturation and 53% lightness, which reads as warm.

What is the RGB value of #fccc10?

rgb(252, 204, 16) — 252 red, 204 green and 16 blue out of 255, or 98.8% / 80% / 6.3% by channel.

Is #fccc10 a light or a dark color?

It is a light color. Relative luminance is 0.6392 and perceived brightness is 82%, so black text on it reaches 13.78:1.

Should I use black or white text on #fccc10?

Black. It scores 13.78:1 against #fccc10, versus 1.52:1 for white — AAA at any size.

What is the complementary color of #fccc10?

#1040FC sits directly opposite on the wheel. Softer options are the split-complements #10B6FC and #5610FC, which give the same contrast with far less vibration.

What colors go well with #fccc10?

For interface work: #FAF9F4 as the surface, #EDE4C0 for borders, #9B8B4B for secondary text, #0D7BFF as an accent and #7E6502 for hover and pressed states. For a palette, the analogous pair #FC5610 and #B6FC10 stays calm, while #1040FC is the loudest partner.

What is #fccc10 in CMYK for printing?

cmyk(0%, 19%, 94%, 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 #fccc10 warm or cool?

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

Work with #fccc10 in the Color Lab