Skip to content

#d9da79

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

RGB
217, 218, 121
HSL
61°, 57%, 67%
CMYK
1, 0, 45, 15
Luminance
0.6627

At a glance

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

Hex
#d9da79
Hue
61°
yellow
Saturation
57%
vivid
Lightness
67%
light
Brightness
85%
HSV value
Perceived
82%
weighted brightness
Luminance
0.6627
WCAG relative
Temperature
Warm
26/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
14.25:1
Closest name
Khaki
ΔE2000 4.4
Where it sits
Hue61° of 360°
Saturation57%
Lightness67%
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#d9da79
RGBrgb(217, 218, 121)
HSLhsl(61, 57%, 67%)
CMYKcmyk(1%, 0%, 45%, 15%)
LABlab(85.1 -13.9 47.4)
LCHlch(85.1 49.4 106.4)
OKLCHoklch(0.867 0.120 109.2)
Decimal14277241
Display P3color(display-p3 0.851 0.855 0.475)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d9da79 on white: 1.47:1
AA ✗ fail · AA-large · AAA
Aa
#d9da79 on black: 14.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E8D371
deuteranopia · #E9D67E
tritanopia · #E5CFC3

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #d9da79 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
#F6F6E9
#EEEECD
#E6E7A7
#d9da79
#CDCE4F
#BEC035
#9FA02C
#7F8023
#5C5D1D
#3A3A12
Base = 400Lightest = 50 · #FBFBF4Darkest = 950 · #3A3A12
:root {
  --brand-50: #FBFBF4;
  --brand-100: #F6F6E9;
  --brand-200: #EEEECD;
  --brand-300: #E6E7A7;
  --brand-400: #d9da79;
  --brand-500: #CDCE4F;
  --brand-600: #BEC035;
  --brand-700: #9FA02C;
  --brand-800: #7F8023;
  --brand-900: #5C5D1D;
  --brand-950: #3A3A12;
  --brand: #d9da79;
  --brand-ink: #000000;
}

Colors that work with #d9da79

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#2946A3
Second voice, not a rival
Dark variant#63641C
Hover, pressed, headers
Light variant#F9F9EB
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 #d9da79

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#7A79DA
Analogous left#DAAB79
Analogous right#A9DA79
Split-complement 1#79A9DA
Split-complement 2#AB79DA
Triadic 1#79D9DA
Triadic 2#DA79D9
Tetradic#79DAAB

RGB percentages

Red85.1%
Green85.5%
Blue47.5%

CMYK percentages

Cyan0.5%
Magenta0.0%
Yellow44.5%
Key (black)14.5%

Color previews

#d9da79 text on a black background

contrast 14.25:1

Card sample

#d9da79 text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d9da79

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.

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

#d9da79, answered

What color is #d9da79?

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

What is the RGB value of #d9da79?

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

Is #d9da79 a light or a dark color?

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

Should I use black or white text on #d9da79?

Black. It scores 14.25:1 against #d9da79, versus 1.47:1 for white — AAA at any size.

What is the complementary color of #d9da79?

#7A79DA sits directly opposite on the wheel. Softer options are the split-complements #79A9DA and #AB79DA, which give the same contrast with far less vibration.

What colors go well with #d9da79?

For interface work: #FAFAF4 as the surface, #ECEDC0 for borders, #9A9B4B for secondary text, #2946A3 as an accent and #63641C for hover and pressed states. For a palette, the analogous pair #DAAB79 and #A9DA79 stays calm, while #7A79DA is the loudest partner.

What is #d9da79 in CMYK for printing?

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

Is #d9da79 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 #DAB779; nudged cooler, #B6DC77.

Work with #d9da79 in the Color Lab