Skip to content

#dcd65c

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

RGB
220, 214, 92
HSL
57°, 65%, 61%
CMYK
0, 3, 58, 14
Luminance
0.6408

At a glance

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

Hex
#dcd65c
Hue
57°
yellow
Saturation
65%
vivid
Lightness
61%
balanced
Brightness
86%
HSV value
Perceived
81%
weighted brightness
Luminance
0.6408
WCAG relative
Temperature
Warm
23/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
13.82:1
Closest name
Khaki
ΔE2000 6.1
Where it sits
Hue57° of 360°
Saturation65%
Lightness61%
Temperature
Warm ← → Cool23% 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#dcd65c
RGBrgb(220, 214, 92)
HSLhsl(57, 65%, 61%)
CMYKcmyk(0%, 3%, 58%, 14%)
LABlab(84.0 -13.2 59.6)
LCHlch(84.0 61.0 102.5)
OKLCHoklch(0.858 0.143 106.4)
Decimal14472796
Display P3color(display-p3 0.863 0.839 0.361)

Copy-ready code

/* CSS */
color: #dcd65c;
background-color: #dcd65c;
/* Tailwind (arbitrary) */
class="text-[#dcd65c] bg-[#dcd65c]"
/* SCSS */
$brand: #dcd65c;
/* SwiftUI */
Color(red: 0.863, green: 0.839, blue: 0.361)
/* Android */
Color.parseColor("#dcd65c")
/* Flutter */
Color(0xFFDCD65C)
/* Python / OpenCV (BGR) */
(92, 214, 220)

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

Accessibility — WCAG contrast

Aa
#dcd65c on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#dcd65c on black: 13.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E6CF4F
deuteranopia · #E9D463
tritanopia · #EBC9BC

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #dcd65c 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
#F7F7E8
#F1EFCB
#EBE8A3
#E1DC74
#dcd65c
#C9C22B
#A8A224
#86811D
#625E19
#3D3B10
Base = 500Lightest = 50 · #FBFBF3Darkest = 950 · #3D3B10
:root {
  --brand-50: #FBFBF3;
  --brand-100: #F7F7E8;
  --brand-200: #F1EFCB;
  --brand-300: #EBE8A3;
  --brand-400: #E1DC74;
  --brand-500: #dcd65c;
  --brand-600: #C9C22B;
  --brand-700: #A8A224;
  --brand-800: #86811D;
  --brand-900: #625E19;
  --brand-950: #3D3B10;
  --brand: #dcd65c;
  --brand-ink: #000000;
}

Colors that work with #dcd65c

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#EDEBC0
Hairlines and dividers
Muted text#9B974B
Captions on the surface
Accent#5880E0
Second voice, not a rival
Dark variant#696517
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 #dcd65c

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#5C62DC
Analogous left#DC965C
Analogous right#A2DC5C
Split-complement 1#5CA2DC
Split-complement 2#965CDC
Triadic 1#5CDCD6
Triadic 2#D65CDC
Tetradic#5CDC96

RGB percentages

Red86.3%
Green83.9%
Blue36.1%

CMYK percentages

Cyan0.0%
Magenta2.7%
Yellow58.2%
Key (black)13.7%

Color previews

#dcd65c text on a black background

contrast 13.82:1

Card sample

#dcd65c text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(220, 214, 92, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(220, 214, 92, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dcd65c;
background: linear-gradient(135deg, #dcd65c, #8DDC5C);

Monochromatic scale

Palettes built from #dcd65c

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.

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

#dcd65c, answered

What color is #dcd65c?

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

What is the RGB value of #dcd65c?

rgb(220, 214, 92) — 220 red, 214 green and 92 blue out of 255, or 86.3% / 83.9% / 36.1% by channel.

Is #dcd65c a light or a dark color?

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

Should I use black or white text on #dcd65c?

Black. It scores 13.82:1 against #dcd65c, versus 1.52:1 for white — AAA at any size.

What is the complementary color of #dcd65c?

#5C62DC sits directly opposite on the wheel. Softer options are the split-complements #5CA2DC and #965CDC, which give the same contrast with far less vibration.

What colors go well with #dcd65c?

For interface work: #FAFAF4 as the surface, #EDEBC0 for borders, #9B974B for secondary text, #5880E0 as an accent and #696517 for hover and pressed states. For a palette, the analogous pair #DC965C and #A2DC5C stays calm, while #5C62DC is the loudest partner.

What is #dcd65c in CMYK for printing?

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

Is #dcd65c warm or cool?

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

Work with #dcd65c in the Color Lab