Skip to content

#f2f2bb

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

RGB
242, 242, 187
HSL
60°, 68%, 84%
CMYK
0, 0, 23, 5
Luminance
0.8597

At a glance

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

Hex
#f2f2bb
Hue
60°
yellow
Saturation
68%
vivid
Lightness
84%
light
Brightness
95%
HSV value
Perceived
93%
weighted brightness
Luminance
0.8597
WCAG relative
Temperature
Warm
25/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
18.19:1
Closest name
Pale Goldenrod
ΔE2000 3.1
Where it sits
Hue60° of 360°
Saturation68%
Lightness84%
Temperature
Warm ← → Cool25% 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#f2f2bb
RGBrgb(242, 242, 187)
HSLhsl(60, 68%, 84%)
CMYKcmyk(0%, 0%, 23%, 5%)
LABlab(94.3 -8.6 26.6)
LCHlch(94.3 28.0 108.0)
OKLCHoklch(0.948 0.071 107.7)
Decimal15921851
Display P3color(display-p3 0.949 0.949 0.733)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2f2bb on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#f2f2bb on black: 18.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FBEDB8
deuteranopia · #FCF0BD
tritanopia · #FAEBE3

Color scale — 50 to 950

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

#FBFBF3
#F8F8E8
#f2f2bb
#EDEDA1
#E4E472
#DBDB43
#CECE27
#ABAB21
#89891A
#636317
#3E3E0E
Base = 200Lightest = 50 · #FBFBF3Darkest = 950 · #3E3E0E
:root {
  --brand-50: #FBFBF3;
  --brand-100: #F8F8E8;
  --brand-200: #f2f2bb;
  --brand-300: #EDEDA1;
  --brand-400: #E4E472;
  --brand-500: #DBDB43;
  --brand-600: #CECE27;
  --brand-700: #ABAB21;
  --brand-800: #89891A;
  --brand-900: #636317;
  --brand-950: #3E3E0E;
  --brand: #f2f2bb;
  --brand-ink: #000000;
}

Colors that work with #f2f2bb

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#EDEDC0
Hairlines and dividers
Muted text#9B9B4B
Captions on the surface
Accent#1C42B0
Second voice, not a rival
Dark variant#6B6B14
Hover, pressed, headers
Light variant#FBFBEA
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 #f2f2bb

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#BBBBF2
Analogous left#F2D6BB
Analogous right#D6F2BB
Split-complement 1#BBD6F2
Split-complement 2#D6BBF2
Triadic 1#BBF2F2
Triadic 2#F2BBF2
Tetradic#BBF2D6

RGB percentages

Red94.9%
Green94.9%
Blue73.3%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow22.7%
Key (black)5.1%

Color previews

#f2f2bb text on a black background

contrast 18.19:1

Card sample

#f2f2bb text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2f2bb

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.

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

#f2f2bb, answered

What color is #f2f2bb?

#f2f2bb is a light vivid yellow, closest to Pale Goldenrod (ΔE2000 3.1). It sits at 60° on the hue wheel with 68% saturation and 84% lightness, which reads as warm.

What is the RGB value of #f2f2bb?

rgb(242, 242, 187) — 242 red, 242 green and 187 blue out of 255, or 94.9% / 94.9% / 73.3% by channel.

Is #f2f2bb a light or a dark color?

It is a light color. Relative luminance is 0.8597 and perceived brightness is 93%, so black text on it reaches 18.19:1.

Should I use black or white text on #f2f2bb?

Black. It scores 18.19:1 against #f2f2bb, versus 1.15:1 for white — AAA at any size.

What is the complementary color of #f2f2bb?

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

What colors go well with #f2f2bb?

For interface work: #FAFAF4 as the surface, #EDEDC0 for borders, #9B9B4B for secondary text, #1C42B0 as an accent and #6B6B14 for hover and pressed states. For a palette, the analogous pair #F2D6BB and #D6F2BB stays calm, while #BBBBF2 is the loudest partner.

What is #f2f2bb in CMYK for printing?

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

Is #f2f2bb warm or cool?

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

Work with #f2f2bb in the Color Lab