Skip to content

#eef2ac

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

RGB
238, 242, 172
HSL
63°, 73%, 81%
CMYK
2, 0, 29, 5
Luminance
0.8466

At a glance

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

Hex
#eef2ac
Hue
63°
yellow
Saturation
73%
vivid
Lightness
81%
light
Brightness
95%
HSV value
Perceived
92%
weighted brightness
Luminance
0.8466
WCAG relative
Temperature
Warm
28/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
17.93:1
Closest name
Pale Goldenrod
ΔE2000 3.5
Where it sits
Hue63° of 360°
Saturation73%
Lightness81%
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#eef2ac
RGBrgb(238, 242, 172)
HSLhsl(63, 73%, 81%)
CMYKcmyk(2%, 0%, 29%, 5%)
LABlab(93.7 -12.1 33.4)
LCHlch(93.7 35.5 109.9)
OKLCHoklch(0.942 0.089 110.7)
Decimal15659692
Display P3color(display-p3 0.933 0.949 0.675)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eef2ac on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#eef2ac on black: 17.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FDECA7
deuteranopia · #FDEEAF
tritanopia · #F7EAE0

Color scale — 50 to 950

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

#FBFCF3
#F7F8E7
#F1F3C9
#eef2ac
#E1E86E
#D7E13D
#CAD421
#A8B01C
#868D16
#626614
#3D400D
Base = 300Lightest = 50 · #FBFCF3Darkest = 950 · #3D400D
:root {
  --brand-50: #FBFCF3;
  --brand-100: #F7F8E7;
  --brand-200: #F1F3C9;
  --brand-300: #eef2ac;
  --brand-400: #E1E86E;
  --brand-500: #D7E13D;
  --brand-600: #CAD421;
  --brand-700: #A8B01C;
  --brand-800: #868D16;
  --brand-900: #626614;
  --brand-950: #3D400D;
  --brand: #eef2ac;
  --brand-ink: #000000;
}

Colors that work with #eef2ac

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#EAEDC0
Hairlines and dividers
Muted text#969B4B
Captions on the surface
Accent#1735B5
Second voice, not a rival
Dark variant#696E11
Hover, pressed, headers
Light variant#FAFCE9
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 #eef2ac

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#B0ACF2
Analogous left#F2D3AC
Analogous right#CBF2AC
Split-complement 1#ACCBF2
Split-complement 2#D3ACF2
Triadic 1#ACEEF2
Triadic 2#F2ACEE
Tetradic#ACF2D3

RGB percentages

Red93.3%
Green94.9%
Blue67.5%

CMYK percentages

Cyan1.7%
Magenta0.0%
Yellow28.9%
Key (black)5.1%

Color previews

#eef2ac text on a black background

contrast 17.93:1

Card sample

#eef2ac text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eef2ac

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.

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

#eef2ac, answered

What color is #eef2ac?

#eef2ac is a light vivid yellow, closest to Pale Goldenrod (ΔE2000 3.5). It sits at 63° on the hue wheel with 73% saturation and 81% lightness, which reads as warm.

What is the RGB value of #eef2ac?

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

Is #eef2ac a light or a dark color?

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

Should I use black or white text on #eef2ac?

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

What is the complementary color of #eef2ac?

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

What colors go well with #eef2ac?

For interface work: #FAFAF4 as the surface, #EAEDC0 for borders, #969B4B for secondary text, #1735B5 as an accent and #696E11 for hover and pressed states. For a palette, the analogous pair #F2D3AC and #CBF2AC stays calm, while #B0ACF2 is the loudest partner.

What is #eef2ac in CMYK for printing?

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

Is #eef2ac 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 #F2DCAC; nudged cooler, #D5F3AB.

Work with #eef2ac in the Color Lab