Skip to content

#f0dbad

a light, vivid yellow · warm · closest name: Wheat

RGB
240, 219, 173
HSL
41°, 69%, 81%
CMYK
0, 9, 28, 6
Luminance
0.7221

At a glance

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

Hex
#f0dbad
Hue
41°
yellow
Saturation
69%
vivid
Lightness
81%
light
Brightness
94%
HSV value
Perceived
87%
weighted brightness
Luminance
0.7221
WCAG relative
Temperature
Warm
9/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
15.44:1
Closest name
Wheat
ΔE2000 1.5
Where it sits
Hue41° of 360°
Saturation69%
Lightness81%
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#f0dbad
RGBrgb(240, 219, 173)
HSLhsl(41, 69%, 81%)
CMYKcmyk(0%, 9%, 28%, 6%)
LABlab(88.1 0.4 25.3)
LCHlch(88.1 25.3 89.1)
OKLCHoklch(0.897 0.064 86.3)
Decimal15784877
Display P3color(display-p3 0.941 0.859 0.678)

Copy-ready code

/* CSS */
color: #f0dbad;
background-color: #f0dbad;
/* Tailwind (arbitrary) */
class="text-[#f0dbad] bg-[#f0dbad]"
/* SCSS */
$brand: #f0dbad;
/* SwiftUI */
Color(red: 0.941, green: 0.859, blue: 0.678)
/* Android */
Color.parseColor("#f0dbad")
/* Flutter */
Color(0xFFF0DBAD)
/* Python / OpenCV (BGR) */
(173, 219, 240)

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

Accessibility — WCAG contrast

Aa
#f0dbad on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#f0dbad on black: 15.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E6DAAA
deuteranopia · #EBDFAE
tritanopia · #FBD3CF

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #f0dbad is pinned to step 300; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FBF9F3
#F8F3E7
#F2E5CA
#f0dbad
#E5C171
#DCAC41
#CF9A26
#AC8020
#8A6719
#644C16
#3F2F0E
Base = 300Lightest = 50 · #FBF9F3Darkest = 950 · #3F2F0E
:root {
  --brand-50: #FBF9F3;
  --brand-100: #F8F3E7;
  --brand-200: #F2E5CA;
  --brand-300: #f0dbad;
  --brand-400: #E5C171;
  --brand-500: #DCAC41;
  --brand-600: #CF9A26;
  --brand-700: #AC8020;
  --brand-800: #8A6719;
  --brand-900: #644C16;
  --brand-950: #3F2F0E;
  --brand: #f0dbad;
  --brand-ink: #000000;
}

Colors that work with #f0dbad

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#1B6FB1
Second voice, not a rival
Dark variant#6C5014
Hover, pressed, headers
Light variant#FBF6E9
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 #f0dbad

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#ADC2F0
Analogous left#F0BAAD
Analogous right#E4F0AD
Split-complement 1#ADE4F0
Split-complement 2#BAADF0
Triadic 1#ADF0DB
Triadic 2#DBADF0
Tetradic#ADF0BA

RGB percentages

Red94.1%
Green85.9%
Blue67.8%

CMYK percentages

Cyan0.0%
Magenta8.8%
Yellow27.9%
Key (black)5.9%

Color previews

#f0dbad text on a black background

contrast 15.44:1

Card sample

#f0dbad text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(240, 219, 173, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 219, 173, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0dbad;
background: linear-gradient(135deg, #f0dbad, #D8F0AD);

Monochromatic scale

Palettes built from #f0dbad

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.

#f0dbad 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

Converts to four-color process without much drama. Proof it anyway.

#f0dbad, answered

What color is #f0dbad?

#f0dbad is a light vivid yellow, closest to Wheat (ΔE2000 1.5). It sits at 41° on the hue wheel with 69% saturation and 81% lightness, which reads as warm.

What is the RGB value of #f0dbad?

rgb(240, 219, 173) — 240 red, 219 green and 173 blue out of 255, or 94.1% / 85.9% / 67.8% by channel.

Is #f0dbad a light or a dark color?

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

Should I use black or white text on #f0dbad?

Black. It scores 15.44:1 against #f0dbad, versus 1.36:1 for white — AAA at any size.

What is the complementary color of #f0dbad?

#ADC2F0 sits directly opposite on the wheel. Softer options are the split-complements #ADE4F0 and #BAADF0, which give the same contrast with far less vibration.

What colors go well with #f0dbad?

For interface work: #FAF8F4 as the surface, #EDDFC0 for borders, #9B824B for secondary text, #1B6FB1 as an accent and #6C5014 for hover and pressed states. For a palette, the analogous pair #F0BAAD and #E4F0AD stays calm, while #ADC2F0 is the loudest partner.

What is #f0dbad in CMYK for printing?

cmyk(0%, 9%, 28%, 6%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #f0dbad 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 #F0CDAD; nudged cooler, #EDF1AC.

Work with #f0dbad in the Color Lab