Skip to content

#dcdc71

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

RGB
220, 220, 113
HSL
60°, 61%, 65%
CMYK
0, 0, 49, 14
Luminance
0.6759

At a glance

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

Hex
#dcdc71
Hue
60°
yellow
Saturation
61%
vivid
Lightness
65%
light
Brightness
86%
HSV value
Perceived
83%
weighted brightness
Luminance
0.6759
WCAG relative
Temperature
Warm
25/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
14.52:1
Closest name
Khaki
ΔE2000 4.5
Where it sits
Hue60° of 360°
Saturation61%
Lightness65%
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#dcdc71
RGBrgb(220, 220, 113)
HSLhsl(60, 61%, 65%)
CMYKcmyk(0%, 0%, 49%, 14%)
LABlab(85.8 -14.5 52.1)
LCHlch(85.8 54.0 105.6)
OKLCHoklch(0.873 0.130 108.8)
Decimal14474353
Display P3color(display-p3 0.863 0.863 0.443)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcdc71 on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#dcdc71 on black: 14.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #EBD467
deuteranopia · #ECD876
tritanopia · #E9D1C3

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #dcdc71 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
#EFEFCC
#E9E9A5
#dcdc71
#D3D34B
#C4C430
#A4A428
#838320
#5F5F1B
#3C3C11
Base = 400Lightest = 50 · #FBFBF4Darkest = 950 · #3C3C11
:root {
  --brand-50: #FBFBF4;
  --brand-100: #F7F7E8;
  --brand-200: #EFEFCC;
  --brand-300: #E9E9A5;
  --brand-400: #dcdc71;
  --brand-500: #D3D34B;
  --brand-600: #C4C430;
  --brand-700: #A4A428;
  --brand-800: #838320;
  --brand-900: #5F5F1B;
  --brand-950: #3C3C11;
  --brand: #dcdc71;
  --brand-ink: #000000;
}

Colors that work with #dcdc71

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#6D8AE0
Second voice, not a rival
Dark variant#666619
Hover, pressed, headers
Light variant#FAFAEB
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 #dcdc71

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#7171DC
Analogous left#DCA771
Analogous right#A7DC71
Split-complement 1#71A7DC
Split-complement 2#A771DC
Triadic 1#71DCDC
Triadic 2#DC71DC
Tetradic#71DCA7

RGB percentages

Red86.3%
Green86.3%
Blue44.3%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow48.6%
Key (black)13.7%

Color previews

#dcdc71 text on a black background

contrast 14.52:1

Card sample

#dcdc71 text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcdc71

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.

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

#dcdc71, answered

What color is #dcdc71?

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

What is the RGB value of #dcdc71?

rgb(220, 220, 113) — 220 red, 220 green and 113 blue out of 255, or 86.3% / 86.3% / 44.3% by channel.

Is #dcdc71 a light or a dark color?

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

Should I use black or white text on #dcdc71?

Black. It scores 14.52:1 against #dcdc71, versus 1.45:1 for white — AAA at any size.

What is the complementary color of #dcdc71?

#7171DC sits directly opposite on the wheel. Softer options are the split-complements #71A7DC and #A771DC, which give the same contrast with far less vibration.

What colors go well with #dcdc71?

For interface work: #FAFAF4 as the surface, #EDEDC0 for borders, #9B9B4B for secondary text, #6D8AE0 as an accent and #666619 for hover and pressed states. For a palette, the analogous pair #DCA771 and #A7DC71 stays calm, while #7171DC is the loudest partner.

What is #dcdc71 in CMYK for printing?

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

Is #dcdc71 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 #DCB571; nudged cooler, #B5DE6F.

Work with #dcdc71 in the Color Lab