Skip to content

#dbdb3c

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

RGB
219, 219, 60
HSL
60°, 69%, 55%
CMYK
0, 0, 73, 14
Luminance
0.6605

At a glance

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

Hex
#dbdb3c
Hue
60°
yellow
Saturation
69%
vivid
Lightness
55%
balanced
Brightness
86%
HSV value
Perceived
81%
weighted brightness
Luminance
0.6605
WCAG relative
Temperature
Warm
25/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
14.21:1
Closest name
Khaki
ΔE2000 8.7
Where it sits
Hue60° of 360°
Saturation69%
Lightness55%
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#dbdb3c
RGBrgb(219, 219, 60)
HSLhsl(60, 69%, 55%)
CMYKcmyk(0%, 0%, 73%, 14%)
LABlab(85.0 -17.9 73.0)
LCHlch(85.0 75.1 103.8)
OKLCHoklch(0.865 0.170 109.5)
Decimal14408508
Display P3color(display-p3 0.859 0.859 0.235)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dbdb3c on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#dbdb3c on black: 14.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #EDD21B
deuteranopia · #EFD749
tritanopia · #EBCDBD

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #dbdb3c 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
#F8F8E7
#F2F2CA
#EDEDA0
#E5E571
#dbdb3c
#CFCF26
#ACAC20
#8A8A19
#646416
#3E3E0E
Base = 500Lightest = 50 · #FBFBF3Darkest = 950 · #3E3E0E
:root {
  --brand-50: #FBFBF3;
  --brand-100: #F8F8E7;
  --brand-200: #F2F2CA;
  --brand-300: #EDEDA0;
  --brand-400: #E5E571;
  --brand-500: #dbdb3c;
  --brand-600: #CFCF26;
  --brand-700: #ACAC20;
  --brand-800: #8A8A19;
  --brand-900: #646416;
  --brand-950: #3E3E0E;
  --brand: #dbdb3c;
  --brand-ink: #000000;
}

Colors that work with #dbdb3c

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#3761E0
Second voice, not a rival
Dark variant#6C6C14
Hover, pressed, headers
Light variant#FBFBE9
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 #dbdb3c

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#3C3CDB
Analogous left#DB8B3C
Analogous right#8BDB3C
Split-complement 1#3C8BDB
Split-complement 2#8B3CDB
Triadic 1#3CDBDB
Triadic 2#DB3CDB
Tetradic#3CDB8B

RGB percentages

Red85.9%
Green85.9%
Blue23.5%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow72.6%
Key (black)14.1%

Color previews

#dbdb3c text on a black background

contrast 14.21:1

Card sample

#dbdb3c text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dbdb3c

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.

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

#dbdb3c, answered

What color is #dbdb3c?

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

What is the RGB value of #dbdb3c?

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

Is #dbdb3c a light or a dark color?

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

Should I use black or white text on #dbdb3c?

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

What is the complementary color of #dbdb3c?

#3C3CDB sits directly opposite on the wheel. Softer options are the split-complements #3C8BDB and #8B3CDB, which give the same contrast with far less vibration.

What colors go well with #dbdb3c?

For interface work: #FAFAF4 as the surface, #EDEDC0 for borders, #9B9B4B for secondary text, #3761E0 as an accent and #6C6C14 for hover and pressed states. For a palette, the analogous pair #DB8B3C and #8BDB3C stays calm, while #3C3CDB is the loudest partner.

What is #dbdb3c in CMYK for printing?

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

Is #dbdb3c 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 #DBA53C; nudged cooler, #A1DD3A.

Work with #dbdb3c in the Color Lab