Skip to content

#f3ff2d

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

RGB
243, 255, 45
HSL
63°, 100%, 59%
CMYK
5, 0, 82, 0
Luminance
0.9076

At a glance

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

Hex
#f3ff2d
Hue
63°
yellow
Saturation
100%
electric
Lightness
59%
balanced
Brightness
100%
HSV value
Perceived
93%
weighted brightness
Luminance
0.9076
WCAG relative
Temperature
Warm
28/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
19.15:1
Closest name
Yellow
ΔE2000 3
Where it sits
Hue63° of 360°
Saturation100%
Lightness59%
Temperature
Warm ← → Cool28% 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#f3ff2d
RGBrgb(243, 255, 45)
HSLhsl(63, 100%, 59%)
CMYKcmyk(5%, 0%, 82%, 0%)
LABlab(96.3 -25.8 87.8)
LCHlch(96.3 91.5 106.4)
OKLCHoklch(0.959 0.206 113.2)
Decimal15990573
Display P3color(display-p3 0.953 1.000 0.176)

Copy-ready code

/* CSS */
color: #f3ff2d;
background-color: #f3ff2d;
/* Tailwind (arbitrary) */
class="text-[#f3ff2d] bg-[#f3ff2d]"
/* SCSS */
$brand: #f3ff2d;
/* SwiftUI */
Color(red: 0.953, green: 1.000, blue: 0.176)
/* Android */
Color.parseColor("#f3ff2d")
/* Flutter */
Color(0xFFF3FF2D)
/* Python / OpenCV (BGR) */
(45, 255, 243)

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

Accessibility — WCAG contrast

Aa
#f3ff2d on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#f3ff2d on black: 19.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFF200
deuteranopia · #FFF644
tritanopia · #FFEFDA

Color scale — 50 to 950

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

#FDFEF1
#FBFCE3
#F8FCC0
#F9FF8F
#F5FF57
#f3ff2d
#E7F500
#C0CC00
#9AA300
#6F7605
#454903
Base = 500Lightest = 50 · #FDFEF1Darkest = 950 · #454903
:root {
  --brand-50: #FDFEF1;
  --brand-100: #FBFCE3;
  --brand-200: #F8FCC0;
  --brand-300: #F9FF8F;
  --brand-400: #F5FF57;
  --brand-500: #f3ff2d;
  --brand-600: #E7F500;
  --brand-700: #C0CC00;
  --brand-800: #9AA300;
  --brand-900: #6F7605;
  --brand-950: #454903;
  --brand: #f3ff2d;
  --brand-ink: #000000;
}

Colors that work with #f3ff2d

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#EAEDC0
Hairlines and dividers
Muted text#969B4B
Captions on the surface
Accent#2D56FF
Second voice, not a rival
Dark variant#788000
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 #f3ff2d

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#392DFF
Analogous left#FFA22D
Analogous right#8AFF2D
Split-complement 1#2D8AFF
Split-complement 2#A22DFF
Triadic 1#2DF3FF
Triadic 2#FF2DF3
Tetradic#2DFFA2

RGB percentages

Red95.3%
Green100.0%
Blue17.6%

CMYK percentages

Cyan4.7%
Magenta0.0%
Yellow82.4%
Key (black)0.0%

Color previews

#f3ff2d text on a black background

contrast 19.15:1

Card sample

#f3ff2d text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(243, 255, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(243, 255, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f3ff2d;
background: linear-gradient(135deg, #f3ff2d, #67FF2D);

Monochromatic scale

Palettes built from #f3ff2d

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.

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

#f3ff2d, answered

What color is #f3ff2d?

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

What is the RGB value of #f3ff2d?

rgb(243, 255, 45) — 243 red, 255 green and 45 blue out of 255, or 95.3% / 100% / 17.6% by channel.

Is #f3ff2d a light or a dark color?

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

Should I use black or white text on #f3ff2d?

Black. It scores 19.15:1 against #f3ff2d, versus 1.10:1 for white — AAA at any size.

What is the complementary color of #f3ff2d?

#392DFF sits directly opposite on the wheel. Softer options are the split-complements #2D8AFF and #A22DFF, which give the same contrast with far less vibration.

What colors go well with #f3ff2d?

For interface work: #FAFAF4 as the surface, #EAEDC0 for borders, #969B4B for secondary text, #2D56FF as an accent and #788000 for hover and pressed states. For a palette, the analogous pair #FFA22D and #8AFF2D stays calm, while #392DFF is the loudest partner.

What is #f3ff2d in CMYK for printing?

cmyk(5%, 0%, 82%, 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 #f3ff2d warm or cool?

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

Work with #f3ff2d in the Color Lab