Skip to content

#dacf7d

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

RGB
218, 207, 125
HSL
53°, 56%, 67%
CMYK
0, 5, 43, 15
Luminance
0.6101

At a glance

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

Hex
#dacf7d
Hue
53°
yellow
Saturation
56%
vivid
Lightness
67%
light
Brightness
85%
HSV value
Perceived
80%
weighted brightness
Luminance
0.6101
WCAG relative
Temperature
Warm
19/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
13.20:1
Closest name
Khaki
ΔE2000 5.3
Where it sits
Hue53° of 360°
Saturation56%
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#dacf7d
RGBrgb(218, 207, 125)
HSLhsl(53, 56%, 67%)
CMYKcmyk(0%, 5%, 43%, 15%)
LABlab(82.4 -7.6 42.0)
LCHlch(82.4 42.7 100.3)
OKLCHoklch(0.846 0.104 101.7)
Decimal14339965
Display P3color(display-p3 0.855 0.812 0.490)

Copy-ready code

/* CSS */
color: #dacf7d;
background-color: #dacf7d;
/* Tailwind (arbitrary) */
class="text-[#dacf7d] bg-[#dacf7d]"
/* SCSS */
$brand: #dacf7d;
/* SwiftUI */
Color(red: 0.855, green: 0.812, blue: 0.490)
/* Android */
Color.parseColor("#dacf7d")
/* Flutter */
Color(0xFFDACF7D)
/* Python / OpenCV (BGR) */
(125, 207, 218)

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

Accessibility — WCAG contrast

Aa
#dacf7d on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#dacf7d on black: 13.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DDCA77
deuteranopia · #E0CF80
tritanopia · #E7C5BB

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #dacf7d 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
#F6F5E9
#EEEACE
#E6DFA8
#dacf7d
#CDBF50
#BFAE36
#9F912D
#7F7424
#5D551E
#3A3513
Base = 400Lightest = 50 · #FBFAF4Darkest = 950 · #3A3513
:root {
  --brand-50: #FBFAF4;
  --brand-100: #F6F5E9;
  --brand-200: #EEEACE;
  --brand-300: #E6DFA8;
  --brand-400: #dacf7d;
  --brand-500: #CDBF50;
  --brand-600: #BFAE36;
  --brand-700: #9F912D;
  --brand-800: #7F7424;
  --brand-900: #5D551E;
  --brand-950: #3A3513;
  --brand: #dacf7d;
  --brand-ink: #000000;
}

Colors that work with #dacf7d

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#2A57A2
Second voice, not a rival
Dark variant#635B1C
Hover, pressed, headers
Light variant#F9F8EB
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 #dacf7d

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#7D88DA
Analogous left#DAA17D
Analogous right#B7DA7D
Split-complement 1#7DB7DA
Split-complement 2#A17DDA
Triadic 1#7DDACF
Triadic 2#CF7DDA
Tetradic#7DDAA1

RGB percentages

Red85.5%
Green81.2%
Blue49.0%

CMYK percentages

Cyan0.0%
Magenta5.0%
Yellow42.7%
Key (black)14.5%

Color previews

#dacf7d text on a black background

contrast 13.20:1

Card sample

#dacf7d text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(218, 207, 125, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(218, 207, 125, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dacf7d;
background: linear-gradient(135deg, #dacf7d, #A7DA7D);

Monochromatic scale

Palettes built from #dacf7d

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.

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

#dacf7d, answered

What color is #dacf7d?

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

What is the RGB value of #dacf7d?

rgb(218, 207, 125) — 218 red, 207 green and 125 blue out of 255, or 85.5% / 81.2% / 49% by channel.

Is #dacf7d a light or a dark color?

It is a light color. Relative luminance is 0.6101 and perceived brightness is 80%, so black text on it reaches 13.20:1.

Should I use black or white text on #dacf7d?

Black. It scores 13.20:1 against #dacf7d, versus 1.59:1 for white — AAA at any size.

What is the complementary color of #dacf7d?

#7D88DA sits directly opposite on the wheel. Softer options are the split-complements #7DB7DA and #A17DDA, which give the same contrast with far less vibration.

What colors go well with #dacf7d?

For interface work: #FAFAF4 as the surface, #EDE7C0 for borders, #9B914B for secondary text, #2A57A2 as an accent and #635B1C for hover and pressed states. For a palette, the analogous pair #DAA17D and #B7DA7D stays calm, while #7D88DA is the loudest partner.

What is #dacf7d in CMYK for printing?

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

Is #dacf7d 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 #DAB17D; nudged cooler, #C4DC7C.

Work with #dacf7d in the Color Lab