Skip to content

#e5df3f

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

RGB
229, 223, 63
HSL
58°, 76%, 57%
CMYK
0, 3, 73, 10
Luminance
0.6979

At a glance

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

Hex
#e5df3f
Hue
58°
yellow
Saturation
76%
electric
Lightness
57%
balanced
Brightness
90%
HSV value
Perceived
83%
weighted brightness
Luminance
0.6979
WCAG relative
Temperature
Warm
23/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
14.96:1
Closest name
Yellow
ΔE2000 7.7
Where it sits
Hue58° of 360°
Saturation76%
Lightness57%
Temperature
Warm ← → Cool23% 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#e5df3f
RGBrgb(229, 223, 63)
HSLhsl(58, 76%, 57%)
CMYKcmyk(0%, 3%, 73%, 10%)
LABlab(86.9 -15.6 74.0)
LCHlch(86.9 75.7 101.9)
OKLCHoklch(0.882 0.171 107.2)
Decimal15064895
Display P3color(display-p3 0.898 0.875 0.247)

Copy-ready code

/* CSS */
color: #e5df3f;
background-color: #e5df3f;
/* Tailwind (arbitrary) */
class="text-[#e5df3f] bg-[#e5df3f]"
/* SCSS */
$brand: #e5df3f;
/* SwiftUI */
Color(red: 0.898, green: 0.875, blue: 0.247)
/* Android */
Color.parseColor("#e5df3f")
/* Flutter */
Color(0xFFE5DF3F)
/* Python / OpenCV (BGR) */
(63, 223, 229)

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

Accessibility — WCAG contrast

Aa
#e5df3f on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#e5df3f on black: 14.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F2D61F
deuteranopia · #F5DC4B
tritanopia · #F6D0C0

Color scale — 50 to 950

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

#FCFCF3
#F9F8E7
#F4F2C8
#F2EE9C
#EBE66B
#e5df3f
#D8D11D
#B4AE18
#908B14
#686512
#413F0B
Base = 500Lightest = 50 · #FCFCF3Darkest = 950 · #413F0B
:root {
  --brand-50: #FCFCF3;
  --brand-100: #F9F8E7;
  --brand-200: #F4F2C8;
  --brand-300: #F2EE9C;
  --brand-400: #EBE66B;
  --brand-500: #e5df3f;
  --brand-600: #D8D11D;
  --brand-700: #B4AE18;
  --brand-800: #908B14;
  --brand-900: #686512;
  --brand-950: #413F0B;
  --brand: #e5df3f;
  --brand-ink: #000000;
}

Colors that work with #e5df3f

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#EDEBC0
Hairlines and dividers
Muted text#9B984B
Captions on the surface
Accent#3B6DE9
Second voice, not a rival
Dark variant#706D0F
Hover, pressed, headers
Light variant#FCFBE9
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 #e5df3f

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#3F45E5
Analogous left#E58C3F
Analogous right#98E53F
Split-complement 1#3F98E5
Split-complement 2#8C3FE5
Triadic 1#3FE5DF
Triadic 2#DF3FE5
Tetradic#3FE58C

RGB percentages

Red89.8%
Green87.5%
Blue24.7%

CMYK percentages

Cyan0.0%
Magenta2.6%
Yellow72.5%
Key (black)10.2%

Color previews

#e5df3f text on a black background

contrast 14.96:1

Card sample

#e5df3f text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(229, 223, 63, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(229, 223, 63, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e5df3f;
background: linear-gradient(135deg, #e5df3f, #7DE53F);

Monochromatic scale

Palettes built from #e5df3f

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.

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

#e5df3f, answered

What color is #e5df3f?

#e5df3f is a balanced electric yellow, closest to Yellow (ΔE2000 7.7). It sits at 58° on the hue wheel with 76% saturation and 57% lightness, which reads as warm.

What is the RGB value of #e5df3f?

rgb(229, 223, 63) — 229 red, 223 green and 63 blue out of 255, or 89.8% / 87.5% / 24.7% by channel.

Is #e5df3f a light or a dark color?

It is a light color. Relative luminance is 0.6979 and perceived brightness is 83%, so black text on it reaches 14.96:1.

Should I use black or white text on #e5df3f?

Black. It scores 14.96:1 against #e5df3f, versus 1.40:1 for white — AAA at any size.

What is the complementary color of #e5df3f?

#3F45E5 sits directly opposite on the wheel. Softer options are the split-complements #3F98E5 and #8C3FE5, which give the same contrast with far less vibration.

What colors go well with #e5df3f?

For interface work: #FAFAF4 as the surface, #EDEBC0 for borders, #9B984B for secondary text, #3B6DE9 as an accent and #706D0F for hover and pressed states. For a palette, the analogous pair #E58C3F and #98E53F stays calm, while #3F45E5 is the loudest partner.

What is #e5df3f in CMYK for printing?

cmyk(0%, 3%, 73%, 10%). 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 #e5df3f warm or cool?

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

Work with #e5df3f in the Color Lab