Skip to content

#dddf7f

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

RGB
221, 223, 127
HSL
61°, 60%, 69%
CMYK
1, 0, 43, 13
Luminance
0.6968

At a glance

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

Hex
#dddf7f
Hue
61°
yellow
Saturation
60%
vivid
Lightness
69%
light
Brightness
87%
HSV value
Perceived
84%
weighted brightness
Luminance
0.6968
WCAG relative
Temperature
Warm
26/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
14.94:1
Closest name
Khaki
ΔE2000 3.9
Where it sits
Hue61° of 360°
Saturation60%
Lightness69%
Temperature
Warm ← → Cool26% 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#dddf7f
RGBrgb(221, 223, 127)
HSLhsl(61, 60%, 69%)
CMYKcmyk(1%, 0%, 43%, 13%)
LABlab(86.8 -14.3 46.6)
LCHlch(86.8 48.8 107.0)
OKLCHoklch(0.882 0.119 109.7)
Decimal14540671
Display P3color(display-p3 0.867 0.875 0.498)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dddf7f on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#dddf7f on black: 14.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #EDD877
deuteranopia · #EEDB83
tritanopia · #E9D4C8

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #dddf7f 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
#F7F7E9
#EFEFCC
#E7E9A5
#dddf7f
#CFD24B
#C1C431
#A1A329
#818321
#5E5F1B
#3B3B11
Base = 400Lightest = 50 · #FBFBF4Darkest = 950 · #3B3B11
:root {
  --brand-50: #FBFBF4;
  --brand-100: #F7F7E9;
  --brand-200: #EFEFCC;
  --brand-300: #E7E9A5;
  --brand-400: #dddf7f;
  --brand-500: #CFD24B;
  --brand-600: #C1C431;
  --brand-700: #A1A329;
  --brand-800: #818321;
  --brand-900: #5E5F1B;
  --brand-950: #3B3B11;
  --brand: #dddf7f;
  --brand-ink: #000000;
}

Colors that work with #dddf7f

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#ECEDC0
Hairlines and dividers
Muted text#999B4B
Captions on the surface
Accent#2542A7
Second voice, not a rival
Dark variant#64661A
Hover, pressed, headers
Light variant#FAFAEB
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 #dddf7f

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#817FDF
Analogous left#DFB17F
Analogous right#ADDF7F
Split-complement 1#7FADDF
Split-complement 2#B17FDF
Triadic 1#7FDDDF
Triadic 2#DF7FDD
Tetradic#7FDFB1

RGB percentages

Red86.7%
Green87.5%
Blue49.8%

CMYK percentages

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

Color previews

#dddf7f text on a black background

contrast 14.94:1

Card sample

#dddf7f text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dddf7f

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.

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

#dddf7f, answered

What color is #dddf7f?

#dddf7f is a light vivid yellow, closest to Khaki (ΔE2000 3.9). It sits at 61° on the hue wheel with 60% saturation and 69% lightness, which reads as warm.

What is the RGB value of #dddf7f?

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

Is #dddf7f a light or a dark color?

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

Should I use black or white text on #dddf7f?

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

What is the complementary color of #dddf7f?

#817FDF sits directly opposite on the wheel. Softer options are the split-complements #7FADDF and #B17FDF, which give the same contrast with far less vibration.

What colors go well with #dddf7f?

For interface work: #FAFAF4 as the surface, #ECEDC0 for borders, #999B4B for secondary text, #2542A7 as an accent and #64661A for hover and pressed states. For a palette, the analogous pair #DFB17F and #ADDF7F stays calm, while #817FDF is the loudest partner.

What is #dddf7f in CMYK for printing?

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

Is #dddf7f warm or cool?

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

Work with #dddf7f in the Color Lab