Skip to content

#eef0cd

a pale, vivid yellow · warm · closest name: Light Goldenrod Yellow

RGB
238, 240, 205
HSL
63°, 54%, 87%
CMYK
1, 0, 15, 6
Luminance
0.8491

At a glance

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

Hex
#eef0cd
Hue
63°
yellow
Saturation
54%
vivid
Lightness
87%
pale
Brightness
94%
HSV value
Perceived
92%
weighted brightness
Luminance
0.8491
WCAG relative
Temperature
Warm
28/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
17.98:1
Closest name
Light Goldenrod Yellow
ΔE2000 2.6
Where it sits
Hue63° of 360°
Saturation54%
Lightness87%
Temperature
Warm ← → Cool28% 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#eef0cd
RGBrgb(238, 240, 205)
HSLhsl(63, 54%, 87%)
CMYKcmyk(1%, 0%, 15%, 6%)
LABlab(93.8 -6.5 16.7)
LCHlch(93.8 17.9 111.2)
OKLCHoklch(0.945 0.046 109.9)
Decimal15659213
Display P3color(display-p3 0.933 0.941 0.804)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eef0cd on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#eef0cd on black: 17.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F6EDCB
deuteranopia · #F6EECE
tritanopia · #F3EBE6

Color scale — 50 to 950

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

#FAFBF4
#F5F6E9
#eef0cd
#E2E5A9
#D3D87E
#C4CB52
#B5BC39
#979D2F
#797E26
#585B1F
#373913
Base = 200Lightest = 50 · #FAFBF4Darkest = 950 · #373913
:root {
  --brand-50: #FAFBF4;
  --brand-100: #F5F6E9;
  --brand-200: #eef0cd;
  --brand-300: #E2E5A9;
  --brand-400: #D3D87E;
  --brand-500: #C4CB52;
  --brand-600: #B5BC39;
  --brand-700: #979D2F;
  --brand-800: #797E26;
  --brand-900: #585B1F;
  --brand-950: #373913;
  --brand: #eef0cd;
  --brand-ink: #000000;
}

Colors that work with #eef0cd

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#EAECC0
Hairlines and dividers
Muted text#969B4B
Captions on the surface
Accent#2C42A0
Second voice, not a rival
Dark variant#5E621D
Hover, pressed, headers
Light variant#F8F9EB
Selected rows, tints
Dark surface#242414
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 #eef0cd

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#CFCDF0
Analogous left#F0E1CD
Analogous right#DDF0CD
Split-complement 1#CDDDF0
Split-complement 2#E1CDF0
Triadic 1#CDEEF0
Triadic 2#F0CDEE
Tetradic#CDF0E1

RGB percentages

Red93.3%
Green94.1%
Blue80.4%

CMYK percentages

Cyan0.8%
Magenta0.0%
Yellow14.6%
Key (black)5.9%

Color previews

#eef0cd text on a black background

contrast 17.98:1

Card sample

#eef0cd text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eef0cd

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.

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

#eef0cd, answered

What color is #eef0cd?

#eef0cd is a pale vivid yellow, closest to Light Goldenrod Yellow (ΔE2000 2.6). It sits at 63° on the hue wheel with 54% saturation and 87% lightness, which reads as warm.

What is the RGB value of #eef0cd?

rgb(238, 240, 205) — 238 red, 240 green and 205 blue out of 255, or 93.3% / 94.1% / 80.4% by channel.

Is #eef0cd a light or a dark color?

It is a light color. Relative luminance is 0.8491 and perceived brightness is 92%, so black text on it reaches 17.98:1.

Should I use black or white text on #eef0cd?

Black. It scores 17.98:1 against #eef0cd, versus 1.17:1 for white — AAA at any size.

What is the complementary color of #eef0cd?

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

What colors go well with #eef0cd?

For interface work: #FAFAF4 as the surface, #EAECC0 for borders, #969B4B for secondary text, #2C42A0 as an accent and #5E621D for hover and pressed states. For a palette, the analogous pair #F0E1CD and #DDF0CD stays calm, while #CFCDF0 is the loudest partner.

What is #eef0cd in CMYK for printing?

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

Is #eef0cd warm or cool?

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

Work with #eef0cd in the Color Lab