Skip to content

#eee8c8

a pale, vivid yellow · warm · closest name: Corn Silk

RGB
238, 232, 200
HSL
51°, 53%, 86%
CMYK
0, 3, 16, 7
Luminance
0.8006

At a glance

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

Hex
#eee8c8
Hue
51°
yellow
Saturation
53%
vivid
Lightness
86%
pale
Brightness
93%
HSV value
Perceived
90%
weighted brightness
Luminance
0.8006
WCAG relative
Temperature
Warm
17/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
17.01:1
Closest name
Corn Silk
ΔE2000 3.8
Where it sits
Hue51° of 360°
Saturation53%
Lightness86%
Temperature
Warm ← → Cool17% 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#eee8c8
RGBrgb(238, 232, 200)
HSLhsl(51, 53%, 86%)
CMYKcmyk(0%, 3%, 16%, 7%)
LABlab(91.7 -3.2 16.3)
LCHlch(91.7 16.6 101.0)
OKLCHoklch(0.927 0.043 98.4)
Decimal15657160
Display P3color(display-p3 0.933 0.910 0.784)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eee8c8 on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#eee8c8 on black: 17.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #EFE6C6
deuteranopia · #F1E8C9
tritanopia · #F4E3DF

Color scale — 50 to 950

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

#FBFAF4
#F6F4E9
#eee8c8
#E5DBA9
#D7C97E
#CAB754
#BBA73A
#9C8B30
#7D6F27
#5B521F
#393314
Base = 200Lightest = 50 · #FBFAF4Darkest = 950 · #393314
:root {
  --brand-50: #FBFAF4;
  --brand-100: #F6F4E9;
  --brand-200: #eee8c8;
  --brand-300: #E5DBA9;
  --brand-400: #D7C97E;
  --brand-500: #CAB754;
  --brand-600: #BBA73A;
  --brand-700: #9C8B30;
  --brand-800: #7D6F27;
  --brand-900: #5B521F;
  --brand-950: #393314;
  --brand: #eee8c8;
  --brand-ink: #000000;
}

Colors that work with #eee8c8

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#ECE5C1
Hairlines and dividers
Muted text#9B8E4B
Captions on the surface
Accent#2D5B9F
Second voice, not a rival
Dark variant#61571E
Hover, pressed, headers
Light variant#F9F7EC
Selected rows, tints
Dark surface#242214
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 #eee8c8

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#C8CEEE
Analogous left#EED5C8
Analogous right#E1EEC8
Split-complement 1#C8E1EE
Split-complement 2#D5C8EE
Triadic 1#C8EEE8
Triadic 2#E8C8EE
Tetradic#C8EED5

RGB percentages

Red93.3%
Green91.0%
Blue78.4%

CMYK percentages

Cyan0.0%
Magenta2.5%
Yellow16.0%
Key (black)6.7%

Color previews

#eee8c8 text on a black background

contrast 17.01:1

Card sample

#eee8c8 text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eee8c8

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.

#eee8c8 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

Very light tints can drop out on uncoated stock; check it at 100% size before signing off.

#eee8c8, answered

What color is #eee8c8?

#eee8c8 is a pale vivid yellow, closest to Corn Silk (ΔE2000 3.8). It sits at 51° on the hue wheel with 53% saturation and 86% lightness, which reads as warm.

What is the RGB value of #eee8c8?

rgb(238, 232, 200) — 238 red, 232 green and 200 blue out of 255, or 93.3% / 91% / 78.4% by channel.

Is #eee8c8 a light or a dark color?

It is a light color. Relative luminance is 0.8006 and perceived brightness is 90%, so black text on it reaches 17.01:1.

Should I use black or white text on #eee8c8?

Black. It scores 17.01:1 against #eee8c8, versus 1.23:1 for white — AAA at any size.

What is the complementary color of #eee8c8?

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

What colors go well with #eee8c8?

For interface work: #FAF9F4 as the surface, #ECE5C1 for borders, #9B8E4B for secondary text, #2D5B9F as an accent and #61571E for hover and pressed states. For a palette, the analogous pair #EED5C8 and #E1EEC8 stays calm, while #C8CEEE is the loudest partner.

What is #eee8c8 in CMYK for printing?

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

Is #eee8c8 warm or cool?

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

Work with #eee8c8 in the Color Lab