Skip to content

#e3cd3b

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

RGB
227, 205, 59
HSL
52°, 75%, 56%
CMYK
0, 10, 74, 11
Luminance
0.6031

At a glance

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

Hex
#e3cd3b
Hue
52°
yellow
Saturation
75%
electric
Lightness
56%
balanced
Brightness
89%
HSV value
Perceived
79%
weighted brightness
Luminance
0.6031
WCAG relative
Temperature
Warm
18/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
13.06:1
Closest name
Gold
ΔE2000 6.1
Where it sits
Hue52° of 360°
Saturation75%
Lightness56%
Temperature
Warm ← → Cool18% 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#e3cd3b
RGBrgb(227, 205, 59)
HSLhsl(52, 75%, 56%)
CMYKcmyk(0%, 10%, 74%, 11%)
LABlab(82.0 -7.6 70.7)
LCHlch(82.0 71.1 96.1)
OKLCHoklch(0.842 0.158 100.4)
Decimal14929211
Display P3color(display-p3 0.890 0.804 0.231)

Copy-ready code

/* CSS */
color: #e3cd3b;
background-color: #e3cd3b;
/* Tailwind (arbitrary) */
class="text-[#e3cd3b] bg-[#e3cd3b]"
/* SCSS */
$brand: #e3cd3b;
/* SwiftUI */
Color(red: 0.890, green: 0.804, blue: 0.231)
/* Android */
Color.parseColor("#e3cd3b")
/* Flutter */
Color(0xFFE3CD3B)
/* Python / OpenCV (BGR) */
(59, 205, 227)

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

Accessibility — WCAG contrast

Aa
#e3cd3b on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#e3cd3b on black: 13.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E1C71F
deuteranopia · #E7D045
tritanopia · #F5BEB1

Color scale — 50 to 950

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

#FCFBF3
#F9F6E7
#F4EEC8
#F1E69D
#EAD96C
#e3cd3b
#D6BE1F
#B39E19
#8F7F14
#675C13
#413A0C
Base = 500Lightest = 50 · #FCFBF3Darkest = 950 · #413A0C
:root {
  --brand-50: #FCFBF3;
  --brand-100: #F9F6E7;
  --brand-200: #F4EEC8;
  --brand-300: #F1E69D;
  --brand-400: #EAD96C;
  --brand-500: #e3cd3b;
  --brand-600: #D6BE1F;
  --brand-700: #B39E19;
  --brand-800: #8F7F14;
  --brand-900: #675C13;
  --brand-950: #413A0C;
  --brand: #e3cd3b;
  --brand-ink: #000000;
}

Colors that work with #e3cd3b

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#EDE7C0
Hairlines and dividers
Muted text#9B904B
Captions on the surface
Accent#377AE7
Second voice, not a rival
Dark variant#706310
Hover, pressed, headers
Light variant#FCF9E9
Selected rows, tints
Dark surface#242214
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 #e3cd3b

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#3B51E3
Analogous left#E3793B
Analogous right#A5E33B
Split-complement 1#3BA5E3
Split-complement 2#793BE3
Triadic 1#3BE3CD
Triadic 2#CD3BE3
Tetradic#3BE379

RGB percentages

Red89.0%
Green80.4%
Blue23.1%

CMYK percentages

Cyan0.0%
Magenta9.7%
Yellow74.0%
Key (black)11.0%

Color previews

#e3cd3b text on a black background

contrast 13.06:1

Card sample

#e3cd3b text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(227, 205, 59, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(227, 205, 59, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e3cd3b;
background: linear-gradient(135deg, #e3cd3b, #89E33B);

Monochromatic scale

Palettes built from #e3cd3b

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.

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

#e3cd3b, answered

What color is #e3cd3b?

#e3cd3b is a balanced electric yellow, closest to Gold (ΔE2000 6.1). It sits at 52° on the hue wheel with 75% saturation and 56% lightness, which reads as warm.

What is the RGB value of #e3cd3b?

rgb(227, 205, 59) — 227 red, 205 green and 59 blue out of 255, or 89% / 80.4% / 23.1% by channel.

Is #e3cd3b a light or a dark color?

It is a light color. Relative luminance is 0.6031 and perceived brightness is 79%, so black text on it reaches 13.06:1.

Should I use black or white text on #e3cd3b?

Black. It scores 13.06:1 against #e3cd3b, versus 1.61:1 for white — AAA at any size.

What is the complementary color of #e3cd3b?

#3B51E3 sits directly opposite on the wheel. Softer options are the split-complements #3BA5E3 and #793BE3, which give the same contrast with far less vibration.

What colors go well with #e3cd3b?

For interface work: #FAFAF4 as the surface, #EDE7C0 for borders, #9B904B for secondary text, #377AE7 as an accent and #706310 for hover and pressed states. For a palette, the analogous pair #E3793B and #A5E33B stays calm, while #3B51E3 is the loudest partner.

What is #e3cd3b in CMYK for printing?

cmyk(0%, 10%, 74%, 11%). 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 #e3cd3b warm or cool?

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

Work with #e3cd3b in the Color Lab