Skip to content

#f0ebaa

a light, vivid yellow · warm · “Pale Goldenrod”

RGB
240, 235, 170
HSL
56°, 70%, 80%
CMYK
0, 2, 29, 6
Luminance
0.8084

At a glance

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

Hex
#f0ebaa
Hue
56°
yellow
Saturation
70%
vivid
Lightness
80%
light
Brightness
94%
HSV value
Perceived
90%
weighted brightness
Luminance
0.8084
WCAG relative
Temperature
Warm
21/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
17.17:1
Closest name
Pale Goldenrod
ΔE2000 0.9
Where it sits
Hue56° of 360°
Saturation70%
Lightness80%
Temperature
Warm ← → Cool21% 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#f0ebaa
RGBrgb(240, 235, 170)
HSLhsl(56, 70%, 80%)
CMYKcmyk(0%, 2%, 29%, 6%)
LABlab(92.1 -8.1 32.2)
LCHlch(92.1 33.2 104.1)
OKLCHoklch(0.929 0.083 104.2)
Decimal15788970
Display P3color(display-p3 0.941 0.922 0.667)

Copy-ready code

/* CSS */
color: #f0ebaa;
background-color: #f0ebaa;
/* Tailwind (arbitrary) */
class="text-[#f0ebaa] bg-[#f0ebaa]"
/* SCSS */
$brand: #f0ebaa;
/* SwiftUI */
Color(red: 0.941, green: 0.922, blue: 0.667)
/* Android */
Color.parseColor("#f0ebaa")
/* Flutter */
Color(0xFFF0EBAA)
/* Python / OpenCV (BGR) */
(170, 235, 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 #f0ebaa · 17.17:1
Use #000000AAA at every size.
Aa
White text · 1.22:1
AA fail · AA large fail · AAA fail
Aa
Black text · 17.17:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #f0ebaa as text scores 1.22:1 on white and 17.17:1 on black.

Accessibility — WCAG contrast

Aa
#f0ebaa on white: 1.22:1
AA ✗ fail · AA-large · AAA
Aa
#f0ebaa on black: 17.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F6E6A6
deuteranopia · #F9EAAC
tritanopia · #FAE2DA

Color scale — 50 to 950

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

#FCFBF3
#F8F7E7
#F2EFC9
#f0ebaa
#E6DD70
#DDD240
#D0C425
#ADA31F
#8B8318
#655F16
#3F3B0E
Base = 300Lightest = 50 · #FCFBF3Darkest = 950 · #3F3B0E
:root {
  --brand-50: #FCFBF3;
  --brand-100: #F8F7E7;
  --brand-200: #F2EFC9;
  --brand-300: #f0ebaa;
  --brand-400: #E6DD70;
  --brand-500: #DDD240;
  --brand-600: #D0C425;
  --brand-700: #ADA31F;
  --brand-800: #8B8318;
  --brand-900: #655F16;
  --brand-950: #3F3B0E;
  --brand: #f0ebaa;
  --brand-ink: #000000;
}

Colors that work with #f0ebaa

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#EDE9C0
Hairlines and dividers
Muted text#9B954B
Captions on the surface
Accent#1B4CB1
Second voice, not a rival
Dark variant#6C6613
Hover, pressed, headers
Light variant#FBFAE9
Selected rows, tints
Dark surface#242314
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 #f0ebaa

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#AAAFF0
Analogous left#F0C8AA
Analogous right#D2F0AA
Split-complement 1#AAD2F0
Split-complement 2#C8AAF0
Triadic 1#AAF0EB
Triadic 2#EBAAF0
Tetradic#AAF0C8

RGB percentages

Red94.1%
Green92.2%
Blue66.7%

CMYK percentages

Cyan0.0%
Magenta2.1%
Yellow29.2%
Key (black)5.9%

Color previews

#f0ebaa text on a black background

contrast 17.17:1

Card sample

#f0ebaa text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0ebaa

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.

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

#f0ebaa, answered

What color is #f0ebaa?

#f0ebaa is a light vivid yellow — the CSS keyword Pale Goldenrod. It sits at 56° on the hue wheel with 70% saturation and 80% lightness, which reads as warm.

What is the RGB value of #f0ebaa?

rgb(240, 235, 170) — 240 red, 235 green and 170 blue out of 255, or 94.1% / 92.2% / 66.7% by channel.

Is #f0ebaa a light or a dark color?

It is a light color. Relative luminance is 0.8084 and perceived brightness is 90%, so black text on it reaches 17.17:1.

Should I use black or white text on #f0ebaa?

Black. It scores 17.17:1 against #f0ebaa, versus 1.22:1 for white — AAA at any size.

What is the complementary color of #f0ebaa?

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

What colors go well with #f0ebaa?

For interface work: #FAFAF4 as the surface, #EDE9C0 for borders, #9B954B for secondary text, #1B4CB1 as an accent and #6C6613 for hover and pressed states. For a palette, the analogous pair #F0C8AA and #D2F0AA stays calm, while #AAAFF0 is the loudest partner.

What is #f0ebaa in CMYK for printing?

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

Is #f0ebaa warm or cool?

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

Work with #f0ebaa in the Color Lab