Skip to content

#dbdc7f

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

RGB
219, 220, 127
HSL
61°, 57%, 68%
CMYK
1, 0, 42, 14
Luminance
0.6778

At a glance

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

Hex
#dbdc7f
Hue
61°
yellow
Saturation
57%
vivid
Lightness
68%
light
Brightness
86%
HSV value
Perceived
83%
weighted brightness
Luminance
0.6778
WCAG relative
Temperature
Warm
26/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
14.56:1
Closest name
Khaki
ΔE2000 4
Where it sits
Hue61° of 360°
Saturation57%
Lightness68%
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#dbdc7f
RGBrgb(219, 220, 127)
HSLhsl(61, 57%, 68%)
CMYKcmyk(1%, 0%, 42%, 14%)
LABlab(85.9 -13.6 45.4)
LCHlch(85.9 47.4 106.6)
OKLCHoklch(0.874 0.116 109.1)
Decimal14408831
Display P3color(display-p3 0.859 0.863 0.498)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dbdc7f on white: 1.44:1
AA ✗ fail · AA-large · AAA
Aa
#dbdc7f on black: 14.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E9D577
deuteranopia · #EBD883
tritanopia · #E7D2C6

Color scale — 50 to 950

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

Colors that work with #dbdc7f

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#2845A4
Second voice, not a rival
Dark variant#63641B
Hover, pressed, headers
Light variant#F9FAEB
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 #dbdc7f

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#807FDC
Analogous left#DCAE7F
Analogous right#ACDC7F
Split-complement 1#7FACDC
Split-complement 2#AE7FDC
Triadic 1#7FDBDC
Triadic 2#DC7FDB
Tetradic#7FDCAE

RGB percentages

Red85.9%
Green86.3%
Blue49.8%

CMYK percentages

Cyan0.5%
Magenta0.0%
Yellow42.3%
Key (black)13.7%

Color previews

#dbdc7f text on a black background

contrast 14.56:1

Card sample

#dbdc7f text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(219, 220, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(219, 220, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dbdc7f;
background: linear-gradient(135deg, #dbdc7f, #9DDC7F);

Monochromatic scale

Palettes built from #dbdc7f

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.

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

#dbdc7f, answered

What color is #dbdc7f?

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

What is the RGB value of #dbdc7f?

rgb(219, 220, 127) — 219 red, 220 green and 127 blue out of 255, or 85.9% / 86.3% / 49.8% by channel.

Is #dbdc7f a light or a dark color?

It is a light color. Relative luminance is 0.6778 and perceived brightness is 83%, so black text on it reaches 14.56:1.

Should I use black or white text on #dbdc7f?

Black. It scores 14.56:1 against #dbdc7f, versus 1.44:1 for white — AAA at any size.

What is the complementary color of #dbdc7f?

#807FDC sits directly opposite on the wheel. Softer options are the split-complements #7FACDC and #AE7FDC, which give the same contrast with far less vibration.

What colors go well with #dbdc7f?

For interface work: #FAFAF4 as the surface, #ECEDC0 for borders, #9A9B4B for secondary text, #2845A4 as an accent and #63641B for hover and pressed states. For a palette, the analogous pair #DCAE7F and #ACDC7F stays calm, while #807FDC is the loudest partner.

What is #dbdc7f in CMYK for printing?

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

Is #dbdc7f 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 #DCBB7F; nudged cooler, #B9DE7D.

Work with #dbdc7f in the Color Lab