Skip to content

#f4ea59

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

RGB
244, 234, 89
HSL
56°, 88%, 65%
CMYK
0, 4, 64, 4
Luminance
0.7880

At a glance

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

Hex
#f4ea59
Hue
56°
yellow
Saturation
88%
electric
Lightness
65%
light
Brightness
96%
HSV value
Perceived
88%
weighted brightness
Luminance
0.7880
WCAG relative
Temperature
Warm
22/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
16.76:1
Closest name
Yellow
ΔE2000 6.8
Where it sits
Hue56° of 360°
Saturation88%
Lightness65%
Temperature
Warm ← → Cool22% 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#f4ea59
RGBrgb(244, 234, 89)
HSLhsl(56, 88%, 65%)
CMYKcmyk(0%, 4%, 64%, 4%)
LABlab(91.1 -13.5 69.1)
LCHlch(91.1 70.4 101.0)
OKLCHoklch(0.919 0.162 105.4)
Decimal16050777
Display P3color(display-p3 0.957 0.918 0.349)

Copy-ready code

/* CSS */
color: #f4ea59;
background-color: #f4ea59;
/* Tailwind (arbitrary) */
class="text-[#f4ea59] bg-[#f4ea59]"
/* SCSS */
$brand: #f4ea59;
/* SwiftUI */
Color(red: 0.957, green: 0.918, blue: 0.349)
/* Android */
Color.parseColor("#f4ea59")
/* Flutter */
Color(0xFFF4EA59)
/* Python / OpenCV (BGR) */
(89, 234, 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 #f4ea59 · 16.76:1
Use #000000AAA at every size.
Aa
White text · 1.25:1
AA fail · AA large fail · AAA fail
Aa
Black text · 16.76:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #f4ea59 as text scores 1.25:1 on white and 16.76:1 on black.

Accessibility — WCAG contrast

Aa
#f4ea59 on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#f4ea59 on black: 16.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FDE246
deuteranopia · #FFE962
tritanopia · #FFDBCC

Color scale — 50 to 950

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

#FDFCF2
#FAF9E5
#F8F4C4
#F8F296
#f4ea59
#F1E42D
#E6D80F
#BFB40D
#99900A
#6F680C
#454107
Base = 400Lightest = 50 · #FDFCF2Darkest = 950 · #454107
:root {
  --brand-50: #FDFCF2;
  --brand-100: #FAF9E5;
  --brand-200: #F8F4C4;
  --brand-300: #F8F296;
  --brand-400: #f4ea59;
  --brand-500: #F1E42D;
  --brand-600: #E6D80F;
  --brand-700: #BFB40D;
  --brand-800: #99900A;
  --brand-900: #6F680C;
  --brand-950: #454107;
  --brand: #f4ea59;
  --brand-ink: #000000;
}

Colors that work with #f4ea59

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#EDEAC0
Hairlines and dividers
Muted text#9B964B
Captions on the surface
Accent#5589F8
Second voice, not a rival
Dark variant#787008
Hover, pressed, headers
Light variant#FDFCE7
Selected rows, tints
Dark surface#242314
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 #f4ea59

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#5963F4
Analogous left#F49C59
Analogous right#B1F459
Split-complement 1#59B1F4
Split-complement 2#9C59F4
Triadic 1#59F4EA
Triadic 2#EA59F4
Tetradic#59F49C

RGB percentages

Red95.7%
Green91.8%
Blue34.9%

CMYK percentages

Cyan0.0%
Magenta4.1%
Yellow63.5%
Key (black)4.3%

Color previews

#f4ea59 text on a black background

contrast 16.76:1

Card sample

#f4ea59 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(244, 234, 89, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(244, 234, 89, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f4ea59;
background: linear-gradient(135deg, #f4ea59, #97F459);

Monochromatic scale

Palettes built from #f4ea59

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.

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

#f4ea59, answered

What color is #f4ea59?

#f4ea59 is a light electric yellow, closest to Yellow (ΔE2000 6.8). It sits at 56° on the hue wheel with 88% saturation and 65% lightness, which reads as warm.

What is the RGB value of #f4ea59?

rgb(244, 234, 89) — 244 red, 234 green and 89 blue out of 255, or 95.7% / 91.8% / 34.9% by channel.

Is #f4ea59 a light or a dark color?

It is a light color. Relative luminance is 0.7880 and perceived brightness is 88%, so black text on it reaches 16.76:1.

Should I use black or white text on #f4ea59?

Black. It scores 16.76:1 against #f4ea59, versus 1.25:1 for white — AAA at any size.

What is the complementary color of #f4ea59?

#5963F4 sits directly opposite on the wheel. Softer options are the split-complements #59B1F4 and #9C59F4, which give the same contrast with far less vibration.

What colors go well with #f4ea59?

For interface work: #FAFAF4 as the surface, #EDEAC0 for borders, #9B964B for secondary text, #5589F8 as an accent and #787008 for hover and pressed states. For a palette, the analogous pair #F49C59 and #B1F459 stays calm, while #5963F4 is the loudest partner.

What is #f4ea59 in CMYK for printing?

cmyk(0%, 4%, 64%, 4%). 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 #f4ea59 warm or cool?

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

Work with #f4ea59 in the Color Lab