Skip to content

#d9da70

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

RGB
217, 218, 112
HSL
61°, 59%, 65%
CMYK
1, 0, 49, 15
Luminance
0.6606

At a glance

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

Hex
#d9da70
Hue
61°
yellow
Saturation
59%
vivid
Lightness
65%
balanced
Brightness
85%
HSV value
Perceived
82%
weighted brightness
Luminance
0.6606
WCAG relative
Temperature
Warm
26/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
14.21:1
Closest name
Khaki
ΔE2000 4.9
Where it sits
Hue61° of 360°
Saturation59%
Lightness65%
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#d9da70
RGBrgb(217, 218, 112)
HSLhsl(61, 59%, 65%)
CMYKcmyk(1%, 0%, 49%, 15%)
LABlab(85.0 -14.8 51.6)
LCHlch(85.0 53.6 106.0)
OKLCHoklch(0.866 0.129 109.3)
Decimal14277232
Display P3color(display-p3 0.851 0.855 0.439)

Copy-ready code

/* CSS */
color: #d9da70;
background-color: #d9da70;
/* Tailwind (arbitrary) */
class="text-[#d9da70] bg-[#d9da70]"
/* SCSS */
$brand: #d9da70;
/* SwiftUI */
Color(red: 0.851, green: 0.855, blue: 0.439)
/* Android */
Color.parseColor("#d9da70")
/* Flutter */
Color(0xFFD9DA70)
/* Python / OpenCV (BGR) */
(112, 218, 217)

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

Accessibility — WCAG contrast

Aa
#d9da70 on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#d9da70 on black: 14.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E8D266
deuteranopia · #EAD675
tritanopia · #E6CFC2

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #d9da70 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
#EFEFCD
#E7E8A6
#d9da70
#D0D14D
#C1C232
#A1A22A
#818222
#5E5E1C
#3B3B12
Base = 400Lightest = 50 · #FBFBF4Darkest = 950 · #3B3B12
:root {
  --brand-50: #FBFBF4;
  --brand-100: #F7F7E9;
  --brand-200: #EFEFCD;
  --brand-300: #E7E8A6;
  --brand-400: #d9da70;
  --brand-500: #D0D14D;
  --brand-600: #C1C232;
  --brand-700: #A1A22A;
  --brand-800: #818222;
  --brand-900: #5E5E1C;
  --brand-950: #3B3B12;
  --brand: #d9da70;
  --brand-ink: #000000;
}

Colors that work with #d9da70

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#9A9B4B
Captions on the surface
Accent#6C88DE
Second voice, not a rival
Dark variant#65651A
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 #d9da70

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#7170DA
Analogous left#DAA670
Analogous right#A4DA70
Split-complement 1#70A4DA
Split-complement 2#A670DA
Triadic 1#70D9DA
Triadic 2#DA70D9
Tetradic#70DAA6

RGB percentages

Red85.1%
Green85.5%
Blue43.9%

CMYK percentages

Cyan0.5%
Magenta0.0%
Yellow48.6%
Key (black)14.5%

Color previews

#d9da70 text on a black background

contrast 14.21:1

Card sample

#d9da70 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(217, 218, 112, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(217, 218, 112, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d9da70;
background: linear-gradient(135deg, #d9da70, #92DA70);

Monochromatic scale

Palettes built from #d9da70

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.

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

#d9da70, answered

What color is #d9da70?

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

What is the RGB value of #d9da70?

rgb(217, 218, 112) — 217 red, 218 green and 112 blue out of 255, or 85.1% / 85.5% / 43.9% by channel.

Is #d9da70 a light or a dark color?

It is a light color. Relative luminance is 0.6606 and perceived brightness is 82%, so black text on it reaches 14.21:1.

Should I use black or white text on #d9da70?

Black. It scores 14.21:1 against #d9da70, versus 1.48:1 for white — AAA at any size.

What is the complementary color of #d9da70?

#7170DA sits directly opposite on the wheel. Softer options are the split-complements #70A4DA and #A670DA, which give the same contrast with far less vibration.

What colors go well with #d9da70?

For interface work: #FAFAF4 as the surface, #ECEDC0 for borders, #9A9B4B for secondary text, #6C88DE as an accent and #65651A for hover and pressed states. For a palette, the analogous pair #DAA670 and #A4DA70 stays calm, while #7170DA is the loudest partner.

What is #d9da70 in CMYK for printing?

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

Is #d9da70 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 #DAB470; nudged cooler, #B3DC6E.

Work with #d9da70 in the Color Lab