Skip to content

#fade98

a light, electric yellow · warm · closest name: Moccasin

RGB
250, 222, 152
HSL
43°, 91%, 79%
CMYK
0, 11, 39, 2
Luminance
0.7483

At a glance

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

Hex
#fade98
Hue
43°
yellow
Saturation
91%
electric
Lightness
79%
light
Brightness
98%
HSV value
Perceived
88%
weighted brightness
Luminance
0.7483
WCAG relative
Temperature
Warm
11/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
15.97:1
Closest name
Moccasin
ΔE2000 5.4
Where it sits
Hue43° of 360°
Saturation91%
Lightness79%
Temperature
Warm ← → Cool11% 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#fade98
RGBrgb(250, 222, 152)
HSLhsl(43, 91%, 79%)
CMYKcmyk(0%, 11%, 39%, 2%)
LABlab(89.3 0.2 37.9)
LCHlch(89.3 37.9 89.7)
OKLCHoklch(0.908 0.093 88.6)
Decimal16440984
Display P3color(display-p3 0.980 0.871 0.596)

Copy-ready code

/* CSS */
color: #fade98;
background-color: #fade98;
/* Tailwind (arbitrary) */
class="text-[#fade98] bg-[#fade98]"
/* SCSS */
$brand: #fade98;
/* SwiftUI */
Color(red: 0.980, green: 0.871, blue: 0.596)
/* Android */
Color.parseColor("#fade98")
/* Flutter */
Color(0xFFFADE98)
/* Python / OpenCV (BGR) */
(152, 222, 250)

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

Accessibility — WCAG contrast

Aa
#fade98 on white: 1.32:1
AA ✗ fail · AA-large · AAA
Aa
#fade98 on black: 15.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #EDDC93
deuteranopia · #F4E49A
tritanopia · #FFD3CC

Color scale — 50 to 950

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

#FDFAF2
#FBF4E5
#F9E9C3
#fade98
#F7CC5F
#F5BB29
#E9AA0B
#C38E09
#9C7108
#70530A
#463406
Base = 300Lightest = 50 · #FDFAF2Darkest = 950 · #463406
:root {
  --brand-50: #FDFAF2;
  --brand-100: #FBF4E5;
  --brand-200: #F9E9C3;
  --brand-300: #fade98;
  --brand-400: #F7CC5F;
  --brand-500: #F5BB29;
  --brand-600: #E9AA0B;
  --brand-700: #C38E09;
  --brand-800: #9C7108;
  --brand-900: #70530A;
  --brand-950: #463406;
  --brand: #fade98;
  --brand-ink: #000000;
}

Colors that work with #fade98

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#FAF9F4
Tinted page background
Border#EDE0C0
Hairlines and dividers
Muted text#9B844B
Captions on the surface
Accent#066EC6
Second voice, not a rival
Dark variant#7A5906
Hover, pressed, headers
Light variant#FEF7E7
Selected rows, tints
Dark surface#242014
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 #fade98

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#98B4FA
Analogous left#FAAD98
Analogous right#E5FA98
Split-complement 1#98E5FA
Split-complement 2#AD98FA
Triadic 1#98FADE
Triadic 2#DE98FA
Tetradic#98FAAD

RGB percentages

Red98.0%
Green87.1%
Blue59.6%

CMYK percentages

Cyan0.0%
Magenta11.2%
Yellow39.2%
Key (black)2.0%

Color previews

#fade98 text on a black background

contrast 15.97:1

Card sample

#fade98 text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(250, 222, 152, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(250, 222, 152, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fade98;
background: linear-gradient(135deg, #fade98, #D5FA98);

Monochromatic scale

Palettes built from #fade98

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.

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

#fade98, answered

What color is #fade98?

#fade98 is a light electric yellow, closest to Moccasin (ΔE2000 5.4). It sits at 43° on the hue wheel with 91% saturation and 79% lightness, which reads as warm.

What is the RGB value of #fade98?

rgb(250, 222, 152) — 250 red, 222 green and 152 blue out of 255, or 98% / 87.1% / 59.6% by channel.

Is #fade98 a light or a dark color?

It is a light color. Relative luminance is 0.7483 and perceived brightness is 88%, so black text on it reaches 15.97:1.

Should I use black or white text on #fade98?

Black. It scores 15.97:1 against #fade98, versus 1.32:1 for white — AAA at any size.

What is the complementary color of #fade98?

#98B4FA sits directly opposite on the wheel. Softer options are the split-complements #98E5FA and #AD98FA, which give the same contrast with far less vibration.

What colors go well with #fade98?

For interface work: #FAF9F4 as the surface, #EDE0C0 for borders, #9B844B for secondary text, #066EC6 as an accent and #7A5906 for hover and pressed states. For a palette, the analogous pair #FAAD98 and #E5FA98 stays calm, while #98B4FA is the loudest partner.

What is #fade98 in CMYK for printing?

cmyk(0%, 11%, 39%, 2%). 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 #fade98 warm or cool?

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

Work with #fade98 in the Color Lab