#dfbe5b
a balanced, vivid yellow · warm · closest name: Goldenrod
Token name suggestion: Atlas Honey
#dfbe5b is a balanced vivid yellow, 45° on the wheel and 13/100 on the cool side. Put black text on it (11.65:1). As text it scores 1.80:1 on white — use #8F731C instead. Nearest name is Goldenrod, nearest Tailwind family is yellow.
At a glance
Every number on this page in one read: what #dfbe5b is made of, how bright it looks, and which way it leans.
Left edge is grey, right edge is full chroma; top is white, bottom is black. The dot is #dfbe5b.
Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Green carries most of what the eye calls brightness — that is why WCAG weights it 0.7152.
Every format
| HEX | #dfbe5b |
| HEX (8-digit) | #dfbe5bff |
| RGB | rgb(223, 190, 91) |
| RGBA | rgba(223, 190, 91, 1) |
| HSL | hsl(45, 67%, 62%) |
| HSV / HSB | hsv(45, 59%, 87%) |
| HWB | hwb(45 36% 13%) |
| CMYK | cmyk(0%, 15%, 59%, 13%) |
| LAB | lab(78.0 0.3 53.4) |
| LCH | lch(78.0 53.4 89.7) |
| OKLCH | oklch(0.811 0.124 91.0) |
| XYZ (D65) | xyz(50.74, 53.27, 17.51) |
| Decimal | 14663259 |
| Display P3 | color(display-p3 0.875 0.745 0.357) |
| Web-safe | #CCCC66 |
Copy-ready code
/* CSS */
color: #dfbe5b;
background-color: #dfbe5b;
/* CSS custom property */
--brand: #dfbe5b;
/* Tailwind (arbitrary) */
class="text-[#dfbe5b] bg-[#dfbe5b]"
/* SCSS */
$brand: #dfbe5b;
/* SwiftUI */
Color(red: 0.875, green: 0.745, blue: 0.357)
/* UIKit */
UIColor(red: 0.875, green: 0.745, blue: 0.357, alpha: 1)
/* Android XML */
<color name="brand">#DFBE5B</color>
/* Android Compose */
Color(0xFFDFBE5B)
/* Flutter */
Color(0xFFDFBE5B)
/* Python / OpenCV (BGR) */
(91, 190, 223)
/* Python / PIL (RGB) */
(223, 190, 91)
/* Java AWT */
new Color(223, 190, 91)
/* .NET */
Color.FromArgb(255, 223, 190, 91)
/* OpenGL / Unity (0–1) */
(0.8745f, 0.7451f, 0.3569f, 1f)
/* LaTeX */
\definecolor{brand}{RGB}{223,190,91}/* mix without leaving CSS */ background: color-mix(in oklab, #dfbe5b 85%, white); border-color: color-mix(in oklab, #dfbe5b 40%, transparent); /* theme-aware in one line */ color: light-dark(#6B5515, #EEE7D3); /* relative colour syntax */ --hover: hsl(from #dfbe5b h s calc(l - 7));
Design tokens
The same ramp in the four formats a team actually needs. Paste one and the whole palette lands with it.
:root {
--brand-50: #FBF9F3;
--brand-100: #F8F4E8;
--brand-200: #F1E8CA;
--brand-300: #EDDAA1;
--brand-400: #dfbe5b;
--brand-500: #DAB543;
--brand-600: #CDA428;
--brand-700: #AB8821;
--brand-800: #896D1B;
--brand-900: #635017;
--brand-950: #3E320F;
--brand: #dfbe5b;
--brand-ink: #000000;
--brand-surface: #FAF9F4;
--brand-border: #EDE1C0;
--brand-hover: #D9B23D;
--brand-pressed: #CBA228;
}
@media (prefers-color-scheme: dark) {
:root {
--brand-surface: #242014;
--brand-ink: #EEE7D3;
}
}theme: {
extend: {
colors: {
brand: {
50: '#FBF9F3',
100: '#F8F4E8',
200: '#F1E8CA',
300: '#EDDAA1',
400: '#dfbe5b',
500: '#DAB543',
600: '#CDA428',
700: '#AB8821',
800: '#896D1B',
900: '#635017',
950: '#3E320F',
DEFAULT: '#dfbe5b',
},
},
},
}$brand: (
'50': #FBF9F3,
'100': #F8F4E8,
'200': #F1E8CA,
'300': #EDDAA1,
'400': #dfbe5b,
'500': #DAB543,
'600': #CDA428,
'700': #AB8821,
'800': #896D1B,
'900': #635017,
'950': #3E320F,
);
$brand-base: #dfbe5b;
$brand-ink: #000000;
@function brand($step) { @return map-get($brand, $step); }{
"color": {
"brand": {
"50": { "$value": "#FBF9F3", "$type": "color" },
"100": { "$value": "#F8F4E8", "$type": "color" },
"200": { "$value": "#F1E8CA", "$type": "color" },
"300": { "$value": "#EDDAA1", "$type": "color" },
"400": { "$value": "#dfbe5b", "$type": "color" },
"500": { "$value": "#DAB543", "$type": "color" },
"600": { "$value": "#CDA428", "$type": "color" },
"700": { "$value": "#AB8821", "$type": "color" },
"800": { "$value": "#896D1B", "$type": "color" },
"900": { "$value": "#635017", "$type": "color" },
"950": { "$value": "#3E320F", "$type": "color" }
},
"brandInk": { "$value": "#000000", "$type": "color" }
}
}Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Make it accessible
A contrast checker tells you that you failed. This tells you what to ship instead — same hue, same saturation, lightness moved only as far as WCAG demands.
Large text — 24px regular or 18.66px bold and above — only needs 3:1, so #B18E23 is enough for headings on white. Non-text elements such as icons, chart strokes and focus rings also sit at 3:1 under WCAG 2.2 (1.4.11).
Accessibility — WCAG contrast
Contrast is symmetric, so each row covers both directions: #dfbe5b as text on that neutral, and that neutral as text on #dfbe5b.
| Neutral | Ratio | Verdict | Both directions |
|---|---|---|---|
| White#ffffff | 1.80:1 | AAAA lgAAA | AaAa |
| Slate 50#f8fafc | 1.72:1 | AAAA lgAAA | AaAa |
| Slate 100#f1f5f9 | 1.64:1 | AAAA lgAAA | AaAa |
| Slate 200#e2e8f0 | 1.46:1 | AAAA lgAAA | AaAa |
| Slate 300#cbd5e1 | 1.21:1 | AAAA lgAAA | AaAa |
| Slate 400#94a3b8 | 1.42:1 | AAAA lgAAA | AaAa |
| Slate 500#64748b | 2.64:1 | AAAA lgAAA | AaAa |
| Slate 600#475569 | 4.21:1 | AAAA lgAAA | AaAa |
| Slate 700#334155 | 5.75:1 | AAAA lgAAA | AaAa |
| Slate 800#1e293b | 8.12:1 | AAAA lgAAA | AaAa |
| Slate 900#0f172a | 9.91:1 | AAAA lgAAA | AaAa |
| Black#000000 | 11.65:1 | AAAA lgAAA | AaAa |
Roughly one man in twelve has some form of colour vision deficiency. If any of the three panels above is hard to tell apart from a neighbouring colour in your palette, add a shape, an icon or a label so the meaning does not rest on hue alone.
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #dfbe5b 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.
The same eleven steps expressed in OKLCH, where equal lightness numbers actually look equally spaced. HSL ramps go muddy in the yellows and washed out in the blues; this one does not. Modern browsers render it natively — the hex ramp above is the fallback.
:root {
--brand-50: oklch(0.97 0.031 91.0);
--brand-100: oklch(0.94 0.050 91.0);
--brand-200: oklch(0.88 0.074 91.0);
--brand-300: oklch(0.80 0.097 91.0);
--brand-400: oklch(0.72 0.114 91.0);
--brand-500: oklch(0.64 0.124 91.0);
--brand-600: oklch(0.56 0.124 91.0);
--brand-700: oklch(0.48 0.116 91.0);
--brand-800: oklch(0.40 0.104 91.0);
--brand-900: oklch(0.32 0.087 91.0);
--brand-950: oklch(0.24 0.068 91.0);
}Colors that work with #dfbe5b
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.
In real components
The same eight roles, wired into the interface patterns you will actually build with them. Every state below is a computed value, not a mock-up.
Focus ring uses the light variant so the field still reads as one shape.
The file stays available for seven days. Download it before it expires.
How to use #dfbe5b
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
- ✓Chart series and data categories
- ⚠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
Meaning and mood
What a colour in this family tends to signal, and how this particular chroma and lightness change the reading.
The most visible hue at low light levels, which is why it owns warnings, hazard tape and value retail.
This is a confident chroma: strong enough to lead a brand, restrained enough to live in an interface all day. The mid lightness keeps it versatile in both themes.
Almost never passes contrast against white. Treat it as a surface or a marker, not as text.
- FormalityMedium
- EnergyMedium-high
- Weight38/100
- TemperatureWarm
- ApproachabilityHigh
Colour associations are cultural and vary by market. Treat these as a starting point for a conversation with your audience, not a finding about them.
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 | #5B7CDF | Directly opposite — maximum tension | |
| Analogous left | #DF7C5B | Neighbour, quieter | |
| Analogous right | #BEDF5B | Neighbour, quieter | |
| Split-complement 1 | #5BBEDF | Contrast without the clash | |
| Split-complement 2 | #7C5BDF | Contrast without the clash | |
| Triadic 1 | #5BDFBE | Even thirds — balanced and loud | |
| Triadic 2 | #BE5BDF | Even thirds — balanced and loud | |
| Tetradic | #5BDF7C | Fourth corner of the square scheme |
#dfbe5b sits at 45°. Every dot is a harmony position and links to its own page in the table alongside.
RGB percentages
CMYK percentages
Total ink coverage is 87%. Most commercial presses cap around 300% — above that, sheets stop drying properly.
Color previews
#dfbe5b text on a black background
contrast 11.65:1
#dfbe5b text on a white background
contrast 1.80:1
#dfbe5b on grey
1.64:1
#dfbe5b on its own surface
1.71:1
#dfbe5b on its dark surface
9.02:1
CSS3 live lab
The quick brown fox
color: #dfbe5b;
background-color: #dfbe5b;
Glowing headline
text-shadow: 2px 2px 8px #dfbe5b;
Soft neon halo
text-shadow: 0 0 14px rgba(223, 190, 91, 0.45);
box-shadow: 0 12px 32px -8px rgba(223, 190, 91, 0.45);
border: 3px solid #dfbe5b; background: linear-gradient(135deg, #dfbe5b, #A8DF5B);
Gradient headline
background: linear-gradient(90deg, #dfbe5b, #87DF5B); -webkit-background-clip: text; color: transparent;
outline: 2px solid #dfbe5b; outline-offset: 3px;
Marked up text
text-decoration-color: #dfbe5b; caret-color: #dfbe5b;
border-left: 4px solid #dfbe5b;
background: #FBF7EA; box-shadow: inset 0 0 0 2px #dfbe5b;
background: conic-gradient(#dfbe5b 68%, #e2e8f0 0);
Transparency
What each alpha value actually composites to. The top row is #dfbe5b over white; the bottom row is the same alpha over a checkerboard, so you can see what survives on a photo or a video.
Bottom row of hexes is the flattened result over white — use those when a design tool refuses transparency, or when you need a solid fallback.
rgba(223, 190, 91, 0.5) rgb(223 190 91 / 50%) #dfbe5b80 hsl(45 67% 62% / 50%) color-mix(in srgb, #dfbe5b 50%, transparent)
| Alpha | 8-digit hex | Flat on white |
|---|---|---|
| 10% | #dfbe5b1a | #FCF9EF |
| 20% | #dfbe5b33 | #F9F2DE |
| 40% | #dfbe5b66 | #F2E5BD |
| 60% | #dfbe5b99 | #ECD89D |
| 80% | #dfbe5bcc | #E5CB7C |
Gradients from #dfbe5b
Six recipes, each built from this hex and shown with the exact CSS that produced it.
background: linear-gradient(135deg, #E9D28E, #dfbe5b 45%, #6B5515);
background: linear-gradient(120deg, #dfbe5b, #8EDA42);
background: linear-gradient(90deg, #dfbe5b, #5B7CDF);
background: radial-gradient(120% 120% at 20% 0%, #EEDCA8 0%, #dfbe5b 45%, #6B5515 100%);
background: linear-gradient(180deg, #FAF9F4, #ffffff);
background: radial-gradient(60% 60% at 15% 20%, #E79686 0%, transparent 60%), radial-gradient(55% 55% at 85% 15%, #BFE475 0%, transparent 60%), radial-gradient(70% 70% at 50% 95%, #6B5515 0%, transparent 65%), #dfbe5b;
Monochromatic scale
Palettes built from #dfbe5b
Shades — darker
Tints — lighter
Tones — desaturated
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: Versace Gold (#d4af37) — ΔE2000 4.6 away, with its history, psychology and brand usage.
#dfbe5b in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
Holds up across typical panel gamma. Still worth checking on an uncalibrated laptop, where mid-tones shift most.
Usable as-is on a dark surface at 11.65:1.
Explore nearby colors
Small, deliberate steps away from this hex — useful when you are hunting for the version of a colour that finally feels right.
#dfbe5b, answered
What color is #dfbe5b?
#dfbe5b is a balanced vivid yellow, closest to Goldenrod (ΔE2000 8.2). It sits at 45° on the hue wheel with 67% saturation and 62% lightness, which reads as warm.
What is the RGB value of #dfbe5b?
rgb(223, 190, 91) — 223 red, 190 green and 91 blue out of 255, or 87.5% / 74.5% / 35.7% by channel.
What is #dfbe5b in HSL and HSV?
hsl(45, 67%, 62%) and hsv(45, 59%, 87%). HSL is what CSS takes; HSV is what your design tool's picker shows, which is why the saturation numbers rarely match.
Is #dfbe5b a light or a dark color?
It is a light color. Relative luminance is 0.5327 and perceived brightness is 75%, so black text on it reaches 11.65:1.
Should I use black or white text on #dfbe5b?
Black. It scores 11.65:1 against #dfbe5b, versus 1.80:1 for white — AAA at any size.
Is #dfbe5b accessible on a white background?
#dfbe5b on white scores 1.80:1, which fails WCAG AA at every size. Darken it to #8F731C to reach 4.5:1, or #695415 for 7:1.
What is the complementary color of #dfbe5b?
#5B7CDF sits directly opposite on the wheel. Softer options are the split-complements #5BBEDF and #7C5BDF, which give the same contrast with far less vibration.
What colors go well with #dfbe5b?
For interface work: #FAF9F4 as the surface, #EDE1C0 for borders, #9B874B for secondary text, #1D66AF as an accent and #6B5515 for hover and pressed states. For a palette, the analogous pair #DF7C5B and #BEDF5B stays calm, while #5B7CDF is the loudest partner.
What is #dfbe5b in CMYK for printing?
cmyk(0%, 15%, 59%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #dfbe5b warm or cool?
Warm — it scores 13 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DFA35B; nudged cooler, #D1E159.
Which Tailwind color is closest to #dfbe5b?
The yellow family — its 500 step is #eab308, ΔE2000 7.4 away. That is a visible difference, so define #dfbe5b as a custom token rather than reaching for the built-in.
How do I use #dfbe5b in Tailwind CSS?
Inline it as an arbitrary value with bg-[#dfbe5b] or text-[#dfbe5b], or register the whole ramp under theme.extend.colors.brand so you get bg-brand-500 and friends. The generated 50–950 scale on this page is ready to paste into your config.
What is #dfbe5b with 50% opacity?
rgba(223, 190, 91, 0.5), or #dfbe5b80 in eight-digit hex. Over white that composites to #EFDFAD; over black, #705F2E.
Is #dfbe5b a web-safe color?
No. The nearest web-safe colour is #CCCC66, ΔE2000 9.5 away. The palette only matters for legacy displays and some email clients now.
What does the color #dfbe5b mean?
As a yellow, it reads optimistic, alert, cheap-and-cheerful. The most visible hue at low light levels, which is why it owns warnings, hazard tape and value retail. At this chroma the effect is amplified — it will dominate whatever sits beside it.
What gradient works with #dfbe5b?
The safest is same-hue elevation: linear-gradient(135deg, #E9D28E, #dfbe5b 45%, #6B5515). For more colour, a short hue run to #8EDA42 keeps it rich without turning muddy.
Work with #dfbe5b in the Color Lab
Every tool opens with this colour already loaded.
Every value on this page is computed from #dfbe5b at request time — conversions, contrast ratios and ΔE distances are calculated, never looked up.