Skip to content

#eee2ac

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

RGB
238, 226, 172
HSL
49°, 66%, 80%
CMYK
0, 5, 28, 7
Luminance
0.7555

At a glance

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

Hex
#eee2ac
Hue
49°
yellow
Saturation
66%
vivid
Lightness
80%
light
Brightness
93%
HSV value
Perceived
88%
weighted brightness
Luminance
0.7555
WCAG relative
Temperature
Warm
16/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
16.11:1
Closest name
Pale Goldenrod
ΔE2000 2.8
Where it sits
Hue49° of 360°
Saturation66%
Lightness80%
Temperature
Warm ← → Cool16% 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#eee2ac
RGBrgb(238, 226, 172)
HSLhsl(49, 66%, 80%)
CMYKcmyk(0%, 5%, 28%, 7%)
LABlab(89.7 -4.1 27.9)
LCHlch(89.7 28.2 98.3)
OKLCHoklch(0.909 0.071 97.0)
Decimal15655596
Display P3color(display-p3 0.933 0.886 0.675)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eee2ac on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#eee2ac on black: 16.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #EDDFA8
deuteranopia · #F0E3AE
tritanopia · #F8DAD4

Color scale — 50 to 950

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

#FBFAF3
#F8F5E8
#F1EACB
#eee2ac
#E2CE73
#D9BE45
#CBAE2A
#A99123
#87741C
#625518
#3D350F
Base = 300Lightest = 50 · #FBFAF3Darkest = 950 · #3D350F
:root {
  --brand-50: #FBFAF3;
  --brand-100: #F8F5E8;
  --brand-200: #F1EACB;
  --brand-300: #eee2ac;
  --brand-400: #E2CE73;
  --brand-500: #D9BE45;
  --brand-600: #CBAE2A;
  --brand-700: #A99123;
  --brand-800: #87741C;
  --brand-900: #625518;
  --brand-950: #3D350F;
  --brand: #eee2ac;
  --brand-ink: #000000;
}

Colors that work with #eee2ac

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#EDE4C0
Hairlines and dividers
Muted text#9B8C4B
Captions on the surface
Accent#1F5CAD
Second voice, not a rival
Dark variant#6A5B16
Hover, pressed, headers
Light variant#FBF8EA
Selected rows, tints
Dark surface#242114
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 #eee2ac

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#ACB8EE
Analogous left#EEC1AC
Analogous right#D9EEAC
Split-complement 1#ACD9EE
Split-complement 2#C1ACEE
Triadic 1#ACEEE2
Triadic 2#E2ACEE
Tetradic#ACEEC1

RGB percentages

Red93.3%
Green88.6%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta5.0%
Yellow27.7%
Key (black)6.7%

Color previews

#eee2ac text on a black background

contrast 16.11:1

Card sample

#eee2ac text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eee2ac

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.

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

#eee2ac, answered

What color is #eee2ac?

#eee2ac is a light vivid yellow, closest to Pale Goldenrod (ΔE2000 2.8). It sits at 49° on the hue wheel with 66% saturation and 80% lightness, which reads as warm.

What is the RGB value of #eee2ac?

rgb(238, 226, 172) — 238 red, 226 green and 172 blue out of 255, or 93.3% / 88.6% / 67.5% by channel.

Is #eee2ac a light or a dark color?

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

Should I use black or white text on #eee2ac?

Black. It scores 16.11:1 against #eee2ac, versus 1.30:1 for white — AAA at any size.

What is the complementary color of #eee2ac?

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

What colors go well with #eee2ac?

For interface work: #FAF9F4 as the surface, #EDE4C0 for borders, #9B8C4B for secondary text, #1F5CAD as an accent and #6A5B16 for hover and pressed states. For a palette, the analogous pair #EEC1AC and #D9EEAC stays calm, while #ACB8EE is the loudest partner.

What is #eee2ac in CMYK for printing?

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

Is #eee2ac warm or cool?

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

Work with #eee2ac in the Color Lab