Skip to content

#dfd276

a light, vivid yellow · warm · closest name: Khaki

RGB
223, 210, 118
HSL
53°, 62%, 67%
CMYK
0, 6, 47, 13
Luminance
0.6309

At a glance

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

Hex
#dfd276
Hue
53°
yellow
Saturation
62%
vivid
Lightness
67%
light
Brightness
87%
HSV value
Perceived
81%
weighted brightness
Luminance
0.6309
WCAG relative
Temperature
Warm
19/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
13.62:1
Closest name
Khaki
ΔE2000 4.6
Where it sits
Hue53° of 360°
Saturation62%
Lightness67%
Temperature
Warm ← → Cool19% 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#dfd276
RGBrgb(223, 210, 118)
HSLhsl(53, 62%, 67%)
CMYKcmyk(0%, 6%, 47%, 13%)
LABlab(83.5 -7.8 46.9)
LCHlch(83.5 47.6 99.4)
OKLCHoklch(0.855 0.115 101.3)
Decimal14668406
Display P3color(display-p3 0.875 0.824 0.463)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd276 on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#dfd276 on black: 13.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E1CD6E
deuteranopia · #E5D37A
tritanopia · #EDC7BC

Color scale — 50 to 950

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

#FBFAF4
#F7F5E8
#F0EBCC
#EAE1A4
#dfd276
#D4C349
#C6B42E
#A59627
#84781F
#60581A
#3C3710
Base = 400Lightest = 50 · #FBFAF4Darkest = 950 · #3C3710
:root {
  --brand-50: #FBFAF4;
  --brand-100: #F7F5E8;
  --brand-200: #F0EBCC;
  --brand-300: #EAE1A4;
  --brand-400: #dfd276;
  --brand-500: #D4C349;
  --brand-600: #C6B42E;
  --brand-700: #A59627;
  --brand-800: #84781F;
  --brand-900: #60581A;
  --brand-950: #3C3710;
  --brand: #dfd276;
  --brand-ink: #000000;
}

Colors that work with #dfd276

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#EDE7C0
Hairlines and dividers
Muted text#9B914B
Captions on the surface
Accent#2355A9
Second voice, not a rival
Dark variant#675E18
Hover, pressed, headers
Light variant#FAF8EA
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 #dfd276

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
  • Card and section backgrounds
  • 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
  • White text placed on it
  • 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#7683DF
Analogous left#DF9E76
Analogous right#B8DF76
Split-complement 1#76B8DF
Split-complement 2#9E76DF
Triadic 1#76DFD2
Triadic 2#D276DF
Tetradic#76DF9E

RGB percentages

Red87.5%
Green82.4%
Blue46.3%

CMYK percentages

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

Color previews

#dfd276 text on a black background

contrast 13.62:1

Card sample

#dfd276 text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd276

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.

#dfd276 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
SurfacesBadgesHighlightsEmpty states
Print note

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

#dfd276, answered

What color is #dfd276?

#dfd276 is a light vivid yellow, closest to Khaki (ΔE2000 4.6). It sits at 53° on the hue wheel with 62% saturation and 67% lightness, which reads as warm.

What is the RGB value of #dfd276?

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

Is #dfd276 a light or a dark color?

It is a light color. Relative luminance is 0.6309 and perceived brightness is 81%, so black text on it reaches 13.62:1.

Should I use black or white text on #dfd276?

Black. It scores 13.62:1 against #dfd276, versus 1.54:1 for white — AAA at any size.

What is the complementary color of #dfd276?

#7683DF sits directly opposite on the wheel. Softer options are the split-complements #76B8DF and #9E76DF, which give the same contrast with far less vibration.

What colors go well with #dfd276?

For interface work: #FAFAF4 as the surface, #EDE7C0 for borders, #9B914B for secondary text, #2355A9 as an accent and #675E18 for hover and pressed states. For a palette, the analogous pair #DF9E76 and #B8DF76 stays calm, while #7683DF is the loudest partner.

What is #dfd276 in CMYK for printing?

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

Is #dfd276 warm or cool?

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

Work with #dfd276 in the Color Lab