Skip to content

#ecf413

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

RGB
236, 244, 19
HSL
62°, 91%, 52%
CMYK
3, 0, 92, 4
Luminance
0.8258

At a glance

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

Hex
#ecf413
Hue
62°
yellow
Saturation
91%
electric
Lightness
52%
balanced
Brightness
96%
HSV value
Perceived
89%
weighted brightness
Luminance
0.8258
WCAG relative
Temperature
Warm
27/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
17.52:1
Closest name
Yellow
ΔE2000 3.2
Where it sits
Hue62° of 360°
Saturation91%
Lightness52%
Temperature
Warm ← → Cool27% 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#ecf413
RGBrgb(236, 244, 19)
HSLhsl(62, 91%, 52%)
CMYKcmyk(3%, 0%, 92%, 4%)
LABlab(92.8 -24.0 89.1)
LCHlch(92.8 92.3 105.1)
OKLCHoklch(0.930 0.204 112.2)
Decimal15528979
Display P3color(display-p3 0.925 0.957 0.075)

Copy-ready code

/* CSS */
color: #ecf413;
background-color: #ecf413;
/* Tailwind (arbitrary) */
class="text-[#ecf413] bg-[#ecf413]"
/* SCSS */
$brand: #ecf413;
/* SwiftUI */
Color(red: 0.925, green: 0.957, blue: 0.075)
/* Android */
Color.parseColor("#ecf413")
/* Flutter */
Color(0xFFECF413)
/* Python / OpenCV (BGR) */
(19, 244, 236)

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

Accessibility — WCAG contrast

Aa
#ecf413 on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#ecf413 on black: 17.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFE800
deuteranopia · #FFED35
tritanopia · #FDE4D0

Color scale — 50 to 950

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

#FDFDF2
#FAFBE5
#F7F9C3
#F6FA94
#F2F85E
#EEF529
#ecf413
#BCC309
#979C07
#6D700A
#444606
Base = 600Lightest = 50 · #FDFDF2Darkest = 950 · #444606
:root {
  --brand-50: #FDFDF2;
  --brand-100: #FAFBE5;
  --brand-200: #F7F9C3;
  --brand-300: #F6FA94;
  --brand-400: #F2F85E;
  --brand-500: #EEF529;
  --brand-600: #ecf413;
  --brand-700: #BCC309;
  --brand-800: #979C07;
  --brand-900: #6D700A;
  --brand-950: #444606;
  --brand: #ecf413;
  --brand-ink: #000000;
}

Colors that work with #ecf413

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#EBEDC0
Hairlines and dividers
Muted text#989B4B
Captions on the surface
Accent#0E41F9
Second voice, not a rival
Dark variant#767A06
Hover, pressed, headers
Light variant#FDFEE7
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 #ecf413

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#1B13F4
Analogous left#F48B13
Analogous right#7CF413
Split-complement 1#137CF4
Split-complement 2#8B13F4
Triadic 1#13ECF4
Triadic 2#F413EC
Tetradic#13F48B

RGB percentages

Red92.5%
Green95.7%
Blue7.5%

CMYK percentages

Cyan3.3%
Magenta0.0%
Yellow92.2%
Key (black)4.3%

Color previews

#ecf413 text on a black background

contrast 17.52:1

Card sample

#ecf413 text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(236, 244, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 244, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ecf413;
background: linear-gradient(135deg, #ecf413, #56F413);

Monochromatic scale

Palettes built from #ecf413

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.

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

#ecf413, answered

What color is #ecf413?

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

What is the RGB value of #ecf413?

rgb(236, 244, 19) — 236 red, 244 green and 19 blue out of 255, or 92.5% / 95.7% / 7.5% by channel.

Is #ecf413 a light or a dark color?

It is a light color. Relative luminance is 0.8258 and perceived brightness is 89%, so black text on it reaches 17.52:1.

Should I use black or white text on #ecf413?

Black. It scores 17.52:1 against #ecf413, versus 1.20:1 for white — AAA at any size.

What is the complementary color of #ecf413?

#1B13F4 sits directly opposite on the wheel. Softer options are the split-complements #137CF4 and #8B13F4, which give the same contrast with far less vibration.

What colors go well with #ecf413?

For interface work: #FAFAF4 as the surface, #EBEDC0 for borders, #989B4B for secondary text, #0E41F9 as an accent and #767A06 for hover and pressed states. For a palette, the analogous pair #F48B13 and #7CF413 stays calm, while #1B13F4 is the loudest partner.

What is #ecf413 in CMYK for printing?

cmyk(3%, 0%, 92%, 4%). 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 #ecf413 warm or cool?

Warm — it scores 27 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F4B513; nudged cooler, #9AF611.

Work with #ecf413 in the Color Lab