Skip to content

#f2f0b3

a light, vivid yellow · warm · closest name: Pale Goldenrod

RGB
242, 240, 179
HSL
58°, 71%, 83%
CMYK
0, 1, 26, 5
Luminance
0.8445

At a glance

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

Hex
#f2f0b3
Hue
58°
yellow
Saturation
71%
vivid
Lightness
83%
light
Brightness
95%
HSV value
Perceived
92%
weighted brightness
Luminance
0.8445
WCAG relative
Temperature
Warm
23/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
17.89:1
Closest name
Pale Goldenrod
ΔE2000 2
Where it sits
Hue58° of 360°
Saturation71%
Lightness83%
Temperature
Warm ← → Cool23% 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#f2f0b3
RGBrgb(242, 240, 179)
HSLhsl(58, 71%, 83%)
CMYKcmyk(0%, 1%, 26%, 5%)
LABlab(93.7 -8.7 29.8)
LCHlch(93.7 31.1 106.3)
OKLCHoklch(0.942 0.078 106.2)
Decimal15921331
Display P3color(display-p3 0.949 0.941 0.702)

Copy-ready code

/* CSS */
color: #f2f0b3;
background-color: #f2f0b3;
/* Tailwind (arbitrary) */
class="text-[#f2f0b3] bg-[#f2f0b3]"
/* SCSS */
$brand: #f2f0b3;
/* SwiftUI */
Color(red: 0.949, green: 0.941, blue: 0.702)
/* Android */
Color.parseColor("#f2f0b3")
/* Flutter */
Color(0xFFF2F0B3)
/* Python / OpenCV (BGR) */
(179, 240, 242)

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

Accessibility — WCAG contrast

Aa
#f2f0b3 on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#f2f0b3 on black: 17.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FAEBAF
deuteranopia · #FCEEB5
tritanopia · #FBE8E0

Color scale — 50 to 950

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

#FCFBF3
#F8F8E7
#f2f0b3
#EFEC9F
#E6E36F
#DED93F
#D1CC24
#AEAA1E
#8B8818
#656315
#3F3E0D
Base = 200Lightest = 50 · #FCFBF3Darkest = 950 · #3F3E0D
:root {
  --brand-50: #FCFBF3;
  --brand-100: #F8F8E7;
  --brand-200: #f2f0b3;
  --brand-300: #EFEC9F;
  --brand-400: #E6E36F;
  --brand-500: #DED93F;
  --brand-600: #D1CC24;
  --brand-700: #AEAA1E;
  --brand-800: #8B8818;
  --brand-900: #656315;
  --brand-950: #3F3E0D;
  --brand: #f2f0b3;
  --brand-ink: #000000;
}

Colors that work with #f2f0b3

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#EDEBC0
Hairlines and dividers
Muted text#9B984B
Captions on the surface
Accent#1945B3
Second voice, not a rival
Dark variant#6D6A13
Hover, pressed, headers
Light variant#FBFBE9
Selected rows, tints
Dark surface#242414
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 #f2f0b3

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#B3B5F2
Analogous left#F2D0B3
Analogous right#D4F2B3
Split-complement 1#B3D4F2
Split-complement 2#D0B3F2
Triadic 1#B3F2F0
Triadic 2#F0B3F2
Tetradic#B3F2D0

RGB percentages

Red94.9%
Green94.1%
Blue70.2%

CMYK percentages

Cyan0.0%
Magenta0.8%
Yellow26.0%
Key (black)5.1%

Color previews

#f2f0b3 text on a black background

contrast 17.89:1

Card sample

#f2f0b3 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2f0b3

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.

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

#f2f0b3, answered

What color is #f2f0b3?

#f2f0b3 is a light vivid yellow, closest to Pale Goldenrod (ΔE2000 2). It sits at 58° on the hue wheel with 71% saturation and 83% lightness, which reads as warm.

What is the RGB value of #f2f0b3?

rgb(242, 240, 179) — 242 red, 240 green and 179 blue out of 255, or 94.9% / 94.1% / 70.2% by channel.

Is #f2f0b3 a light or a dark color?

It is a light color. Relative luminance is 0.8445 and perceived brightness is 92%, so black text on it reaches 17.89:1.

Should I use black or white text on #f2f0b3?

Black. It scores 17.89:1 against #f2f0b3, versus 1.17:1 for white — AAA at any size.

What is the complementary color of #f2f0b3?

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

What colors go well with #f2f0b3?

For interface work: #FAFAF4 as the surface, #EDEBC0 for borders, #9B984B for secondary text, #1945B3 as an accent and #6D6A13 for hover and pressed states. For a palette, the analogous pair #F2D0B3 and #D4F2B3 stays calm, while #B3B5F2 is the loudest partner.

What is #f2f0b3 in CMYK for printing?

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

Is #f2f0b3 warm or cool?

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

Work with #f2f0b3 in the Color Lab