Skip to content

#ebfa2c

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

RGB
235, 250, 44
HSL
64°, 95%, 58%
CMYK
6, 0, 82, 2
Luminance
0.8622

At a glance

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

Hex
#ebfa2c
Hue
64°
yellow
Saturation
95%
electric
Lightness
58%
balanced
Brightness
98%
HSV value
Perceived
91%
weighted brightness
Luminance
0.8622
WCAG relative
Temperature
Warm
29/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
18.24:1
Closest name
Yellow
ΔE2000 4
Where it sits
Hue64° of 360°
Saturation95%
Lightness58%
Temperature
Warm ← → Cool29% 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#ebfa2c
RGBrgb(235, 250, 44)
HSLhsl(64, 95%, 58%)
CMYKcmyk(6%, 0%, 82%, 2%)
LABlab(94.4 -26.7 86.2)
LCHlch(94.4 90.2 107.2)
OKLCHoklch(0.943 0.203 114.2)
Decimal15465004
Display P3color(display-p3 0.922 0.980 0.173)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebfa2c on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#ebfa2c on black: 18.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFED00
deuteranopia · #FFF143
tritanopia · #FBEBD6

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ebfa2c is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FCFDF1
#FAFCE4
#F6FAC2
#F5FC91
#EFFB5B
#ebfa2c
#DEEF06
#B9C705
#949F04
#6B7307
#434805
Base = 500Lightest = 50 · #FCFDF1Darkest = 950 · #434805
:root {
  --brand-50: #FCFDF1;
  --brand-100: #FAFCE4;
  --brand-200: #F6FAC2;
  --brand-300: #F5FC91;
  --brand-400: #EFFB5B;
  --brand-500: #ebfa2c;
  --brand-600: #DEEF06;
  --brand-700: #B9C705;
  --brand-800: #949F04;
  --brand-900: #6B7307;
  --brand-950: #434805;
  --brand: #ebfa2c;
  --brand-ink: #000000;
}

Colors that work with #ebfa2c

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#E9EDC0
Hairlines and dividers
Muted text#959B4B
Captions on the surface
Accent#274DFE
Second voice, not a rival
Dark variant#747D03
Hover, pressed, headers
Light variant#FDFEE6
Selected rows, tints
Dark surface#232414
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 #ebfa2c

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#3B2CFA
Analogous left#FAA22C
Analogous right#84FA2C
Split-complement 1#2C84FA
Split-complement 2#A22CFA
Triadic 1#2CEBFA
Triadic 2#FA2CEB
Tetradic#2CFAA2

RGB percentages

Red92.2%
Green98.0%
Blue17.3%

CMYK percentages

Cyan6.0%
Magenta0.0%
Yellow82.4%
Key (black)2.0%

Color previews

#ebfa2c text on a black background

contrast 18.24:1

Card sample

#ebfa2c text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(235, 250, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(235, 250, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ebfa2c;
background: linear-gradient(135deg, #ebfa2c, #61FA2C);

Monochromatic scale

Palettes built from #ebfa2c

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.

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

#ebfa2c, answered

What color is #ebfa2c?

#ebfa2c is a balanced electric yellow, closest to Yellow (ΔE2000 4). It sits at 64° on the hue wheel with 95% saturation and 58% lightness, which reads as warm.

What is the RGB value of #ebfa2c?

rgb(235, 250, 44) — 235 red, 250 green and 44 blue out of 255, or 92.2% / 98% / 17.3% by channel.

Is #ebfa2c a light or a dark color?

It is a light color. Relative luminance is 0.8622 and perceived brightness is 91%, so black text on it reaches 18.24:1.

Should I use black or white text on #ebfa2c?

Black. It scores 18.24:1 against #ebfa2c, versus 1.15:1 for white — AAA at any size.

What is the complementary color of #ebfa2c?

#3B2CFA sits directly opposite on the wheel. Softer options are the split-complements #2C84FA and #A22CFA, which give the same contrast with far less vibration.

What colors go well with #ebfa2c?

For interface work: #FAFAF4 as the surface, #E9EDC0 for borders, #959B4B for secondary text, #274DFE as an accent and #747D03 for hover and pressed states. For a palette, the analogous pair #FAA22C and #84FA2C stays calm, while #3B2CFA is the loudest partner.

What is #ebfa2c in CMYK for printing?

cmyk(6%, 0%, 82%, 2%). 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 #ebfa2c warm or cool?

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

Work with #ebfa2c in the Color Lab