Skip to content

#dfd233

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

RGB
223, 210, 51
HSL
56°, 73%, 54%
CMYK
0, 6, 77, 13
Luminance
0.6202

At a glance

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

Hex
#dfd233
Hue
56°
yellow
Saturation
73%
vivid
Lightness
54%
balanced
Brightness
87%
HSV value
Perceived
79%
weighted brightness
Luminance
0.6202
WCAG relative
Temperature
Warm
21/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
13.40:1
Closest name
Gold
ΔE2000 7.3
Where it sits
Hue56° of 360°
Saturation73%
Lightness54%
Temperature
Warm ← → Cool21% 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#dfd233
RGBrgb(223, 210, 51)
HSLhsl(56, 73%, 54%)
CMYKcmyk(0%, 6%, 77%, 13%)
LABlab(82.9 -12.1 74.0)
LCHlch(82.9 75.0 99.3)
OKLCHoklch(0.849 0.166 104.5)
Decimal14668339
Display P3color(display-p3 0.875 0.824 0.200)

Copy-ready code

/* CSS */
color: #dfd233;
background-color: #dfd233;
/* Tailwind (arbitrary) */
class="text-[#dfd233] bg-[#dfd233]"
/* SCSS */
$brand: #dfd233;
/* SwiftUI */
Color(red: 0.875, green: 0.824, blue: 0.200)
/* Android */
Color.parseColor("#dfd233")
/* Flutter */
Color(0xFFDFD233)
/* Python / OpenCV (BGR) */
(51, 210, 223)

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

Accessibility — WCAG contrast

Aa
#dfd233 on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#dfd233 on black: 13.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E5CB03
deuteranopia · #E9D240
tritanopia · #F0C3B4

Color scale — 50 to 950

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

#FCFBF3
#F8F7E7
#F3F0C9
#F0EA9E
#E8DF6E
#dfd233
#D4C621
#B0A51C
#8D8416
#666014
#403C0D
Base = 500Lightest = 50 · #FCFBF3Darkest = 950 · #403C0D
:root {
  --brand-50: #FCFBF3;
  --brand-100: #F8F7E7;
  --brand-200: #F3F0C9;
  --brand-300: #F0EA9E;
  --brand-400: #E8DF6E;
  --brand-500: #dfd233;
  --brand-600: #D4C621;
  --brand-700: #B0A51C;
  --brand-800: #8D8416;
  --brand-900: #666014;
  --brand-950: #403C0D;
  --brand: #dfd233;
  --brand-ink: #000000;
}

Colors that work with #dfd233

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#FAFAF4
Tinted page background
Border#EDE9C0
Hairlines and dividers
Muted text#9B954B
Captions on the surface
Accent#2E69E4
Second voice, not a rival
Dark variant#6E6711
Hover, pressed, headers
Light variant#FCFAE9
Selected rows, tints
Dark surface#242314
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 #dfd233

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#3340DF
Analogous left#DF7C33
Analogous right#96DF33
Split-complement 1#3396DF
Split-complement 2#7C33DF
Triadic 1#33DFD2
Triadic 2#D233DF
Tetradic#33DF7C

RGB percentages

Red87.5%
Green82.4%
Blue20.0%

CMYK percentages

Cyan0.0%
Magenta5.8%
Yellow77.1%
Key (black)12.5%

Color previews

#dfd233 text on a black background

contrast 13.40:1

Card sample

#dfd233 text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 210, 51, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 210, 51, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfd233;
background: linear-gradient(135deg, #dfd233, #79DF33);

Monochromatic scale

Palettes built from #dfd233

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.

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

#dfd233, answered

What color is #dfd233?

#dfd233 is a balanced vivid yellow, closest to Gold (ΔE2000 7.3). It sits at 56° on the hue wheel with 73% saturation and 54% lightness, which reads as warm.

What is the RGB value of #dfd233?

rgb(223, 210, 51) — 223 red, 210 green and 51 blue out of 255, or 87.5% / 82.4% / 20% by channel.

Is #dfd233 a light or a dark color?

It is a light color. Relative luminance is 0.6202 and perceived brightness is 79%, so black text on it reaches 13.40:1.

Should I use black or white text on #dfd233?

Black. It scores 13.40:1 against #dfd233, versus 1.57:1 for white — AAA at any size.

What is the complementary color of #dfd233?

#3340DF sits directly opposite on the wheel. Softer options are the split-complements #3396DF and #7C33DF, which give the same contrast with far less vibration.

What colors go well with #dfd233?

For interface work: #FAFAF4 as the surface, #EDE9C0 for borders, #9B954B for secondary text, #2E69E4 as an accent and #6E6711 for hover and pressed states. For a palette, the analogous pair #DF7C33 and #96DF33 stays calm, while #3340DF is the loudest partner.

What is #dfd233 in CMYK for printing?

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

Is #dfd233 warm or cool?

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

Work with #dfd233 in the Color Lab