Skip to content

#eedc7d

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

RGB
238, 220, 125
HSL
50°, 77%, 71%
CMYK
0, 8, 48, 7
Luminance
0.7084

At a glance

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

Hex
#eedc7d
Hue
50°
yellow
Saturation
77%
electric
Lightness
71%
light
Brightness
93%
HSV value
Perceived
85%
weighted brightness
Luminance
0.7084
WCAG relative
Temperature
Warm
17/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
15.17:1
Closest name
Khaki
ΔE2000 3.1
Where it sits
Hue50° of 360°
Saturation77%
Lightness71%
Temperature
Warm ← → Cool17% 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#eedc7d
RGBrgb(238, 220, 125)
HSLhsl(50, 77%, 71%)
CMYKcmyk(0%, 8%, 48%, 7%)
LABlab(87.4 -6.2 48.6)
LCHlch(87.4 49.0 97.3)
OKLCHoklch(0.889 0.118 98.8)
Decimal15654013
Display P3color(display-p3 0.933 0.863 0.490)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eedc7d on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#eedc7d on black: 15.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #ECD775
deuteranopia · #F1DE81
tritanopia · #FDD0C5

Color scale — 50 to 950

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

#FCFAF3
#F9F6E7
#F4EDC7
#F2E49C
#eedc7d
#E5C939
#D9BA1C
#B49B18
#907C13
#685B12
#41390B
Base = 400Lightest = 50 · #FCFAF3Darkest = 950 · #41390B
:root {
  --brand-50: #FCFAF3;
  --brand-100: #F9F6E7;
  --brand-200: #F4EDC7;
  --brand-300: #F2E49C;
  --brand-400: #eedc7d;
  --brand-500: #E5C939;
  --brand-600: #D9BA1C;
  --brand-700: #B49B18;
  --brand-800: #907C13;
  --brand-900: #685B12;
  --brand-950: #41390B;
  --brand: #eedc7d;
  --brand-ink: #000000;
}

Colors that work with #eedc7d

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#FAF9F4
Tinted page background
Border#EDE5C0
Hairlines and dividers
Muted text#9B8E4B
Captions on the surface
Accent#1357B9
Second voice, not a rival
Dark variant#71610F
Hover, pressed, headers
Light variant#FCF9E8
Selected rows, tints
Dark surface#242214
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 #eedc7d

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#7D8FEE
Analogous left#EEA37D
Analogous right#C8EE7D
Split-complement 1#7DC8EE
Split-complement 2#A37DEE
Triadic 1#7DEEDC
Triadic 2#DC7DEE
Tetradic#7DEEA3

RGB percentages

Red93.3%
Green86.3%
Blue49.0%

CMYK percentages

Cyan0.0%
Magenta7.6%
Yellow47.5%
Key (black)6.7%

Color previews

#eedc7d text on a black background

contrast 15.17:1

Card sample

#eedc7d text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eedc7d

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.

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

#eedc7d, answered

What color is #eedc7d?

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

What is the RGB value of #eedc7d?

rgb(238, 220, 125) — 238 red, 220 green and 125 blue out of 255, or 93.3% / 86.3% / 49% by channel.

Is #eedc7d a light or a dark color?

It is a light color. Relative luminance is 0.7084 and perceived brightness is 85%, so black text on it reaches 15.17:1.

Should I use black or white text on #eedc7d?

Black. It scores 15.17:1 against #eedc7d, versus 1.38:1 for white — AAA at any size.

What is the complementary color of #eedc7d?

#7D8FEE sits directly opposite on the wheel. Softer options are the split-complements #7DC8EE and #A37DEE, which give the same contrast with far less vibration.

What colors go well with #eedc7d?

For interface work: #FAF9F4 as the surface, #EDE5C0 for borders, #9B8E4B for secondary text, #1357B9 as an accent and #71610F for hover and pressed states. For a palette, the analogous pair #EEA37D and #C8EE7D stays calm, while #7D8FEE is the loudest partner.

What is #eedc7d in CMYK for printing?

cmyk(0%, 8%, 48%, 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 #eedc7d warm or cool?

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

Work with #eedc7d in the Color Lab