Skip to content

#feeac2

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

RGB
254, 234, 194
HSL
40°, 97%, 88%
CMYK
0, 8, 24, 0
Luminance
0.8381

At a glance

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

Hex
#feeac2
Hue
40°
yellow
Saturation
97%
electric
Lightness
88%
pale
Brightness
100%
HSV value
Perceived
93%
weighted brightness
Luminance
0.8381
WCAG relative
Temperature
Warm
8/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
17.76:1
Closest name
Moccasin
ΔE2000 2.8
Where it sits
Hue40° of 360°
Saturation97%
Lightness88%
Temperature
Warm ← → Cool8% 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#feeac2
RGBrgb(254, 234, 194)
HSLhsl(40, 97%, 88%)
CMYKcmyk(0%, 8%, 24%, 0%)
LABlab(93.4 0.7 21.9)
LCHlch(93.4 21.9 88.1)
OKLCHoklch(0.943 0.056 84.5)
Decimal16706242
Display P3color(display-p3 0.996 0.918 0.761)

Copy-ready code

/* CSS */
color: #feeac2;
background-color: #feeac2;
/* Tailwind (arbitrary) */
class="text-[#feeac2] bg-[#feeac2]"
/* SCSS */
$brand: #feeac2;
/* SwiftUI */
Color(red: 0.996, green: 0.918, blue: 0.761)
/* Android */
Color.parseColor("#feeac2")
/* Flutter */
Color(0xFFFEEAC2)
/* Python / OpenCV (BGR) */
(194, 234, 254)

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

Accessibility — WCAG contrast

Aa
#feeac2 on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#feeac2 on black: 17.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F4E9C0
deuteranopia · #F9EEC3
tritanopia · #FFE3DF

Color scale — 50 to 950

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

#FDF9F1
#FCF4E4
#feeac2
#FDD991
#FCC659
#FBB322
#F1A204
#C98703
#A16C03
#744F07
#483204
Base = 200Lightest = 50 · #FDF9F1Darkest = 950 · #483204
:root {
  --brand-50: #FDF9F1;
  --brand-100: #FCF4E4;
  --brand-200: #feeac2;
  --brand-300: #FDD991;
  --brand-400: #FCC659;
  --brand-500: #FBB322;
  --brand-600: #F1A204;
  --brand-700: #C98703;
  --brand-800: #A16C03;
  --brand-900: #744F07;
  --brand-950: #483204;
  --brand: #feeac2;
  --brand-ink: #000000;
}

Colors that work with #feeac2

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#EDDEC0
Hairlines and dividers
Muted text#9B804B
Captions on the surface
Accent#0076CC
Second voice, not a rival
Dark variant#7D5402
Hover, pressed, headers
Light variant#FFF6E6
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 #feeac2

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#C2D6FE
Analogous left#FECCC2
Analogous right#F4FEC2
Split-complement 1#C2F4FE
Split-complement 2#CCC2FE
Triadic 1#C2FEEA
Triadic 2#EAC2FE
Tetradic#C2FECC

RGB percentages

Red99.6%
Green91.8%
Blue76.1%

CMYK percentages

Cyan0.0%
Magenta7.9%
Yellow23.6%
Key (black)0.4%

Color previews

#feeac2 text on a black background

contrast 17.76:1

Card sample

#feeac2 text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(254, 234, 194, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(254, 234, 194, 0.45);
Border & gradient
Gradient panel
border: 3px solid #feeac2;
background: linear-gradient(135deg, #feeac2, #EAFEC2);

Monochromatic scale

Palettes built from #feeac2

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.

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

#feeac2, answered

What color is #feeac2?

#feeac2 is a pale electric yellow, closest to Moccasin (ΔE2000 2.8). It sits at 40° on the hue wheel with 97% saturation and 88% lightness, which reads as warm.

What is the RGB value of #feeac2?

rgb(254, 234, 194) — 254 red, 234 green and 194 blue out of 255, or 99.6% / 91.8% / 76.1% by channel.

Is #feeac2 a light or a dark color?

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

Should I use black or white text on #feeac2?

Black. It scores 17.76:1 against #feeac2, versus 1.18:1 for white — AAA at any size.

What is the complementary color of #feeac2?

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

What colors go well with #feeac2?

For interface work: #FAF8F4 as the surface, #EDDEC0 for borders, #9B804B for secondary text, #0076CC as an accent and #7D5402 for hover and pressed states. For a palette, the analogous pair #FECCC2 and #F4FEC2 stays calm, while #C2D6FE is the loudest partner.

What is #feeac2 in CMYK for printing?

cmyk(0%, 8%, 24%, 0%). 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 #feeac2 warm or cool?

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

Work with #feeac2 in the Color Lab