Skip to content

#fed034

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

RGB
254, 208, 52
HSL
46°, 99%, 60%
CMYK
0, 18, 80, 0
Luminance
0.6643

At a glance

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

Hex
#fed034
Hue
46°
yellow
Saturation
99%
electric
Lightness
60%
balanced
Brightness
100%
HSV value
Perceived
83%
weighted brightness
Luminance
0.6643
WCAG relative
Temperature
Warm
14/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
14.29:1
Closest name
Gold
ΔE2000 3.4
Where it sits
Hue46° of 360°
Saturation99%
Lightness60%
Temperature
Warm ← → Cool14% 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#fed034
RGBrgb(254, 208, 52)
HSLhsl(46, 99%, 60%)
CMYKcmyk(0%, 18%, 80%, 0%)
LABlab(85.2 2.1 76.8)
LCHlch(85.2 76.8 88.4)
OKLCHoklch(0.873 0.166 91.0)
Decimal16699444
Display P3color(display-p3 0.996 0.816 0.204)

Copy-ready code

/* CSS */
color: #fed034;
background-color: #fed034;
/* Tailwind (arbitrary) */
class="text-[#fed034] bg-[#fed034]"
/* SCSS */
$brand: #fed034;
/* SwiftUI */
Color(red: 0.996, green: 0.816, blue: 0.204)
/* Android */
Color.parseColor("#fed034")
/* Flutter */
Color(0xFFFED034)
/* Python / OpenCV (BGR) */
(52, 208, 254)

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

Accessibility — WCAG contrast

Aa
#fed034 on white: 1.47:1
AA ✗ fail · AA-large · AAA
Aa
#fed034 on black: 14.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E8CD06
deuteranopia · #F3DA3E
tritanopia · #FFBEB3

Color scale — 50 to 950

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

#FEFBF1
#FCF6E3
#FBEEC0
#FEE58F
#FED858
#fed034
#F4BC01
#CB9D01
#A27D01
#755B05
#493903
Base = 500Lightest = 50 · #FEFBF1Darkest = 950 · #493903
:root {
  --brand-50: #FEFBF1;
  --brand-100: #FCF6E3;
  --brand-200: #FBEEC0;
  --brand-300: #FEE58F;
  --brand-400: #FED858;
  --brand-500: #fed034;
  --brand-600: #F4BC01;
  --brand-700: #CB9D01;
  --brand-800: #A27D01;
  --brand-900: #755B05;
  --brand-950: #493903;
  --brand: #fed034;
  --brand-ink: #000000;
}

Colors that work with #fed034

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#EDE2C0
Hairlines and dividers
Muted text#9B894B
Captions on the surface
Accent#0062CC
Second voice, not a rival
Dark variant#7F6201
Hover, pressed, headers
Light variant#FFF9E6
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 #fed034

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#3462FE
Analogous left#FE6B34
Analogous right#C7FE34
Split-complement 1#34C7FE
Split-complement 2#6B34FE
Triadic 1#34FED0
Triadic 2#D034FE
Tetradic#34FE6B

RGB percentages

Red99.6%
Green81.6%
Blue20.4%

CMYK percentages

Cyan0.0%
Magenta18.1%
Yellow79.5%
Key (black)0.4%

Color previews

#fed034 text on a black background

contrast 14.29:1

Card sample

#fed034 text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(254, 208, 52, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(254, 208, 52, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fed034;
background: linear-gradient(135deg, #fed034, #A5FE34);

Monochromatic scale

Palettes built from #fed034

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.

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

#fed034, answered

What color is #fed034?

#fed034 is a balanced electric yellow, closest to Gold (ΔE2000 3.4). It sits at 46° on the hue wheel with 99% saturation and 60% lightness, which reads as warm.

What is the RGB value of #fed034?

rgb(254, 208, 52) — 254 red, 208 green and 52 blue out of 255, or 99.6% / 81.6% / 20.4% by channel.

Is #fed034 a light or a dark color?

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

Should I use black or white text on #fed034?

Black. It scores 14.29:1 against #fed034, versus 1.47:1 for white — AAA at any size.

What is the complementary color of #fed034?

#3462FE sits directly opposite on the wheel. Softer options are the split-complements #34C7FE and #6B34FE, which give the same contrast with far less vibration.

What colors go well with #fed034?

For interface work: #FAF9F4 as the surface, #EDE2C0 for borders, #9B894B for secondary text, #0062CC as an accent and #7F6201 for hover and pressed states. For a palette, the analogous pair #FE6B34 and #C7FE34 stays calm, while #3462FE is the loudest partner.

What is #fed034 in CMYK for printing?

cmyk(0%, 18%, 80%, 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 #fed034 warm or cool?

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

Work with #fed034 in the Color Lab