Skip to content

#f8cd6f

a light, electric yellow · warm · closest name: Navajo White

RGB
248, 205, 111
HSL
41°, 91%, 70%
CMYK
0, 17, 55, 3
Luminance
0.6477

At a glance

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

Hex
#f8cd6f
Hue
41°
yellow
Saturation
91%
electric
Lightness
70%
light
Brightness
97%
HSV value
Perceived
83%
weighted brightness
Luminance
0.6477
WCAG relative
Temperature
Warm
9/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
13.95:1
Closest name
Navajo White
ΔE2000 9.4
Where it sits
Hue41° of 360°
Saturation91%
Lightness70%
Temperature
Warm ← → Cool9% 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#f8cd6f
RGBrgb(248, 205, 111)
HSLhsl(41, 91%, 70%)
CMYKcmyk(0%, 17%, 55%, 3%)
LABlab(84.4 4.3 51.9)
LCHlch(84.4 52.1 85.3)
OKLCHoklch(0.867 0.123 85.2)
Decimal16305519
Display P3color(display-p3 0.973 0.804 0.435)

Copy-ready code

/* CSS */
color: #f8cd6f;
background-color: #f8cd6f;
/* Tailwind (arbitrary) */
class="text-[#f8cd6f] bg-[#f8cd6f]"
/* SCSS */
$brand: #f8cd6f;
/* SwiftUI */
Color(red: 0.973, green: 0.804, blue: 0.435)
/* Android */
Color.parseColor("#f8cd6f")
/* Flutter */
Color(0xFFF8CD6F)
/* Python / OpenCV (BGR) */
(111, 205, 248)

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

Accessibility — WCAG contrast

Aa
#f8cd6f on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#f8cd6f on black: 13.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E1CC66
deuteranopia · #EBD772
tritanopia · #FFBFB7

Color scale — 50 to 950

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

#FDF9F2
#FBF4E5
#F9E8C3
#FADA94
#f8cd6f
#F5B529
#E9A40B
#C38909
#9C6D08
#70500A
#463206
Base = 400Lightest = 50 · #FDF9F2Darkest = 950 · #463206
:root {
  --brand-50: #FDF9F2;
  --brand-100: #FBF4E5;
  --brand-200: #F9E8C3;
  --brand-300: #FADA94;
  --brand-400: #f8cd6f;
  --brand-500: #F5B529;
  --brand-600: #E9A40B;
  --brand-700: #C38909;
  --brand-800: #9C6D08;
  --brand-900: #70500A;
  --brand-950: #463206;
  --brand: #f8cd6f;
  --brand-ink: #000000;
}

Colors that work with #f8cd6f

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#FAF8F4
Tinted page background
Border#EDDFC0
Hairlines and dividers
Muted text#9B824B
Captions on the surface
Accent#0573C7
Second voice, not a rival
Dark variant#7A5506
Hover, pressed, headers
Light variant#FEF7E7
Selected rows, tints
Dark surface#241F14
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 #f8cd6f

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#6F9AF8
Analogous left#F8896F
Analogous right#DEF86F
Split-complement 1#6FDEF8
Split-complement 2#896FF8
Triadic 1#6FF8CD
Triadic 2#CD6FF8
Tetradic#6FF889

RGB percentages

Red97.3%
Green80.4%
Blue43.5%

CMYK percentages

Cyan0.0%
Magenta17.3%
Yellow55.2%
Key (black)2.7%

Color previews

#f8cd6f text on a black background

contrast 13.95:1

Card sample

#f8cd6f text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(248, 205, 111, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(248, 205, 111, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f8cd6f;
background: linear-gradient(135deg, #f8cd6f, #C8F86F);

Monochromatic scale

Palettes built from #f8cd6f

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.

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

#f8cd6f, answered

What color is #f8cd6f?

#f8cd6f is a light electric yellow, closest to Navajo White (ΔE2000 9.4). It sits at 41° on the hue wheel with 91% saturation and 70% lightness, which reads as warm.

What is the RGB value of #f8cd6f?

rgb(248, 205, 111) — 248 red, 205 green and 111 blue out of 255, or 97.3% / 80.4% / 43.5% by channel.

Is #f8cd6f a light or a dark color?

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

Should I use black or white text on #f8cd6f?

Black. It scores 13.95:1 against #f8cd6f, versus 1.51:1 for white — AAA at any size.

What is the complementary color of #f8cd6f?

#6F9AF8 sits directly opposite on the wheel. Softer options are the split-complements #6FDEF8 and #896FF8, which give the same contrast with far less vibration.

What colors go well with #f8cd6f?

For interface work: #FAF8F4 as the surface, #EDDFC0 for borders, #9B824B for secondary text, #0573C7 as an accent and #7A5506 for hover and pressed states. For a palette, the analogous pair #F8896F and #DEF86F stays calm, while #6F9AF8 is the loudest partner.

What is #f8cd6f in CMYK for printing?

cmyk(0%, 17%, 55%, 3%). 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 #f8cd6f warm or cool?

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

Work with #f8cd6f in the Color Lab