Skip to content

#ebbc4a

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

RGB
235, 188, 74
HSL
43°, 80%, 61%
CMYK
0, 20, 69, 8
Luminance
0.5412

At a glance

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

Hex
#ebbc4a
Hue
43°
yellow
Saturation
80%
electric
Lightness
61%
balanced
Brightness
92%
HSV value
Perceived
76%
weighted brightness
Luminance
0.5412
WCAG relative
Temperature
Warm
10/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
11.82:1
Closest name
Goldenrod
ΔE2000 6.2
Where it sits
Hue43° of 360°
Saturation80%
Lightness61%
Temperature
Warm ← → Cool10% 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#ebbc4a
RGBrgb(235, 188, 74)
HSLhsl(43, 80%, 61%)
CMYKcmyk(0%, 20%, 69%, 8%)
LABlab(78.5 5.3 61.8)
LCHlch(78.5 62.0 85.1)
OKLCHoklch(0.817 0.139 86.1)
Decimal15449162
Display P3color(display-p3 0.922 0.737 0.290)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebbc4a on white: 1.78:1
AA ✗ fail · AA-large · AAA
Aa
#ebbc4a on black: 11.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D2BB3C
deuteranopia · #DDC74F
tritanopia · #FEACA4

Color scale — 50 to 950

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

#FCF9F3
#F9F4E6
#F5E8C6
#F4DA9A
#EEC767
#ebbc4a
#DCA318
#B88814
#936D10
#6A5010
#42320A
Base = 500Lightest = 50 · #FCF9F3Darkest = 950 · #42320A
:root {
  --brand-50: #FCF9F3;
  --brand-100: #F9F4E6;
  --brand-200: #F5E8C6;
  --brand-300: #F4DA9A;
  --brand-400: #EEC767;
  --brand-500: #ebbc4a;
  --brand-600: #DCA318;
  --brand-700: #B88814;
  --brand-800: #936D10;
  --brand-900: #6A5010;
  --brand-950: #42320A;
  --brand: #ebbc4a;
  --brand-ink: #000000;
}

Colors that work with #ebbc4a

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#FAF9F4
Tinted page background
Border#EDE0C0
Hairlines and dividers
Muted text#9B834B
Captions on the surface
Accent#106EBC
Second voice, not a rival
Dark variant#73550D
Hover, pressed, headers
Light variant#FCF7E8
Selected rows, tints
Dark surface#242014
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 #ebbc4a

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#4A79EB
Analogous left#EB6C4A
Analogous right#C9EB4A
Split-complement 1#4AC9EB
Split-complement 2#6C4AEB
Triadic 1#4AEBBC
Triadic 2#BC4AEB
Tetradic#4AEB6C

RGB percentages

Red92.2%
Green73.7%
Blue29.0%

CMYK percentages

Cyan0.0%
Magenta20.0%
Yellow68.5%
Key (black)7.8%

Color previews

#ebbc4a text on a black background

contrast 11.82:1

Card sample

#ebbc4a text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebbc4a

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.

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

#ebbc4a, answered

What color is #ebbc4a?

#ebbc4a is a balanced electric yellow, closest to Goldenrod (ΔE2000 6.2). It sits at 43° on the hue wheel with 80% saturation and 61% lightness, which reads as warm.

What is the RGB value of #ebbc4a?

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

Is #ebbc4a a light or a dark color?

It is a light color. Relative luminance is 0.5412 and perceived brightness is 76%, so black text on it reaches 11.82:1.

Should I use black or white text on #ebbc4a?

Black. It scores 11.82:1 against #ebbc4a, versus 1.78:1 for white — AAA at any size.

What is the complementary color of #ebbc4a?

#4A79EB sits directly opposite on the wheel. Softer options are the split-complements #4AC9EB and #6C4AEB, which give the same contrast with far less vibration.

What colors go well with #ebbc4a?

For interface work: #FAF9F4 as the surface, #EDE0C0 for borders, #9B834B for secondary text, #106EBC as an accent and #73550D for hover and pressed states. For a palette, the analogous pair #EB6C4A and #C9EB4A stays calm, while #4A79EB is the loudest partner.

What is #ebbc4a in CMYK for printing?

cmyk(0%, 20%, 69%, 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 #ebbc4a warm or cool?

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

Work with #ebbc4a in the Color Lab