Skip to content

#eee968

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

RGB
238, 233, 104
HSL
58°, 80%, 67%
CMYK
0, 2, 56, 7
Luminance
0.7745

At a glance

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

Hex
#eee968
Hue
58°
yellow
Saturation
80%
electric
Lightness
67%
light
Brightness
93%
HSV value
Perceived
88%
weighted brightness
Luminance
0.7745
WCAG relative
Temperature
Warm
23/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
16.49:1
Closest name
Khaki
ΔE2000 5.2
Where it sits
Hue58° of 360°
Saturation80%
Lightness67%
Temperature
Warm ← → Cool23% 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#eee968
RGBrgb(238, 233, 104)
HSLhsl(58, 80%, 67%)
CMYKcmyk(0%, 2%, 56%, 7%)
LABlab(90.5 -14.4 62.0)
LCHlch(90.5 63.6 103.1)
OKLCHoklch(0.913 0.150 107.0)
Decimal15657320
Display P3color(display-p3 0.933 0.914 0.408)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eee968 on white: 1.27:1
AA ✗ fail · AA-large · AAA
Aa
#eee968 on black: 16.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FAE15A
deuteranopia · #FDE66F
tritanopia · #FDDBCD

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #eee968 is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FCFCF3
#F9F9E6
#F5F3C7
#F4F09A
#eee968
#E8E235
#DCD519
#B7B115
#938E10
#6A6710
#42400A
Base = 400Lightest = 50 · #FCFCF3Darkest = 950 · #42400A
:root {
  --brand-50: #FCFCF3;
  --brand-100: #F9F9E6;
  --brand-200: #F5F3C7;
  --brand-300: #F4F09A;
  --brand-400: #eee968;
  --brand-500: #E8E235;
  --brand-600: #DCD519;
  --brand-700: #B7B115;
  --brand-800: #938E10;
  --brand-900: #6A6710;
  --brand-950: #42400A;
  --brand: #eee968;
  --brand-ink: #000000;
}

Colors that work with #eee968

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#EDEBC0
Hairlines and dividers
Muted text#9B984B
Captions on the surface
Accent#658DF1
Second voice, not a rival
Dark variant#736F0D
Hover, pressed, headers
Light variant#FCFCE8
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 #eee968

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#686DEE
Analogous left#EEA668
Analogous right#B0EE68
Split-complement 1#68B0EE
Split-complement 2#A668EE
Triadic 1#68EEE9
Triadic 2#E968EE
Tetradic#68EEA6

RGB percentages

Red93.3%
Green91.4%
Blue40.8%

CMYK percentages

Cyan0.0%
Magenta2.1%
Yellow56.3%
Key (black)6.7%

Color previews

#eee968 text on a black background

contrast 16.49:1

Card sample

#eee968 text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eee968

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.

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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#eee968, answered

What color is #eee968?

#eee968 is a light electric yellow, closest to Khaki (ΔE2000 5.2). It sits at 58° on the hue wheel with 80% saturation and 67% lightness, which reads as warm.

What is the RGB value of #eee968?

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

Is #eee968 a light or a dark color?

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

Should I use black or white text on #eee968?

Black. It scores 16.49:1 against #eee968, versus 1.27:1 for white — AAA at any size.

What is the complementary color of #eee968?

#686DEE sits directly opposite on the wheel. Softer options are the split-complements #68B0EE and #A668EE, which give the same contrast with far less vibration.

What colors go well with #eee968?

For interface work: #FAFAF4 as the surface, #EDEBC0 for borders, #9B984B for secondary text, #658DF1 as an accent and #736F0D for hover and pressed states. For a palette, the analogous pair #EEA668 and #B0EE68 stays calm, while #686DEE is the loudest partner.

What is #eee968 in CMYK for printing?

cmyk(0%, 2%, 56%, 7%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #eee968 warm or cool?

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

Work with #eee968 in the Color Lab