Skip to content

#ffda71

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

RGB
255, 218, 113
HSL
44°, 100%, 72%
CMYK
0, 15, 56, 0
Luminance
0.7260

At a glance

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

Hex
#ffda71
Hue
44°
yellow
Saturation
100%
electric
Lightness
72%
light
Brightness
100%
HSV value
Perceived
87%
weighted brightness
Luminance
0.7260
WCAG relative
Temperature
Warm
12/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
15.52:1
Closest name
Gold
ΔE2000 7.6
Where it sits
Hue44° of 360°
Saturation100%
Lightness72%
Temperature
Warm ← → Cool12% 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#ffda71
RGBrgb(255, 218, 113)
HSLhsl(44, 100%, 72%)
CMYKcmyk(0%, 15%, 56%, 0%)
LABlab(88.3 0.6 55.7)
LCHlch(88.3 55.7 89.4)
OKLCHoklch(0.899 0.131 90.2)
Decimal16767601
Display P3color(display-p3 1.000 0.855 0.443)

Copy-ready code

/* CSS */
color: #ffda71;
background-color: #ffda71;
/* Tailwind (arbitrary) */
class="text-[#ffda71] bg-[#ffda71]"
/* SCSS */
$brand: #ffda71;
/* SwiftUI */
Color(red: 1.000, green: 0.855, blue: 0.443)
/* Android */
Color.parseColor("#ffda71")
/* Flutter */
Color(0xFFFFDA71)
/* Python / OpenCV (BGR) */
(113, 218, 255)

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

Accessibility — WCAG contrast

Aa
#ffda71 on white: 1.35:1
AA ✗ fail · AA-large · AAA
Aa
#ffda71 on black: 15.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #EED767
deuteranopia · #F7E275
tritanopia · #FFCBC2

Color scale — 50 to 950

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

#FEFAF1
#FCF6E3
#FCECC0
#FFE28F
#ffda71
#FFC51F
#F5B500
#CC9700
#A37900
#765805
#493703
Base = 400Lightest = 50 · #FEFAF1Darkest = 950 · #493703
:root {
  --brand-50: #FEFAF1;
  --brand-100: #FCF6E3;
  --brand-200: #FCECC0;
  --brand-300: #FFE28F;
  --brand-400: #ffda71;
  --brand-500: #FFC51F;
  --brand-600: #F5B500;
  --brand-700: #CC9700;
  --brand-800: #A37900;
  --brand-900: #765805;
  --brand-950: #493703;
  --brand: #ffda71;
  --brand-ink: #000000;
}

Colors that work with #ffda71

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#EDE1C0
Hairlines and dividers
Muted text#9B864B
Captions on the surface
Accent#0069CC
Second voice, not a rival
Dark variant#805E00
Hover, pressed, headers
Light variant#FFF8E5
Selected rows, tints
Dark surface#242014
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 #ffda71

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#7196FF
Analogous left#FF9371
Analogous right#DDFF71
Split-complement 1#71DDFF
Split-complement 2#9371FF
Triadic 1#71FFDA
Triadic 2#DA71FF
Tetradic#71FF93

RGB percentages

Red100.0%
Green85.5%
Blue44.3%

CMYK percentages

Cyan0.0%
Magenta14.5%
Yellow55.7%
Key (black)0.0%

Color previews

#ffda71 text on a black background

contrast 15.52:1

Card sample

#ffda71 text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(255, 218, 113, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 218, 113, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffda71;
background: linear-gradient(135deg, #ffda71, #C5FF71);

Monochromatic scale

Palettes built from #ffda71

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.

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

#ffda71, answered

What color is #ffda71?

#ffda71 is a light electric yellow, closest to Gold (ΔE2000 7.6). It sits at 44° on the hue wheel with 100% saturation and 72% lightness, which reads as warm.

What is the RGB value of #ffda71?

rgb(255, 218, 113) — 255 red, 218 green and 113 blue out of 255, or 100% / 85.5% / 44.3% by channel.

Is #ffda71 a light or a dark color?

It is a light color. Relative luminance is 0.7260 and perceived brightness is 87%, so black text on it reaches 15.52:1.

Should I use black or white text on #ffda71?

Black. It scores 15.52:1 against #ffda71, versus 1.35:1 for white — AAA at any size.

What is the complementary color of #ffda71?

#7196FF sits directly opposite on the wheel. Softer options are the split-complements #71DDFF and #9371FF, which give the same contrast with far less vibration.

What colors go well with #ffda71?

For interface work: #FAF9F4 as the surface, #EDE1C0 for borders, #9B864B for secondary text, #0069CC as an accent and #805E00 for hover and pressed states. For a palette, the analogous pair #FF9371 and #DDFF71 stays calm, while #7196FF is the loudest partner.

What is #ffda71 in CMYK for printing?

cmyk(0%, 15%, 56%, 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 #ffda71 warm or cool?

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

Work with #ffda71 in the Color Lab