Skip to content

#dbdb4c

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

RGB
219, 219, 76
HSL
60°, 67%, 58%
CMYK
0, 0, 65, 14
Luminance
0.6624

At a glance

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

Hex
#dbdb4c
Hue
60°
yellow
Saturation
67%
vivid
Lightness
58%
balanced
Brightness
86%
HSV value
Perceived
81%
weighted brightness
Luminance
0.6624
WCAG relative
Temperature
Warm
25/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
14.25:1
Closest name
Khaki
ΔE2000 7.6
Where it sits
Hue60° of 360°
Saturation67%
Lightness58%
Temperature
Warm ← → Cool25% 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#dbdb4c
RGBrgb(219, 219, 76)
HSLhsl(60, 67%, 58%)
CMYKcmyk(0%, 0%, 65%, 14%)
LABlab(85.1 -17.1 67.3)
LCHlch(85.1 69.5 104.2)
OKLCHoklch(0.866 0.161 109.3)
Decimal14408524
Display P3color(display-p3 0.859 0.859 0.298)

Copy-ready code

/* CSS */
color: #dbdb4c;
background-color: #dbdb4c;
/* Tailwind (arbitrary) */
class="text-[#dbdb4c] bg-[#dbdb4c]"
/* SCSS */
$brand: #dbdb4c;
/* SwiftUI */
Color(red: 0.859, green: 0.859, blue: 0.298)
/* Android */
Color.parseColor("#dbdb4c")
/* Flutter */
Color(0xFFDBDB4C)
/* Python / OpenCV (BGR) */
(76, 219, 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 #dbdb4c · 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: #dbdb4c as text scores 1.47:1 on white and 14.25:1 on black.

Accessibility — WCAG contrast

Aa
#dbdb4c on white: 1.47:1
AA ✗ fail · AA-large · AAA
Aa
#dbdb4c on black: 14.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #ECD238
deuteranopia · #EED756
tritanopia · #EACEBE

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #dbdb4c 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
#F8F8E8
#F1F1CA
#ECECA2
#E3E373
#dbdb4c
#CCCC29
#AAAA22
#88881B
#636318
#3E3E0F
Base = 500Lightest = 50 · #FBFBF3Darkest = 950 · #3E3E0F
:root {
  --brand-50: #FBFBF3;
  --brand-100: #F8F8E8;
  --brand-200: #F1F1CA;
  --brand-300: #ECECA2;
  --brand-400: #E3E373;
  --brand-500: #dbdb4c;
  --brand-600: #CCCC29;
  --brand-700: #AAAA22;
  --brand-800: #88881B;
  --brand-900: #636318;
  --brand-950: #3E3E0F;
  --brand: #dbdb4c;
  --brand-ink: #000000;
}

Colors that work with #dbdb4c

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#EDEDC0
Hairlines and dividers
Muted text#9B9B4B
Captions on the surface
Accent#486DDF
Second voice, not a rival
Dark variant#6A6A15
Hover, pressed, headers
Light variant#FBFBEA
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 #dbdb4c

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#4C4CDB
Analogous left#DB934C
Analogous right#93DB4C
Split-complement 1#4C93DB
Split-complement 2#934CDB
Triadic 1#4CDBDB
Triadic 2#DB4CDB
Tetradic#4CDB93

RGB percentages

Red85.9%
Green85.9%
Blue29.8%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow65.3%
Key (black)14.1%

Color previews

#dbdb4c text on a black background

contrast 14.25:1

Card sample

#dbdb4c text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(219, 219, 76, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(219, 219, 76, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dbdb4c;
background: linear-gradient(135deg, #dbdb4c, #7CDB4C);

Monochromatic scale

Palettes built from #dbdb4c

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.

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

#dbdb4c, answered

What color is #dbdb4c?

#dbdb4c is a balanced vivid yellow, closest to Khaki (ΔE2000 7.6). It sits at 60° on the hue wheel with 67% saturation and 58% lightness, which reads as warm.

What is the RGB value of #dbdb4c?

rgb(219, 219, 76) — 219 red, 219 green and 76 blue out of 255, or 85.9% / 85.9% / 29.8% by channel.

Is #dbdb4c a light or a dark color?

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

Should I use black or white text on #dbdb4c?

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

What is the complementary color of #dbdb4c?

#4C4CDB sits directly opposite on the wheel. Softer options are the split-complements #4C93DB and #934CDB, which give the same contrast with far less vibration.

What colors go well with #dbdb4c?

For interface work: #FAFAF4 as the surface, #EDEDC0 for borders, #9B9B4B for secondary text, #486DDF as an accent and #6A6A15 for hover and pressed states. For a palette, the analogous pair #DB934C and #93DB4C stays calm, while #4C4CDB is the loudest partner.

What is #dbdb4c in CMYK for printing?

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

Is #dbdb4c warm or cool?

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

Work with #dbdb4c in the Color Lab