Skip to content

#eee68f

a light, vivid yellow · warm · “Khaki”

RGB
238, 230, 143
HSL
55°, 74%, 75%
CMYK
0, 3, 40, 7
Luminance
0.7675

At a glance

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

Hex
#eee68f
Hue
55°
yellow
Saturation
74%
vivid
Lightness
75%
light
Brightness
93%
HSV value
Perceived
88%
weighted brightness
Luminance
0.7675
WCAG relative
Temperature
Warm
21/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
16.35:1
Closest name
Khaki
ΔE2000 0.7
Where it sits
Hue55° of 360°
Saturation74%
Lightness75%
Temperature
Warm ← → Cool21% 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#eee68f
RGBrgb(238, 230, 143)
HSLhsl(55, 74%, 75%)
CMYKcmyk(0%, 3%, 40%, 7%)
LABlab(90.2 -9.5 43.3)
LCHlch(90.2 44.4 102.3)
OKLCHoklch(0.912 0.109 103.8)
Decimal15656591
Display P3color(display-p3 0.933 0.902 0.561)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eee68f on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#eee68f on black: 16.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F4E088
deuteranopia · #F7E593
tritanopia · #FBDBD1

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #eee68f 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
#F3F0C8
#eee68f
#E9DE6D
#E1D33C
#D4C520
#B1A41B
#8E8316
#676014
#403C0C
Base = 300Lightest = 50 · #FCFBF3Darkest = 950 · #403C0C
:root {
  --brand-50: #FCFBF3;
  --brand-100: #F8F7E7;
  --brand-200: #F3F0C8;
  --brand-300: #eee68f;
  --brand-400: #E9DE6D;
  --brand-500: #E1D33C;
  --brand-600: #D4C520;
  --brand-700: #B1A41B;
  --brand-800: #8E8316;
  --brand-900: #676014;
  --brand-950: #403C0C;
  --brand: #eee68f;
  --brand-ink: #000000;
}

Colors that work with #eee68f

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#EDE9C0
Hairlines and dividers
Muted text#9B944B
Captions on the surface
Accent#164CB6
Second voice, not a rival
Dark variant#6F6711
Hover, pressed, headers
Light variant#FCFAE9
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 #eee68f

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#8F97EE
Analogous left#EEB68F
Analogous right#C7EE8F
Split-complement 1#8FC7EE
Split-complement 2#B68FEE
Triadic 1#8FEEE6
Triadic 2#E68FEE
Tetradic#8FEEB6

RGB percentages

Red93.3%
Green90.2%
Blue56.1%

CMYK percentages

Cyan0.0%
Magenta3.4%
Yellow39.9%
Key (black)6.7%

Color previews

#eee68f text on a black background

contrast 16.35:1

Card sample

#eee68f text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eee68f

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.

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

#eee68f, answered

What color is #eee68f?

#eee68f is a light vivid yellow — the CSS keyword Khaki. It sits at 55° on the hue wheel with 74% saturation and 75% lightness, which reads as warm.

What is the RGB value of #eee68f?

rgb(238, 230, 143) — 238 red, 230 green and 143 blue out of 255, or 93.3% / 90.2% / 56.1% by channel.

Is #eee68f a light or a dark color?

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

Should I use black or white text on #eee68f?

Black. It scores 16.35:1 against #eee68f, versus 1.28:1 for white — AAA at any size.

What is the complementary color of #eee68f?

#8F97EE sits directly opposite on the wheel. Softer options are the split-complements #8FC7EE and #B68FEE, which give the same contrast with far less vibration.

What colors go well with #eee68f?

For interface work: #FAFAF4 as the surface, #EDE9C0 for borders, #9B944B for secondary text, #164CB6 as an accent and #6F6711 for hover and pressed states. For a palette, the analogous pair #EEB68F and #C7EE8F stays calm, while #8F97EE is the loudest partner.

What is #eee68f in CMYK for printing?

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

Is #eee68f warm or cool?

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

Work with #eee68f in the Color Lab