Skip to content

#ebbc5c

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

RGB
235, 188, 92
HSL
40°, 78%, 64%
CMYK
0, 20, 61, 8
Luminance
0.5440

At a glance

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

Hex
#ebbc5c
Hue
40°
yellow
Saturation
78%
electric
Lightness
64%
balanced
Brightness
92%
HSV value
Perceived
77%
weighted brightness
Luminance
0.5440
WCAG relative
Temperature
Warm
9/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
11.88:1
Closest name
Goldenrod
ΔE2000 7
Where it sits
Hue40° of 360°
Saturation78%
Lightness64%
Temperature
Warm ← → Cool9% 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#ebbc5c
RGBrgb(235, 188, 92)
HSLhsl(40, 78%, 64%)
CMYKcmyk(0%, 20%, 61%, 8%)
LABlab(78.7 6.4 54.0)
LCHlch(78.7 54.4 83.2)
OKLCHoklch(0.819 0.126 83.2)
Decimal15449180
Display P3color(display-p3 0.922 0.737 0.361)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebbc5c on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#ebbc5c on black: 11.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D0BC52
deuteranopia · #DCC85F
tritanopia · #FDADA7

Color scale — 50 to 950

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

#FCF9F3
#F9F3E6
#F5E6C7
#F3D69B
#ebbc5c
#E6AD37
#DA9B1B
#B68116
#916712
#694C11
#42300B
Base = 400Lightest = 50 · #FCF9F3Darkest = 950 · #42300B
:root {
  --brand-50: #FCF9F3;
  --brand-100: #F9F3E6;
  --brand-200: #F5E6C7;
  --brand-300: #F3D69B;
  --brand-400: #ebbc5c;
  --brand-500: #E6AD37;
  --brand-600: #DA9B1B;
  --brand-700: #B68116;
  --brand-800: #916712;
  --brand-900: #694C11;
  --brand-950: #42300B;
  --brand: #ebbc5c;
  --brand-ink: #000000;
}

Colors that work with #ebbc5c

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#FAF8F4
Tinted page background
Border#EDDEC0
Hairlines and dividers
Muted text#9B814B
Captions on the surface
Accent#1273BA
Second voice, not a rival
Dark variant#72510E
Hover, pressed, headers
Light variant#FCF6E8
Selected rows, tints
Dark surface#241F14
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 #ebbc5c

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#5C8BEB
Analogous left#EB755C
Analogous right#D2EB5C
Split-complement 1#5CD2EB
Split-complement 2#755CEB
Triadic 1#5CEBBC
Triadic 2#BC5CEB
Tetradic#5CEB75

RGB percentages

Red92.2%
Green73.7%
Blue36.1%

CMYK percentages

Cyan0.0%
Magenta20.0%
Yellow60.9%
Key (black)7.8%

Color previews

#ebbc5c text on a black background

contrast 11.88:1

Card sample

#ebbc5c text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(235, 188, 92, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(235, 188, 92, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ebbc5c;
background: linear-gradient(135deg, #ebbc5c, #BBEB5C);

Monochromatic scale

Palettes built from #ebbc5c

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.

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

#ebbc5c, answered

What color is #ebbc5c?

#ebbc5c is a balanced electric yellow, closest to Goldenrod (ΔE2000 7). It sits at 40° on the hue wheel with 78% saturation and 64% lightness, which reads as warm.

What is the RGB value of #ebbc5c?

rgb(235, 188, 92) — 235 red, 188 green and 92 blue out of 255, or 92.2% / 73.7% / 36.1% by channel.

Is #ebbc5c a light or a dark color?

It is a light color. Relative luminance is 0.5440 and perceived brightness is 77%, so black text on it reaches 11.88:1.

Should I use black or white text on #ebbc5c?

Black. It scores 11.88:1 against #ebbc5c, versus 1.77:1 for white — AAA at any size.

What is the complementary color of #ebbc5c?

#5C8BEB sits directly opposite on the wheel. Softer options are the split-complements #5CD2EB and #755CEB, which give the same contrast with far less vibration.

What colors go well with #ebbc5c?

For interface work: #FAF8F4 as the surface, #EDDEC0 for borders, #9B814B for secondary text, #1273BA as an accent and #72510E for hover and pressed states. For a palette, the analogous pair #EB755C and #D2EB5C stays calm, while #5C8BEB is the loudest partner.

What is #ebbc5c in CMYK for printing?

cmyk(0%, 20%, 61%, 8%). 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 #ebbc5c warm or cool?

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

Work with #ebbc5c in the Color Lab