Skip to content

#ebda8d

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

RGB
235, 218, 141
HSL
49°, 70%, 74%
CMYK
0, 7, 40, 8
Luminance
0.6973

At a glance

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

Hex
#ebda8d
Hue
49°
yellow
Saturation
70%
vivid
Lightness
74%
light
Brightness
92%
HSV value
Perceived
85%
weighted brightness
Luminance
0.6973
WCAG relative
Temperature
Warm
16/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
14.95:1
Closest name
Khaki
ΔE2000 3.7
Where it sits
Hue49° of 360°
Saturation70%
Lightness74%
Temperature
Warm ← → Cool16% 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#ebda8d
RGBrgb(235, 218, 141)
HSLhsl(49, 70%, 74%)
CMYKcmyk(0%, 7%, 40%, 8%)
LABlab(86.9 -4.8 40.0)
LCHlch(86.9 40.3 96.9)
OKLCHoklch(0.885 0.099 97.2)
Decimal15456909
Display P3color(display-p3 0.922 0.855 0.553)

Copy-ready code

/* CSS */
color: #ebda8d;
background-color: #ebda8d;
/* Tailwind (arbitrary) */
class="text-[#ebda8d] bg-[#ebda8d]"
/* SCSS */
$brand: #ebda8d;
/* SwiftUI */
Color(red: 0.922, green: 0.855, blue: 0.553)
/* Android */
Color.parseColor("#ebda8d")
/* Flutter */
Color(0xFFEBDA8D)
/* Python / OpenCV (BGR) */
(141, 218, 235)

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 #ebda8d · 14.95:1
Use #000000AAA at every size.
Aa
White text · 1.41:1
AA fail · AA large fail · AAA fail
Aa
Black text · 14.95:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ebda8d as text scores 1.41:1 on white and 14.95:1 on black.

Accessibility — WCAG contrast

Aa
#ebda8d on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#ebda8d on black: 14.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E8D687
deuteranopia · #EDDC90
tritanopia · #F8CFC7

Color scale — 50 to 950

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

#FCFAF3
#F8F5E7
#F2EBC9
#ebda8d
#E6D070
#DDC140
#D0B125
#AE941E
#8B7618
#655616
#3F360E
Base = 300Lightest = 50 · #FCFAF3Darkest = 950 · #3F360E
:root {
  --brand-50: #FCFAF3;
  --brand-100: #F8F5E7;
  --brand-200: #F2EBC9;
  --brand-300: #ebda8d;
  --brand-400: #E6D070;
  --brand-500: #DDC140;
  --brand-600: #D0B125;
  --brand-700: #AE941E;
  --brand-800: #8B7618;
  --brand-900: #655616;
  --brand-950: #3F360E;
  --brand: #ebda8d;
  --brand-ink: #000000;
}

Colors that work with #ebda8d

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#EDE4C0
Hairlines and dividers
Muted text#9B8C4B
Captions on the surface
Accent#1A5BB2
Second voice, not a rival
Dark variant#6C5C13
Hover, pressed, headers
Light variant#FBF8E9
Selected rows, tints
Dark surface#242114
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 #ebda8d

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#8D9EEB
Analogous left#EBAB8D
Analogous right#CDEB8D
Split-complement 1#8DCDEB
Split-complement 2#AB8DEB
Triadic 1#8DEBDA
Triadic 2#DA8DEB
Tetradic#8DEBAB

RGB percentages

Red92.2%
Green85.5%
Blue55.3%

CMYK percentages

Cyan0.0%
Magenta7.2%
Yellow40.0%
Key (black)7.8%

Color previews

#ebda8d text on a black background

contrast 14.95:1

Card sample

#ebda8d text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(235, 218, 141, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(235, 218, 141, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ebda8d;
background: linear-gradient(135deg, #ebda8d, #BDEB8D);

Monochromatic scale

Palettes built from #ebda8d

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.

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

#ebda8d, answered

What color is #ebda8d?

#ebda8d is a light vivid yellow, closest to Khaki (ΔE2000 3.7). It sits at 49° on the hue wheel with 70% saturation and 74% lightness, which reads as warm.

What is the RGB value of #ebda8d?

rgb(235, 218, 141) — 235 red, 218 green and 141 blue out of 255, or 92.2% / 85.5% / 55.3% by channel.

Is #ebda8d a light or a dark color?

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

Should I use black or white text on #ebda8d?

Black. It scores 14.95:1 against #ebda8d, versus 1.41:1 for white — AAA at any size.

What is the complementary color of #ebda8d?

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

What colors go well with #ebda8d?

For interface work: #FAF9F4 as the surface, #EDE4C0 for borders, #9B8C4B for secondary text, #1A5BB2 as an accent and #6C5C13 for hover and pressed states. For a palette, the analogous pair #EBAB8D and #CDEB8D stays calm, while #8D9EEB is the loudest partner.

What is #ebda8d in CMYK for printing?

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

Is #ebda8d warm or cool?

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

Work with #ebda8d in the Color Lab