Skip to content

#ebed4f

a balanced, electric yellow · warm · closest name: Yellow

RGB
235, 237, 79
HSL
61°, 81%, 62%
CMYK
1, 0, 67, 7
Luminance
0.7880

At a glance

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

Hex
#ebed4f
Hue
61°
yellow
Saturation
81%
electric
Lightness
62%
balanced
Brightness
93%
HSV value
Perceived
88%
weighted brightness
Luminance
0.7880
WCAG relative
Temperature
Warm
26/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
16.76:1
Closest name
Yellow
ΔE2000 5.9
Where it sits
Hue61° of 360°
Saturation81%
Lightness62%
Temperature
Warm ← → Cool26% 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#ebed4f
RGBrgb(235, 237, 79)
HSLhsl(61, 81%, 62%)
CMYKcmyk(1%, 0%, 67%, 7%)
LABlab(91.1 -19.1 72.7)
LCHlch(91.1 75.2 104.8)
OKLCHoklch(0.917 0.173 110.1)
Decimal15461711
Display P3color(display-p3 0.922 0.929 0.310)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebed4f on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#ebed4f on black: 16.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFE337
deuteranopia · #FFE85A
tritanopia · #FBDFCD

Color scale — 50 to 950

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

#FCFCF2
#F9F9E6
#F5F6C6
#F3F599
#ebed4f
#E8EA33
#DBDE17
#B7B913
#92940F
#6A6B0F
#42430A
Base = 400Lightest = 50 · #FCFCF2Darkest = 950 · #42430A
:root {
  --brand-50: #FCFCF2;
  --brand-100: #F9F9E6;
  --brand-200: #F5F6C6;
  --brand-300: #F3F599;
  --brand-400: #ebed4f;
  --brand-500: #E8EA33;
  --brand-600: #DBDE17;
  --brand-700: #B7B913;
  --brand-800: #92940F;
  --brand-900: #6A6B0F;
  --brand-950: #42430A;
  --brand: #ebed4f;
  --brand-ink: #000000;
}

Colors that work with #ebed4f

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#ECEDC0
Hairlines and dividers
Muted text#9A9B4B
Captions on the surface
Accent#4B73F1
Second voice, not a rival
Dark variant#72740C
Hover, pressed, headers
Light variant#FCFDE8
Selected rows, tints
Dark surface#242414
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 #ebed4f

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
  • 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
  • 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#514FED
Analogous left#EDA04F
Analogous right#9CED4F
Split-complement 1#4F9CED
Split-complement 2#A04FED
Triadic 1#4FEBED
Triadic 2#ED4FEB
Tetradic#4FEDA0

RGB percentages

Red92.2%
Green92.9%
Blue31.0%

CMYK percentages

Cyan0.8%
Magenta0.0%
Yellow66.7%
Key (black)7.1%

Color previews

#ebed4f text on a black background

contrast 16.76:1

Card sample

#ebed4f text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(235, 237, 79, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(235, 237, 79, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ebed4f;
background: linear-gradient(135deg, #ebed4f, #82ED4F);

Monochromatic scale

Palettes built from #ebed4f

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.

#ebed4f 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
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#ebed4f, answered

What color is #ebed4f?

#ebed4f is a balanced electric yellow, closest to Yellow (ΔE2000 5.9). It sits at 61° on the hue wheel with 81% saturation and 62% lightness, which reads as warm.

What is the RGB value of #ebed4f?

rgb(235, 237, 79) — 235 red, 237 green and 79 blue out of 255, or 92.2% / 92.9% / 31% by channel.

Is #ebed4f a light or a dark color?

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

Should I use black or white text on #ebed4f?

Black. It scores 16.76:1 against #ebed4f, versus 1.25:1 for white — AAA at any size.

What is the complementary color of #ebed4f?

#514FED sits directly opposite on the wheel. Softer options are the split-complements #4F9CED and #A04FED, which give the same contrast with far less vibration.

What colors go well with #ebed4f?

For interface work: #FAFAF4 as the surface, #ECEDC0 for borders, #9A9B4B for secondary text, #4B73F1 as an accent and #72740C for hover and pressed states. For a palette, the analogous pair #EDA04F and #9CED4F stays calm, while #514FED is the loudest partner.

What is #ebed4f in CMYK for printing?

cmyk(1%, 0%, 67%, 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 #ebed4f warm or cool?

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

Work with #ebed4f in the Color Lab