Skip to content

#e7d607

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

RGB
231, 214, 7
HSL
55°, 94%, 47%
CMYK
0, 7, 97, 9
Luminance
0.6510

At a glance

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

Hex
#e7d607
Hue
55°
yellow
Saturation
94%
electric
Lightness
47%
balanced
Brightness
91%
HSV value
Perceived
81%
weighted brightness
Luminance
0.6510
WCAG relative
Temperature
Warm
21/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
14.02:1
Closest name
Gold
ΔE2000 5.6
Where it sits
Hue55° of 360°
Saturation94%
Lightness47%
Temperature
Warm ← → Cool21% 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#e7d607
RGBrgb(231, 214, 7)
HSLhsl(55, 94%, 47%)
CMYKcmyk(0%, 7%, 97%, 9%)
LABlab(84.5 -11.6 83.8)
LCHlch(84.5 84.6 97.9)
OKLCHoklch(0.863 0.181 103.7)
Decimal15193607
Display P3color(display-p3 0.906 0.839 0.027)

Copy-ready code

/* CSS */
color: #e7d607;
background-color: #e7d607;
/* Tailwind (arbitrary) */
class="text-[#e7d607] bg-[#e7d607]"
/* SCSS */
$brand: #e7d607;
/* SwiftUI */
Color(red: 0.906, green: 0.839, blue: 0.027)
/* Android */
Color.parseColor("#e7d607")
/* Flutter */
Color(0xFFE7D607)
/* Python / OpenCV (BGR) */
(7, 214, 231)

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

Accessibility — WCAG contrast

Aa
#e7d607 on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#e7d607 on black: 14.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #EBCE00
deuteranopia · #F0D728
tritanopia · #F9C6B6

Color scale — 50 to 950

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

#FDFCF2
#FBFAE4
#FAF5C2
#FCF492
#FAEE5C
#F8E825
#e7d607
#C6B706
#9E9305
#726A08
#474205
Base = 600Lightest = 50 · #FDFCF2Darkest = 950 · #474205
:root {
  --brand-50: #FDFCF2;
  --brand-100: #FBFAE4;
  --brand-200: #FAF5C2;
  --brand-300: #FCF492;
  --brand-400: #FAEE5C;
  --brand-500: #F8E825;
  --brand-600: #e7d607;
  --brand-700: #C6B706;
  --brand-800: #9E9305;
  --brand-900: #726A08;
  --brand-950: #474205;
  --brand: #e7d607;
  --brand-ink: #000000;
}

Colors that work with #e7d607

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#EDE9C0
Hairlines and dividers
Muted text#9B954B
Captions on the surface
Accent#024FEC
Second voice, not a rival
Dark variant#7C7304
Hover, pressed, headers
Light variant#FEFCE6
Selected rows, tints
Dark surface#242314
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 #e7d607

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#0718E7
Analogous left#E76607
Analogous right#88E707
Split-complement 1#0788E7
Split-complement 2#6607E7
Triadic 1#07E7D6
Triadic 2#D607E7
Tetradic#07E766

RGB percentages

Red90.6%
Green83.9%
Blue2.7%

CMYK percentages

Cyan0.0%
Magenta7.4%
Yellow97.0%
Key (black)9.4%

Color previews

#e7d607 text on a black background

contrast 14.02:1

Card sample

#e7d607 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(231, 214, 7, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(231, 214, 7, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e7d607;
background: linear-gradient(135deg, #e7d607, #63E707);

Monochromatic scale

Palettes built from #e7d607

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.

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

#e7d607, answered

What color is #e7d607?

#e7d607 is a balanced electric yellow, closest to Gold (ΔE2000 5.6). It sits at 55° on the hue wheel with 94% saturation and 47% lightness, which reads as warm.

What is the RGB value of #e7d607?

rgb(231, 214, 7) — 231 red, 214 green and 7 blue out of 255, or 90.6% / 83.9% / 2.7% by channel.

Is #e7d607 a light or a dark color?

It is a light color. Relative luminance is 0.6510 and perceived brightness is 81%, so black text on it reaches 14.02:1.

Should I use black or white text on #e7d607?

Black. It scores 14.02:1 against #e7d607, versus 1.50:1 for white — AAA at any size.

What is the complementary color of #e7d607?

#0718E7 sits directly opposite on the wheel. Softer options are the split-complements #0788E7 and #6607E7, which give the same contrast with far less vibration.

What colors go well with #e7d607?

For interface work: #FAFAF4 as the surface, #EDE9C0 for borders, #9B954B for secondary text, #024FEC as an accent and #7C7304 for hover and pressed states. For a palette, the analogous pair #E76607 and #88E707 stays calm, while #0718E7 is the loudest partner.

What is #e7d607 in CMYK for printing?

cmyk(0%, 7%, 97%, 9%). 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 #e7d607 warm or cool?

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

Work with #e7d607 in the Color Lab