Skip to content

#e6f721

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

RGB
230, 247, 33
HSL
65°, 93%, 55%
CMYK
7, 0, 87, 3
Luminance
0.8345

At a glance

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

Hex
#e6f721
Hue
65°
yellow
Saturation
93%
electric
Lightness
55%
balanced
Brightness
97%
HSV value
Perceived
89%
weighted brightness
Luminance
0.8345
WCAG relative
Temperature
Warm
29/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
17.69:1
Closest name
Yellow
ΔE2000 4.4
Where it sits
Hue65° of 360°
Saturation93%
Lightness55%
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#e6f721
RGBrgb(230, 247, 33)
HSLhsl(65, 93%, 55%)
CMYKcmyk(7%, 0%, 87%, 3%)
LABlab(93.2 -27.6 87.2)
LCHlch(93.2 91.5 107.6)
OKLCHoklch(0.932 0.205 114.8)
Decimal15136545
Display P3color(display-p3 0.902 0.969 0.129)

Copy-ready code

/* CSS */
color: #e6f721;
background-color: #e6f721;
/* Tailwind (arbitrary) */
class="text-[#e6f721] bg-[#e6f721]"
/* SCSS */
$brand: #e6f721;
/* SwiftUI */
Color(red: 0.902, green: 0.969, blue: 0.129)
/* Android */
Color.parseColor("#e6f721")
/* Flutter */
Color(0xFFE6F721)
/* Python / OpenCV (BGR) */
(33, 247, 230)

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

Accessibility — WCAG contrast

Aa
#e6f721 on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#e6f721 on black: 17.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFEA00
deuteranopia · #FFED3C
tritanopia · #F6E8D3

Color scale — 50 to 950

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

#FCFDF2
#F9FBE4
#F5F9C2
#F3FB93
#EDF95D
#e6f721
#DAEC09
#B6C507
#919D06
#697209
#424706
Base = 500Lightest = 50 · #FCFDF2Darkest = 950 · #424706
:root {
  --brand-50: #FCFDF2;
  --brand-100: #F9FBE4;
  --brand-200: #F5F9C2;
  --brand-300: #F3FB93;
  --brand-400: #EDF95D;
  --brand-500: #e6f721;
  --brand-600: #DAEC09;
  --brand-700: #B6C507;
  --brand-800: #919D06;
  --brand-900: #697209;
  --brand-950: #424706;
  --brand: #e6f721;
  --brand-ink: #000000;
}

Colors that work with #e6f721

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#949B4B
Captions on the surface
Accent#1C42FC
Second voice, not a rival
Dark variant#727B04
Hover, pressed, headers
Light variant#FCFEE6
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 #e6f721

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#3221F7
Analogous left#F79D21
Analogous right#7BF721
Split-complement 1#217BF7
Split-complement 2#9D21F7
Triadic 1#21E6F7
Triadic 2#F721E6
Tetradic#21F79D

RGB percentages

Red90.2%
Green96.9%
Blue12.9%

CMYK percentages

Cyan6.9%
Magenta0.0%
Yellow86.6%
Key (black)3.1%

Color previews

#e6f721 text on a black background

contrast 17.69:1

Card sample

#e6f721 text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(230, 247, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(230, 247, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e6f721;
background: linear-gradient(135deg, #e6f721, #57F721);

Monochromatic scale

Palettes built from #e6f721

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.

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

#e6f721, answered

What color is #e6f721?

#e6f721 is a balanced electric yellow, closest to Yellow (ΔE2000 4.4). It sits at 65° on the hue wheel with 93% saturation and 55% lightness, which reads as warm.

What is the RGB value of #e6f721?

rgb(230, 247, 33) — 230 red, 247 green and 33 blue out of 255, or 90.2% / 96.9% / 12.9% by channel.

Is #e6f721 a light or a dark color?

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

Should I use black or white text on #e6f721?

Black. It scores 17.69:1 against #e6f721, versus 1.19:1 for white — AAA at any size.

What is the complementary color of #e6f721?

#3221F7 sits directly opposite on the wheel. Softer options are the split-complements #217BF7 and #9D21F7, which give the same contrast with far less vibration.

What colors go well with #e6f721?

For interface work: #FAFAF4 as the surface, #E9EDC0 for borders, #949B4B for secondary text, #1C42FC as an accent and #727B04 for hover and pressed states. For a palette, the analogous pair #F79D21 and #7BF721 stays calm, while #3221F7 is the loudest partner.

What is #e6f721 in CMYK for printing?

cmyk(7%, 0%, 87%, 3%). 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 #e6f721 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 #F7BD21; nudged cooler, #98F91F.

Work with #e6f721 in the Color Lab