Skip to content

#dacf49

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

RGB
218, 207, 73
HSL
55°, 66%, 57%
CMYK
0, 5, 67, 15
Luminance
0.6001

At a glance

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

Hex
#dacf49
Hue
55°
yellow
Saturation
66%
vivid
Lightness
57%
balanced
Brightness
85%
HSV value
Perceived
78%
weighted brightness
Luminance
0.6001
WCAG relative
Temperature
Warm
21/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
13.00:1
Closest name
Khaki
ΔE2000 8
Where it sits
Hue55° of 360°
Saturation66%
Lightness57%
Temperature
Warm ← → Cool21% 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#dacf49
RGBrgb(218, 207, 73)
HSLhsl(55, 66%, 57%)
CMYKcmyk(0%, 5%, 67%, 15%)
LABlab(81.8 -11.7 65.1)
LCHlch(81.8 66.2 100.2)
OKLCHoklch(0.840 0.151 104.6)
Decimal14339913
Display P3color(display-p3 0.855 0.812 0.286)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dacf49 on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#dacf49 on black: 13.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E1C836
deuteranopia · #E4CE51
tritanopia · #EAC1B4

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #dacf49 is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FBFBF3
#F8F6E8
#F1EECB
#ECE6A2
#E3DA73
#dacf49
#CBBF29
#AA9F22
#887F1C
#625D18
#3E3A0F
Base = 500Lightest = 50 · #FBFBF3Darkest = 950 · #3E3A0F
:root {
  --brand-50: #FBFBF3;
  --brand-100: #F8F6E8;
  --brand-200: #F1EECB;
  --brand-300: #ECE6A2;
  --brand-400: #E3DA73;
  --brand-500: #dacf49;
  --brand-600: #CBBF29;
  --brand-700: #AA9F22;
  --brand-800: #887F1C;
  --brand-900: #625D18;
  --brand-950: #3E3A0F;
  --brand: #dacf49;
  --brand-ink: #000000;
}

Colors that work with #dacf49

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#EDE9C0
Hairlines and dividers
Muted text#9B954B
Captions on the surface
Accent#4577DE
Second voice, not a rival
Dark variant#6A6316
Hover, pressed, headers
Light variant#FBF9EA
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 #dacf49

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#4954DA
Analogous left#DA8749
Analogous right#9DDA49
Split-complement 1#499DDA
Split-complement 2#8749DA
Triadic 1#49DACF
Triadic 2#CF49DA
Tetradic#49DA87

RGB percentages

Red85.5%
Green81.2%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta5.0%
Yellow66.5%
Key (black)14.5%

Color previews

#dacf49 text on a black background

contrast 13.00:1

Card sample

#dacf49 text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dacf49

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.

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

#dacf49, answered

What color is #dacf49?

#dacf49 is a balanced vivid yellow, closest to Khaki (ΔE2000 8). It sits at 55° on the hue wheel with 66% saturation and 57% lightness, which reads as warm.

What is the RGB value of #dacf49?

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

Is #dacf49 a light or a dark color?

It is a light color. Relative luminance is 0.6001 and perceived brightness is 78%, so black text on it reaches 13.00:1.

Should I use black or white text on #dacf49?

Black. It scores 13.00:1 against #dacf49, versus 1.62:1 for white — AAA at any size.

What is the complementary color of #dacf49?

#4954DA sits directly opposite on the wheel. Softer options are the split-complements #499DDA and #8749DA, which give the same contrast with far less vibration.

What colors go well with #dacf49?

For interface work: #FAFAF4 as the surface, #EDE9C0 for borders, #9B954B for secondary text, #4577DE as an accent and #6A6316 for hover and pressed states. For a palette, the analogous pair #DA8749 and #9DDA49 stays calm, while #4954DA is the loudest partner.

What is #dacf49 in CMYK for printing?

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

Is #dacf49 warm or cool?

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

Work with #dacf49 in the Color Lab