Skip to content

#eee9a2

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

RGB
238, 233, 162
HSL
56°, 69%, 78%
CMYK
0, 2, 32, 7
Luminance
0.7906

At a glance

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

Hex
#eee9a2
Hue
56°
yellow
Saturation
69%
vivid
Lightness
78%
light
Brightness
93%
HSV value
Perceived
89%
weighted brightness
Luminance
0.7906
WCAG relative
Temperature
Warm
22/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
16.81:1
Closest name
Pale Goldenrod
ΔE2000 1.8
Where it sits
Hue56° of 360°
Saturation69%
Lightness78%
Temperature
Warm ← → Cool22% 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#eee9a2
RGBrgb(238, 233, 162)
HSLhsl(56, 69%, 78%)
CMYKcmyk(0%, 2%, 32%, 7%)
LABlab(91.3 -8.8 35.2)
LCHlch(91.3 36.3 104.1)
OKLCHoklch(0.922 0.090 104.6)
Decimal15657378
Display P3color(display-p3 0.933 0.914 0.635)

Copy-ready code

/* CSS */
color: #eee9a2;
background-color: #eee9a2;
/* Tailwind (arbitrary) */
class="text-[#eee9a2] bg-[#eee9a2]"
/* SCSS */
$brand: #eee9a2;
/* SwiftUI */
Color(red: 0.933, green: 0.914, blue: 0.635)
/* Android */
Color.parseColor("#eee9a2")
/* Flutter */
Color(0xFFEEE9A2)
/* Python / OpenCV (BGR) */
(162, 233, 238)

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

Accessibility — WCAG contrast

Aa
#eee9a2 on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#eee9a2 on black: 16.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F5E49D
deuteranopia · #F7E8A5
tritanopia · #F9E0D7

Color scale — 50 to 950

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

#FBFBF3
#F8F7E7
#F2EFCA
#eee9a2
#E5DD71
#DCD241
#CFC426
#ACA320
#8A8319
#645F16
#3F3B0E
Base = 300Lightest = 50 · #FBFBF3Darkest = 950 · #3F3B0E
:root {
  --brand-50: #FBFBF3;
  --brand-100: #F8F7E7;
  --brand-200: #F2EFCA;
  --brand-300: #eee9a2;
  --brand-400: #E5DD71;
  --brand-500: #DCD241;
  --brand-600: #CFC426;
  --brand-700: #ACA320;
  --brand-800: #8A8319;
  --brand-900: #645F16;
  --brand-950: #3F3B0E;
  --brand: #eee9a2;
  --brand-ink: #000000;
}

Colors that work with #eee9a2

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#EDEAC0
Hairlines and dividers
Muted text#9B964B
Captions on the surface
Accent#1C4AB0
Second voice, not a rival
Dark variant#6C6614
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 #eee9a2

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#A2A7EE
Analogous left#EEC3A2
Analogous right#CDEEA2
Split-complement 1#A2CDEE
Split-complement 2#C3A2EE
Triadic 1#A2EEE9
Triadic 2#E9A2EE
Tetradic#A2EEC3

RGB percentages

Red93.3%
Green91.4%
Blue63.5%

CMYK percentages

Cyan0.0%
Magenta2.1%
Yellow31.9%
Key (black)6.7%

Color previews

#eee9a2 text on a black background

contrast 16.81:1

Card sample

#eee9a2 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(238, 233, 162, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(238, 233, 162, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eee9a2;
background: linear-gradient(135deg, #eee9a2, #C0EEA2);

Monochromatic scale

Palettes built from #eee9a2

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.

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

#eee9a2, answered

What color is #eee9a2?

#eee9a2 is a light vivid yellow, closest to Pale Goldenrod (ΔE2000 1.8). It sits at 56° on the hue wheel with 69% saturation and 78% lightness, which reads as warm.

What is the RGB value of #eee9a2?

rgb(238, 233, 162) — 238 red, 233 green and 162 blue out of 255, or 93.3% / 91.4% / 63.5% by channel.

Is #eee9a2 a light or a dark color?

It is a light color. Relative luminance is 0.7906 and perceived brightness is 89%, so black text on it reaches 16.81:1.

Should I use black or white text on #eee9a2?

Black. It scores 16.81:1 against #eee9a2, versus 1.25:1 for white — AAA at any size.

What is the complementary color of #eee9a2?

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

What colors go well with #eee9a2?

For interface work: #FAFAF4 as the surface, #EDEAC0 for borders, #9B964B for secondary text, #1C4AB0 as an accent and #6C6614 for hover and pressed states. For a palette, the analogous pair #EEC3A2 and #CDEEA2 stays calm, while #A2A7EE is the loudest partner.

What is #eee9a2 in CMYK for printing?

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

Is #eee9a2 warm or cool?

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

Work with #eee9a2 in the Color Lab