Skip to content

#ebdb7d

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

RGB
235, 219, 125
HSL
51°, 73%, 71%
CMYK
0, 7, 47, 8
Luminance
0.6981

At a glance

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

Hex
#ebdb7d
Hue
51°
yellow
Saturation
73%
vivid
Lightness
71%
light
Brightness
92%
HSV value
Perceived
85%
weighted brightness
Luminance
0.6981
WCAG relative
Temperature
Warm
18/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
14.96:1
Closest name
Khaki
ΔE2000 2.9
Where it sits
Hue51° of 360°
Saturation73%
Lightness71%
Temperature
Warm ← → Cool18% 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#ebdb7d
RGBrgb(235, 219, 125)
HSLhsl(51, 73%, 71%)
CMYKcmyk(0%, 7%, 47%, 8%)
LABlab(86.9 -6.9 48.0)
LCHlch(86.9 48.5 98.2)
OKLCHoklch(0.885 0.117 99.8)
Decimal15457149
Display P3color(display-p3 0.922 0.859 0.490)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebdb7d on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#ebdb7d on black: 14.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #EBD675
deuteranopia · #F0DC81
tritanopia · #FACFC5

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ebdb7d 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
#F8F6E7
#F3EDC8
#F0E49E
#ebdb7d
#E1C93D
#D4BA21
#B19B1B
#8D7C16
#665B14
#40390C
Base = 400Lightest = 50 · #FCFAF3Darkest = 950 · #40390C
:root {
  --brand-50: #FCFAF3;
  --brand-100: #F8F6E7;
  --brand-200: #F3EDC8;
  --brand-300: #F0E49E;
  --brand-400: #ebdb7d;
  --brand-500: #E1C93D;
  --brand-600: #D4BA21;
  --brand-700: #B19B1B;
  --brand-800: #8D7C16;
  --brand-900: #665B14;
  --brand-950: #40390C;
  --brand: #ebdb7d;
  --brand-ink: #000000;
}

Colors that work with #ebdb7d

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#EDE6C0
Hairlines and dividers
Muted text#9B8F4B
Captions on the surface
Accent#1756B5
Second voice, not a rival
Dark variant#6E6111
Hover, pressed, headers
Light variant#FCF9E9
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 #ebdb7d

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#7D8DEB
Analogous left#EBA47D
Analogous right#C4EB7D
Split-complement 1#7DC4EB
Split-complement 2#A47DEB
Triadic 1#7DEBDB
Triadic 2#DB7DEB
Tetradic#7DEBA4

RGB percentages

Red92.2%
Green85.9%
Blue49.0%

CMYK percentages

Cyan0.0%
Magenta6.8%
Yellow46.8%
Key (black)7.8%

Color previews

#ebdb7d text on a black background

contrast 14.96:1

Card sample

#ebdb7d text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebdb7d

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.

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

#ebdb7d, answered

What color is #ebdb7d?

#ebdb7d is a light vivid yellow, closest to Khaki (ΔE2000 2.9). It sits at 51° on the hue wheel with 73% saturation and 71% lightness, which reads as warm.

What is the RGB value of #ebdb7d?

rgb(235, 219, 125) — 235 red, 219 green and 125 blue out of 255, or 92.2% / 85.9% / 49% by channel.

Is #ebdb7d a light or a dark color?

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

Should I use black or white text on #ebdb7d?

Black. It scores 14.96:1 against #ebdb7d, versus 1.40:1 for white — AAA at any size.

What is the complementary color of #ebdb7d?

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

What colors go well with #ebdb7d?

For interface work: #FAFAF4 as the surface, #EDE6C0 for borders, #9B8F4B for secondary text, #1756B5 as an accent and #6E6111 for hover and pressed states. For a palette, the analogous pair #EBA47D and #C4EB7D stays calm, while #7D8DEB is the loudest partner.

What is #ebdb7d in CMYK for printing?

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

Is #ebdb7d warm or cool?

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

Work with #ebdb7d in the Color Lab