Skip to content

#dacf71

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

RGB
218, 207, 113
HSL
54°, 59%, 65%
CMYK
0, 5, 48, 15
Luminance
0.6072

At a glance

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

Hex
#dacf71
Hue
54°
yellow
Saturation
59%
vivid
Lightness
65%
balanced
Brightness
85%
HSV value
Perceived
79%
weighted brightness
Luminance
0.6072
WCAG relative
Temperature
Warm
20/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
13.14:1
Closest name
Khaki
ΔE2000 5.4
Where it sits
Hue54° of 360°
Saturation59%
Lightness65%
Temperature
Warm ← → Cool20% 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#dacf71
RGBrgb(218, 207, 113)
HSLhsl(54, 59%, 65%)
CMYKcmyk(0%, 5%, 48%, 15%)
LABlab(82.2 -8.8 47.7)
LCHlch(82.2 48.5 100.4)
OKLCHoklch(0.844 0.117 102.6)
Decimal14339953
Display P3color(display-p3 0.855 0.812 0.443)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dacf71 on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#dacf71 on black: 13.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DEC969
deuteranopia · #E2CF75
tritanopia · #E7C4B9

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #dacf71 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
#F7F5E9
#EFEBCD
#E8E1A6
#dacf71
#D1C34D
#C2B333
#A2952A
#817722
#5E571C
#3B3712
Base = 400Lightest = 50 · #FBFAF4Darkest = 950 · #3B3712
:root {
  --brand-50: #FBFAF4;
  --brand-100: #F7F5E9;
  --brand-200: #EFEBCD;
  --brand-300: #E8E1A6;
  --brand-400: #dacf71;
  --brand-500: #D1C34D;
  --brand-600: #C2B333;
  --brand-700: #A2952A;
  --brand-800: #817722;
  --brand-900: #5E571C;
  --brand-950: #3B3712;
  --brand: #dacf71;
  --brand-ink: #000000;
}

Colors that work with #dacf71

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#EDE8C0
Hairlines and dividers
Muted text#9B924B
Captions on the surface
Accent#2653A6
Second voice, not a rival
Dark variant#655D1A
Hover, pressed, headers
Light variant#FAF8EB
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 #dacf71

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#717CDA
Analogous left#DA9A71
Analogous right#B1DA71
Split-complement 1#71B1DA
Split-complement 2#9A71DA
Triadic 1#71DACF
Triadic 2#CF71DA
Tetradic#71DA9A

RGB percentages

Red85.5%
Green81.2%
Blue44.3%

CMYK percentages

Cyan0.0%
Magenta5.0%
Yellow48.2%
Key (black)14.5%

Color previews

#dacf71 text on a black background

contrast 13.14:1

Card sample

#dacf71 text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dacf71

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.

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

#dacf71, answered

What color is #dacf71?

#dacf71 is a balanced vivid yellow, closest to Khaki (ΔE2000 5.4). It sits at 54° on the hue wheel with 59% saturation and 65% lightness, which reads as warm.

What is the RGB value of #dacf71?

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

Is #dacf71 a light or a dark color?

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

Should I use black or white text on #dacf71?

Black. It scores 13.14:1 against #dacf71, versus 1.60:1 for white — AAA at any size.

What is the complementary color of #dacf71?

#717CDA sits directly opposite on the wheel. Softer options are the split-complements #71B1DA and #9A71DA, which give the same contrast with far less vibration.

What colors go well with #dacf71?

For interface work: #FAFAF4 as the surface, #EDE8C0 for borders, #9B924B for secondary text, #2653A6 as an accent and #655D1A for hover and pressed states. For a palette, the analogous pair #DA9A71 and #B1DA71 stays calm, while #717CDA is the loudest partner.

What is #dacf71 in CMYK for printing?

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

Is #dacf71 warm or cool?

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

Work with #dacf71 in the Color Lab