Skip to content

#ebdb76

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

RGB
235, 219, 118
HSL
52°, 75%, 69%
CMYK
0, 7, 50, 8
Luminance
0.6963

At a glance

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

Hex
#ebdb76
Hue
52°
yellow
Saturation
75%
vivid
Lightness
69%
light
Brightness
92%
HSV value
Perceived
84%
weighted brightness
Luminance
0.6963
WCAG relative
Temperature
Warm
18/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
14.93:1
Closest name
Khaki
ΔE2000 3.3
Where it sits
Hue52° of 360°
Saturation75%
Lightness69%
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#ebdb76
RGBrgb(235, 219, 118)
HSLhsl(52, 75%, 69%)
CMYKcmyk(0%, 7%, 50%, 8%)
LABlab(86.8 -7.5 51.2)
LCHlch(86.8 51.8 98.4)
OKLCHoklch(0.884 0.124 100.5)
Decimal15457142
Display P3color(display-p3 0.922 0.859 0.463)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebdb76 on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#ebdb76 on black: 14.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #ECD66D
deuteranopia · #F0DC7A
tritanopia · #FACFC3

Color scale — 50 to 950

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

#FCFBF3
#F9F6E7
#F4EEC8
#F1E59D
#ebdb76
#E2CC3B
#D6BD1F
#B29D1A
#8E7E15
#675C13
#40390C
Base = 400Lightest = 50 · #FCFBF3Darkest = 950 · #40390C
:root {
  --brand-50: #FCFBF3;
  --brand-100: #F9F6E7;
  --brand-200: #F4EEC8;
  --brand-300: #F1E59D;
  --brand-400: #ebdb76;
  --brand-500: #E2CC3B;
  --brand-600: #D6BD1F;
  --brand-700: #B29D1A;
  --brand-800: #8E7E15;
  --brand-900: #675C13;
  --brand-950: #40390C;
  --brand: #ebdb76;
  --brand-ink: #000000;
}

Colors that work with #ebdb76

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#EDE7C0
Hairlines and dividers
Muted text#9B904B
Captions on the surface
Accent#1653B6
Second voice, not a rival
Dark variant#6F6210
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 #ebdb76

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#7686EB
Analogous left#EBA076
Analogous right#C0EB76
Split-complement 1#76C0EB
Split-complement 2#A076EB
Triadic 1#76EBDB
Triadic 2#DB76EB
Tetradic#76EBA0

RGB percentages

Red92.2%
Green85.9%
Blue46.3%

CMYK percentages

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

Color previews

#ebdb76 text on a black background

contrast 14.93:1

Card sample

#ebdb76 text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebdb76

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.

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

#ebdb76, answered

What color is #ebdb76?

#ebdb76 is a light vivid yellow, closest to Khaki (ΔE2000 3.3). It sits at 52° on the hue wheel with 75% saturation and 69% lightness, which reads as warm.

What is the RGB value of #ebdb76?

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

Is #ebdb76 a light or a dark color?

It is a light color. Relative luminance is 0.6963 and perceived brightness is 84%, so black text on it reaches 14.93:1.

Should I use black or white text on #ebdb76?

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

What is the complementary color of #ebdb76?

#7686EB sits directly opposite on the wheel. Softer options are the split-complements #76C0EB and #A076EB, which give the same contrast with far less vibration.

What colors go well with #ebdb76?

For interface work: #FAFAF4 as the surface, #EDE7C0 for borders, #9B904B for secondary text, #1653B6 as an accent and #6F6210 for hover and pressed states. For a palette, the analogous pair #EBA076 and #C0EB76 stays calm, while #7686EB is the loudest partner.

What is #ebdb76 in CMYK for printing?

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

Is #ebdb76 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 #EBB976; nudged cooler, #D1ED74.

Work with #ebdb76 in the Color Lab