#ecbd39
a balanced, electric yellow · warm · closest name: Goldenrod
At a glance
Every number on this page in one read: what #ecbd39 is made of, how bright it looks, and which way it leans.
Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #ecbd39 |
| RGB | rgb(236, 189, 57) |
| HSL | hsl(44, 83%, 58%) |
| CMYK | cmyk(0%, 20%, 76%, 8%) |
| LAB | lab(78.8 4.4 68.7) |
| LCH | lch(78.8 68.8 86.3) |
| OKLCH | oklch(0.819 0.150 88.1) |
| Decimal | 15514937 |
| Display P3 | color(display-p3 0.925 0.741 0.224) |
Copy-ready code
/* CSS */
color: #ecbd39;
background-color: #ecbd39;
/* Tailwind (arbitrary) */
class="text-[#ecbd39] bg-[#ecbd39]"
/* SCSS */
$brand: #ecbd39;
/* SwiftUI */
Color(red: 0.925, green: 0.741, blue: 0.224)
/* Android */
Color.parseColor("#ecbd39")
/* Flutter */
Color(0xFFECBD39)
/* Python / OpenCV (BGR) */
(57, 189, 236)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #ecbd39 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.
:root {
--brand-50: #FCFAF2;
--brand-100: #FAF4E6;
--brand-200: #F6E9C6;
--brand-300: #F5DD99;
--brand-400: #F0CC65;
--brand-500: #ecbd39;
--brand-600: #DFAA15;
--brand-700: #BA8E12;
--brand-800: #95710E;
--brand-900: #6C530F;
--brand-950: #433409;
--brand: #ecbd39;
--brand-ink: #000000;
}Colors that work with #ecbd39
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #ecbd39
Derived from its contrast, chroma and lightness — not from taste.
- ✓Text and icons on dark surfaces
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Brand accents, badges and data highlights
- ⚠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 | #3968EC | Directly opposite — maximum tension | |
| Analogous left | #EC6439 | Neighbour, quieter | |
| Analogous right | #C2EC39 | Neighbour, quieter | |
| Split-complement 1 | #39C2EC | Contrast without the clash | |
| Split-complement 2 | #6439EC | Contrast without the clash | |
| Triadic 1 | #39ECBD | Even thirds — balanced and loud | |
| Triadic 2 | #BD39EC | Even thirds — balanced and loud | |
| Tetradic | #39EC64 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#ecbd39 text on a black background
contrast 11.90:1
#ecbd39 text on a white background
contrast 1.76:1
CSS3 live lab
The quick brown fox
color: #ecbd39;
background-color: #ecbd39;
Glowing headline
text-shadow: 2px 2px 8px #ecbd39;
Soft neon halo
text-shadow: 0 0 14px rgba(236, 189, 57, 0.45);
box-shadow: 0 12px 32px -8px rgba(236, 189, 57, 0.45);
border: 3px solid #ecbd39; background: linear-gradient(135deg, #ecbd39, #A4EC39);
Monochromatic scale
Palettes built from #ecbd39
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.
Closest color with a full write-up: Sunflower (#ffc512) — ΔE2000 4.2 away, with its history, psychology and brand usage.
#ecbd39 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.
#ecbd39, answered
What color is #ecbd39?
#ecbd39 is a balanced electric yellow, closest to Goldenrod (ΔE2000 6.3). It sits at 44° on the hue wheel with 83% saturation and 58% lightness, which reads as warm.
What is the RGB value of #ecbd39?
rgb(236, 189, 57) — 236 red, 189 green and 57 blue out of 255, or 92.5% / 74.1% / 22.4% by channel.
Is #ecbd39 a light or a dark color?
It is a light color. Relative luminance is 0.5452 and perceived brightness is 76%, so black text on it reaches 11.90:1.
Should I use black or white text on #ecbd39?
Black. It scores 11.90:1 against #ecbd39, versus 1.76:1 for white — AAA at any size.
What is the complementary color of #ecbd39?
#3968EC sits directly opposite on the wheel. Softer options are the split-complements #39C2EC and #6439EC, which give the same contrast with far less vibration.
What colors go well with #ecbd39?
For interface work: #FAF9F4 as the surface, #EDE1C0 for borders, #9B864B for secondary text, #0E68BE as an accent and #74590B for hover and pressed states. For a palette, the analogous pair #EC6439 and #C2EC39 stays calm, while #3968EC is the loudest partner.
What is #ecbd39 in CMYK for printing?
cmyk(0%, 20%, 76%, 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 #ecbd39 warm or cool?
Warm — it scores 12 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EC9E39; nudged cooler, #DBEE37.