Skip to content

#ddbe21

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

RGB
221, 190, 33
HSL
50°, 74%, 50%
CMYK
0, 14, 85, 13
Luminance
0.5231

At a glance

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

Hex
#ddbe21
Hue
50°
yellow
Saturation
74%
vivid
Lightness
50%
balanced
Brightness
87%
HSV value
Perceived
74%
weighted brightness
Luminance
0.5231
WCAG relative
Temperature
Warm
17/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
11.46:1
Closest name
Gold
ΔE2000 7.1
Where it sits
Hue50° of 360°
Saturation74%
Lightness50%
Temperature
Warm ← → Cool17% 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#ddbe21
RGBrgb(221, 190, 33)
HSLhsl(50, 74%, 50%)
CMYKcmyk(0%, 14%, 85%, 13%)
LABlab(77.5 -3.3 74.1)
LCHlch(77.5 74.2 92.6)
OKLCHoklch(0.805 0.159 96.6)
Decimal14532129
Display P3color(display-p3 0.867 0.745 0.129)

Copy-ready code

/* CSS */
color: #ddbe21;
background-color: #ddbe21;
/* Tailwind (arbitrary) */
class="text-[#ddbe21] bg-[#ddbe21]"
/* SCSS */
$brand: #ddbe21;
/* SwiftUI */
Color(red: 0.867, green: 0.745, blue: 0.129)
/* Android */
Color.parseColor("#ddbe21")
/* Flutter */
Color(0xFFDDBE21)
/* Python / OpenCV (BGR) */
(33, 190, 221)

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

Accessibility — WCAG contrast

Aa
#ddbe21 on white: 1.83:1
AA ✗ fail · AA-large · AAA
Aa
#ddbe21 on black: 11.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D3BA00
deuteranopia · #DBC42F
tritanopia · #EFAEA3

Color scale — 50 to 950

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

#FCFAF3
#F9F6E7
#F3ECC8
#F0E39D
#E9D56D
#E2C63C
#ddbe21
#B1991B
#8E7A15
#675914
#40380C
Base = 600Lightest = 50 · #FCFAF3Darkest = 950 · #40380C
:root {
  --brand-50: #FCFAF3;
  --brand-100: #F9F6E7;
  --brand-200: #F3ECC8;
  --brand-300: #F0E39D;
  --brand-400: #E9D56D;
  --brand-500: #E2C63C;
  --brand-600: #ddbe21;
  --brand-700: #B1991B;
  --brand-800: #8E7A15;
  --brand-900: #675914;
  --brand-950: #40380C;
  --brand: #ddbe21;
  --brand-ink: #000000;
}

Colors that work with #ddbe21

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#EDE5C0
Hairlines and dividers
Muted text#9B8E4B
Captions on the surface
Accent#1C6EE2
Second voice, not a rival
Dark variant#6F5F11
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 #ddbe21

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#2140DD
Analogous left#DD6021
Analogous right#9EDD21
Split-complement 1#219EDD
Split-complement 2#6021DD
Triadic 1#21DDBE
Triadic 2#BE21DD
Tetradic#21DD60

RGB percentages

Red86.7%
Green74.5%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta14.0%
Yellow85.1%
Key (black)13.3%

Color previews

#ddbe21 text on a black background

contrast 11.46:1

Card sample

#ddbe21 text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(221, 190, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(221, 190, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ddbe21;
background: linear-gradient(135deg, #ddbe21, #7FDD21);

Monochromatic scale

Palettes built from #ddbe21

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.

#ddbe21 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

Converts to four-color process without much drama. Proof it anyway.

#ddbe21, answered

What color is #ddbe21?

#ddbe21 is a balanced vivid yellow, closest to Gold (ΔE2000 7.1). It sits at 50° on the hue wheel with 74% saturation and 50% lightness, which reads as warm.

What is the RGB value of #ddbe21?

rgb(221, 190, 33) — 221 red, 190 green and 33 blue out of 255, or 86.7% / 74.5% / 12.9% by channel.

Is #ddbe21 a light or a dark color?

It is a light color. Relative luminance is 0.5231 and perceived brightness is 74%, so black text on it reaches 11.46:1.

Should I use black or white text on #ddbe21?

Black. It scores 11.46:1 against #ddbe21, versus 1.83:1 for white — AAA at any size.

What is the complementary color of #ddbe21?

#2140DD sits directly opposite on the wheel. Softer options are the split-complements #219EDD and #6021DD, which give the same contrast with far less vibration.

What colors go well with #ddbe21?

For interface work: #FAF9F4 as the surface, #EDE5C0 for borders, #9B8E4B for secondary text, #1C6EE2 as an accent and #6F5F11 for hover and pressed states. For a palette, the analogous pair #DD6021 and #9EDD21 stays calm, while #2140DD is the loudest partner.

What is #ddbe21 in CMYK for printing?

cmyk(0%, 14%, 85%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #ddbe21 warm or cool?

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

Work with #ddbe21 in the Color Lab