Skip to content

#dfdd8f

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

RGB
223, 221, 143
HSL
59°, 56%, 72%
CMYK
0, 1, 36, 13
Luminance
0.6938

At a glance

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

Hex
#dfdd8f
Hue
59°
yellow
Saturation
56%
vivid
Lightness
72%
light
Brightness
87%
HSV value
Perceived
84%
weighted brightness
Luminance
0.6938
WCAG relative
Temperature
Warm
24/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
14.88:1
Closest name
Khaki
ΔE2000 3.7
Where it sits
Hue59° of 360°
Saturation56%
Lightness72%
Temperature
Warm ← → Cool24% 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#dfdd8f
RGBrgb(223, 221, 143)
HSLhsl(59, 56%, 72%)
CMYKcmyk(0%, 1%, 36%, 13%)
LABlab(86.7 -10.8 38.6)
LCHlch(86.7 40.0 105.6)
OKLCHoklch(0.881 0.099 107.0)
Decimal14671247
Display P3color(display-p3 0.875 0.867 0.561)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfdd8f on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#dfdd8f on black: 14.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E9D789
deuteranopia · #EBDB92
tritanopia · #EAD4C9

Color scale — 50 to 950

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

#FBFBF4
#F6F6E9
#EEEDCE
#E6E5A8
#dfdd8f
#CDCA50
#BEBB36
#9F9C2D
#7F7D24
#5D5B1E
#3A3913
Base = 400Lightest = 50 · #FBFBF4Darkest = 950 · #3A3913
:root {
  --brand-50: #FBFBF4;
  --brand-100: #F6F6E9;
  --brand-200: #EEEDCE;
  --brand-300: #E6E5A8;
  --brand-400: #dfdd8f;
  --brand-500: #CDCA50;
  --brand-600: #BEBB36;
  --brand-700: #9F9C2D;
  --brand-800: #7F7D24;
  --brand-900: #5D5B1E;
  --brand-950: #3A3913;
  --brand: #dfdd8f;
  --brand-ink: #000000;
}

Colors that work with #dfdd8f

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#EDECC0
Hairlines and dividers
Muted text#9B994B
Captions on the surface
Accent#294BA3
Second voice, not a rival
Dark variant#63611C
Hover, pressed, headers
Light variant#F9F9EB
Selected rows, tints
Dark surface#242414
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 #dfdd8f

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#8F91DF
Analogous left#DFB58F
Analogous right#B9DF8F
Split-complement 1#8FB9DF
Split-complement 2#B58FDF
Triadic 1#8FDFDD
Triadic 2#DD8FDF
Tetradic#8FDFB5

RGB percentages

Red87.5%
Green86.7%
Blue56.1%

CMYK percentages

Cyan0.0%
Magenta0.9%
Yellow35.9%
Key (black)12.5%

Color previews

#dfdd8f text on a black background

contrast 14.88:1

Card sample

#dfdd8f text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdd8f

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.

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

#dfdd8f, answered

What color is #dfdd8f?

#dfdd8f is a light vivid yellow, closest to Khaki (ΔE2000 3.7). It sits at 59° on the hue wheel with 56% saturation and 72% lightness, which reads as warm.

What is the RGB value of #dfdd8f?

rgb(223, 221, 143) — 223 red, 221 green and 143 blue out of 255, or 87.5% / 86.7% / 56.1% by channel.

Is #dfdd8f a light or a dark color?

It is a light color. Relative luminance is 0.6938 and perceived brightness is 84%, so black text on it reaches 14.88:1.

Should I use black or white text on #dfdd8f?

Black. It scores 14.88:1 against #dfdd8f, versus 1.41:1 for white — AAA at any size.

What is the complementary color of #dfdd8f?

#8F91DF sits directly opposite on the wheel. Softer options are the split-complements #8FB9DF and #B58FDF, which give the same contrast with far less vibration.

What colors go well with #dfdd8f?

For interface work: #FAFAF4 as the surface, #EDECC0 for borders, #9B994B for secondary text, #294BA3 as an accent and #63611C for hover and pressed states. For a palette, the analogous pair #DFB58F and #B9DF8F stays calm, while #8F91DF is the loudest partner.

What is #dfdd8f in CMYK for printing?

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

Is #dfdd8f warm or cool?

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

Work with #dfdd8f in the Color Lab