Skip to content

#dacf89

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

RGB
218, 207, 137
HSL
52°, 52%, 70%
CMYK
0, 5, 37, 15
Luminance
0.6134

At a glance

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

Hex
#dacf89
Hue
52°
yellow
Saturation
52%
vivid
Lightness
70%
light
Brightness
85%
HSV value
Perceived
80%
weighted brightness
Luminance
0.6134
WCAG relative
Temperature
Warm
18/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
13.27:1
Closest name
Khaki
ΔE2000 6
Where it sits
Hue52° of 360°
Saturation52%
Lightness70%
Temperature
Warm ← → Cool18% 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#dacf89
RGBrgb(218, 207, 137)
HSLhsl(52, 52%, 70%)
CMYKcmyk(0%, 5%, 37%, 15%)
LABlab(82.6 -6.3 36.2)
LCHlch(82.6 36.7 99.9)
OKLCHoklch(0.848 0.091 100.4)
Decimal14339977
Display P3color(display-p3 0.855 0.812 0.537)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dacf89 on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#dacf89 on black: 13.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DCCB84
deuteranopia · #DFD08C
tritanopia · #E6C6BD

Color scale — 50 to 950

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

#FAFAF4
#F6F4E9
#EDE9CF
#E4DCAA
#dacf89
#C9BA54
#BAA93A
#9B8D31
#7C7127
#5B5320
#393414
Base = 400Lightest = 50 · #FAFAF4Darkest = 950 · #393414
:root {
  --brand-50: #FAFAF4;
  --brand-100: #F6F4E9;
  --brand-200: #EDE9CF;
  --brand-300: #E4DCAA;
  --brand-400: #dacf89;
  --brand-500: #C9BA54;
  --brand-600: #BAA93A;
  --brand-700: #9B8D31;
  --brand-800: #7C7127;
  --brand-900: #5B5320;
  --brand-950: #393414;
  --brand: #dacf89;
  --brand-ink: #000000;
}

Colors that work with #dacf89

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#ECE6C1
Hairlines and dividers
Muted text#9B904B
Captions on the surface
Accent#2D589F
Second voice, not a rival
Dark variant#61581E
Hover, pressed, headers
Light variant#F9F7EC
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 #dacf89

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#8994DA
Analogous left#DAA789
Analogous right#BCDA89
Split-complement 1#89BCDA
Split-complement 2#A789DA
Triadic 1#89DACF
Triadic 2#CF89DA
Tetradic#89DAA7

RGB percentages

Red85.5%
Green81.2%
Blue53.7%

CMYK percentages

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

Color previews

#dacf89 text on a black background

contrast 13.27:1

Card sample

#dacf89 text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dacf89

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.

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

#dacf89, answered

What color is #dacf89?

#dacf89 is a light vivid yellow, closest to Khaki (ΔE2000 6). It sits at 52° on the hue wheel with 52% saturation and 70% lightness, which reads as warm.

What is the RGB value of #dacf89?

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

Is #dacf89 a light or a dark color?

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

Should I use black or white text on #dacf89?

Black. It scores 13.27:1 against #dacf89, versus 1.58:1 for white — AAA at any size.

What is the complementary color of #dacf89?

#8994DA sits directly opposite on the wheel. Softer options are the split-complements #89BCDA and #A789DA, which give the same contrast with far less vibration.

What colors go well with #dacf89?

For interface work: #FAFAF4 as the surface, #ECE6C1 for borders, #9B904B for secondary text, #2D589F as an accent and #61581E for hover and pressed states. For a palette, the analogous pair #DAA789 and #BCDA89 stays calm, while #8994DA is the loudest partner.

What is #dacf89 in CMYK for printing?

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

Is #dacf89 warm or cool?

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

Work with #dacf89 in the Color Lab