Skip to content

#dbd968

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

RGB
219, 217, 104
HSL
59°, 62%, 63%
CMYK
0, 1, 53, 14
Luminance
0.6569

At a glance

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

Hex
#dbd968
Hue
59°
yellow
Saturation
62%
vivid
Lightness
63%
balanced
Brightness
86%
HSV value
Perceived
82%
weighted brightness
Luminance
0.6569
WCAG relative
Temperature
Warm
24/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
14.14:1
Closest name
Khaki
ΔE2000 5.1
Where it sits
Hue59° of 360°
Saturation62%
Lightness63%
Temperature
Warm ← → Cool24% 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#dbd968
RGBrgb(219, 217, 104)
HSLhsl(59, 62%, 63%)
CMYKcmyk(0%, 1%, 53%, 14%)
LABlab(84.8 -14.2 55.1)
LCHlch(84.8 56.9 104.4)
OKLCHoklch(0.864 0.136 108.0)
Decimal14408040
Display P3color(display-p3 0.859 0.851 0.408)

Copy-ready code

/* CSS */
color: #dbd968;
background-color: #dbd968;
/* Tailwind (arbitrary) */
class="text-[#dbd968] bg-[#dbd968]"
/* SCSS */
$brand: #dbd968;
/* SwiftUI */
Color(red: 0.859, green: 0.851, blue: 0.408)
/* Android */
Color.parseColor("#dbd968")
/* Flutter */
Color(0xFFDBD968)
/* Python / OpenCV (BGR) */
(104, 217, 219)

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

Accessibility — WCAG contrast

Aa
#dbd968 on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#dbd968 on black: 14.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E8D15D
deuteranopia · #EAD66E
tritanopia · #E9CDC0

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #dbd968 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
#F7F7E8
#F0EFCC
#E9E8A4
#dbd968
#D4D24A
#C6C32F
#A5A327
#84821F
#605F1B
#3C3B11
Base = 400Lightest = 50 · #FBFBF4Darkest = 950 · #3C3B11
:root {
  --brand-50: #FBFBF4;
  --brand-100: #F7F7E8;
  --brand-200: #F0EFCC;
  --brand-300: #E9E8A4;
  --brand-400: #dbd968;
  --brand-500: #D4D24A;
  --brand-600: #C6C32F;
  --brand-700: #A5A327;
  --brand-800: #84821F;
  --brand-900: #605F1B;
  --brand-950: #3C3B11;
  --brand: #dbd968;
  --brand-ink: #000000;
}

Colors that work with #dbd968

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#EDECC0
Hairlines and dividers
Muted text#9B9A4B
Captions on the surface
Accent#6485DF
Second voice, not a rival
Dark variant#676619
Hover, pressed, headers
Light variant#FAFAEA
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 #dbd968

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#686ADB
Analogous left#DB9F68
Analogous right#A3DB68
Split-complement 1#68A3DB
Split-complement 2#9F68DB
Triadic 1#68DBD9
Triadic 2#D968DB
Tetradic#68DB9F

RGB percentages

Red85.9%
Green85.1%
Blue40.8%

CMYK percentages

Cyan0.0%
Magenta0.9%
Yellow52.5%
Key (black)14.1%

Color previews

#dbd968 text on a black background

contrast 14.14:1

Card sample

#dbd968 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(219, 217, 104, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(219, 217, 104, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dbd968;
background: linear-gradient(135deg, #dbd968, #90DB68);

Monochromatic scale

Palettes built from #dbd968

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.

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

#dbd968, answered

What color is #dbd968?

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

What is the RGB value of #dbd968?

rgb(219, 217, 104) — 219 red, 217 green and 104 blue out of 255, or 85.9% / 85.1% / 40.8% by channel.

Is #dbd968 a light or a dark color?

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

Should I use black or white text on #dbd968?

Black. It scores 14.14:1 against #dbd968, versus 1.49:1 for white — AAA at any size.

What is the complementary color of #dbd968?

#686ADB sits directly opposite on the wheel. Softer options are the split-complements #68A3DB and #9F68DB, which give the same contrast with far less vibration.

What colors go well with #dbd968?

For interface work: #FAFAF4 as the surface, #EDECC0 for borders, #9B9A4B for secondary text, #6485DF as an accent and #676619 for hover and pressed states. For a palette, the analogous pair #DB9F68 and #A3DB68 stays calm, while #686ADB is the loudest partner.

What is #dbd968 in CMYK for printing?

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

Is #dbd968 warm or cool?

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

Work with #dbd968 in the Color Lab