Skip to content

#eee99c

a light, vivid yellow · warm · closest name: Khaki

RGB
238, 233, 156
HSL
56°, 71%, 77%
CMYK
0, 2, 35, 7
Luminance
0.7886

At a glance

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

Hex
#eee99c
Hue
56°
yellow
Saturation
71%
vivid
Lightness
77%
light
Brightness
93%
HSV value
Perceived
89%
weighted brightness
Luminance
0.7886
WCAG relative
Temperature
Warm
22/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
16.77:1
Closest name
Khaki
ΔE2000 2.7
Where it sits
Hue56° of 360°
Saturation71%
Lightness77%
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#eee99c
RGBrgb(238, 233, 156)
HSLhsl(56, 71%, 77%)
CMYKcmyk(0%, 2%, 35%, 7%)
LABlab(91.2 -9.5 38.1)
LCHlch(91.2 39.3 104.1)
OKLCHoklch(0.920 0.097 105.0)
Decimal15657372
Display P3color(display-p3 0.933 0.914 0.612)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eee99c on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#eee99c on black: 16.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F6E396
deuteranopia · #F8E89F
tritanopia · #F9DFD5

Color scale — 50 to 950

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

#FCFBF3
#F8F7E7
#F2F0C9
#eee99c
#E6DF6F
#DED43F
#D1C624
#AEA51E
#8B8418
#656015
#3F3C0D
Base = 300Lightest = 50 · #FCFBF3Darkest = 950 · #3F3C0D
:root {
  --brand-50: #FCFBF3;
  --brand-100: #F8F7E7;
  --brand-200: #F2F0C9;
  --brand-300: #eee99c;
  --brand-400: #E6DF6F;
  --brand-500: #DED43F;
  --brand-600: #D1C624;
  --brand-700: #AEA51E;
  --brand-800: #8B8418;
  --brand-900: #656015;
  --brand-950: #3F3C0D;
  --brand: #eee99c;
  --brand-ink: #000000;
}

Colors that work with #eee99c

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#1A4AB2
Second voice, not a rival
Dark variant#6D6713
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 #eee99c

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#9CA1EE
Analogous left#EEC09C
Analogous right#CAEE9C
Split-complement 1#9CCAEE
Split-complement 2#C09CEE
Triadic 1#9CEEE9
Triadic 2#E99CEE
Tetradic#9CEEC0

RGB percentages

Red93.3%
Green91.4%
Blue61.2%

CMYK percentages

Cyan0.0%
Magenta2.1%
Yellow34.5%
Key (black)6.7%

Color previews

#eee99c text on a black background

contrast 16.77:1

Card sample

#eee99c text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eee99c

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.

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

#eee99c, answered

What color is #eee99c?

#eee99c is a light vivid yellow, closest to Khaki (ΔE2000 2.7). It sits at 56° on the hue wheel with 71% saturation and 77% lightness, which reads as warm.

What is the RGB value of #eee99c?

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

Is #eee99c a light or a dark color?

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

Should I use black or white text on #eee99c?

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

What is the complementary color of #eee99c?

#9CA1EE sits directly opposite on the wheel. Softer options are the split-complements #9CCAEE and #C09CEE, which give the same contrast with far less vibration.

What colors go well with #eee99c?

For interface work: #FAFAF4 as the surface, #EDEAC0 for borders, #9B964B for secondary text, #1A4AB2 as an accent and #6D6713 for hover and pressed states. For a palette, the analogous pair #EEC09C and #CAEE9C stays calm, while #9CA1EE is the loudest partner.

What is #eee99c in CMYK for printing?

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

Is #eee99c 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 #EECB9C; nudged cooler, #D6EF9B.

Work with #eee99c in the Color Lab