Skip to content

#d3d034

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

RGB
211, 208, 52
HSL
59°, 64%, 52%
CMYK
0, 1, 75, 17
Luminance
0.5921

At a glance

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

Hex
#d3d034
Hue
59°
yellow
Saturation
64%
vivid
Lightness
52%
balanced
Brightness
83%
HSV value
Perceived
77%
weighted brightness
Luminance
0.5921
WCAG relative
Temperature
Warm
24/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
12.84:1
Closest name
Khaki
ΔE2000 9.6
Where it sits
Hue59° of 360°
Saturation64%
Lightness52%
Temperature
Warm ← → Cool24% 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#d3d034
RGBrgb(211, 208, 52)
HSLhsl(59, 64%, 52%)
CMYKcmyk(0%, 1%, 75%, 17%)
LABlab(81.4 -16.1 72.0)
LCHlch(81.4 73.7 102.6)
OKLCHoklch(0.834 0.166 108.4)
Decimal13881396
Display P3color(display-p3 0.827 0.816 0.204)

Copy-ready code

/* CSS */
color: #d3d034;
background-color: #d3d034;
/* Tailwind (arbitrary) */
class="text-[#d3d034] bg-[#d3d034]"
/* SCSS */
$brand: #d3d034;
/* SwiftUI */
Color(red: 0.827, green: 0.816, blue: 0.204)
/* Android */
Color.parseColor("#d3d034")
/* Flutter */
Color(0xFFD3D034)
/* Python / OpenCV (BGR) */
(52, 208, 211)

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

Accessibility — WCAG contrast

Aa
#d3d034 on white: 1.64:1
AA ✗ fail · AA-large · AAA
Aa
#d3d034 on black: 12.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E1C70B
deuteranopia · #E4CD41
tritanopia · #E2C2B3

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #d3d034 is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FBFBF4
#F7F7E8
#F1F0CB
#EBEAA3
#E1DF75
#D7D447
#d3d034
#A8A524
#86841D
#616019
#3D3C10
Base = 600Lightest = 50 · #FBFBF4Darkest = 950 · #3D3C10
:root {
  --brand-50: #FBFBF4;
  --brand-100: #F7F7E8;
  --brand-200: #F1F0CB;
  --brand-300: #EBEAA3;
  --brand-400: #E1DF75;
  --brand-500: #D7D447;
  --brand-600: #d3d034;
  --brand-700: #A8A524;
  --brand-800: #86841D;
  --brand-900: #616019;
  --brand-950: #3D3C10;
  --brand: #d3d034;
  --brand-ink: #000000;
}

Colors that work with #d3d034

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#EDECC0
Hairlines and dividers
Muted text#9B994B
Captions on the surface
Accent#2F5CD8
Second voice, not a rival
Dark variant#696717
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 #d3d034

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#3437D3
Analogous left#D38134
Analogous right#86D334
Split-complement 1#3486D3
Split-complement 2#8134D3
Triadic 1#34D3D0
Triadic 2#D034D3
Tetradic#34D381

RGB percentages

Red82.7%
Green81.6%
Blue20.4%

CMYK percentages

Cyan0.0%
Magenta1.4%
Yellow75.4%
Key (black)17.3%

Color previews

#d3d034 text on a black background

contrast 12.84:1

Card sample

#d3d034 text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(211, 208, 52, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(211, 208, 52, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d3d034;
background: linear-gradient(135deg, #d3d034, #6CD334);

Monochromatic scale

Palettes built from #d3d034

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.

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

#d3d034, answered

What color is #d3d034?

#d3d034 is a balanced vivid yellow, closest to Khaki (ΔE2000 9.6). It sits at 59° on the hue wheel with 64% saturation and 52% lightness, which reads as warm.

What is the RGB value of #d3d034?

rgb(211, 208, 52) — 211 red, 208 green and 52 blue out of 255, or 82.7% / 81.6% / 20.4% by channel.

Is #d3d034 a light or a dark color?

It is a light color. Relative luminance is 0.5921 and perceived brightness is 77%, so black text on it reaches 12.84:1.

Should I use black or white text on #d3d034?

Black. It scores 12.84:1 against #d3d034, versus 1.64:1 for white — AAA at any size.

What is the complementary color of #d3d034?

#3437D3 sits directly opposite on the wheel. Softer options are the split-complements #3486D3 and #8134D3, which give the same contrast with far less vibration.

What colors go well with #d3d034?

For interface work: #FAFAF4 as the surface, #EDECC0 for borders, #9B994B for secondary text, #2F5CD8 as an accent and #696717 for hover and pressed states. For a palette, the analogous pair #D38134 and #86D334 stays calm, while #3437D3 is the loudest partner.

What is #d3d034 in CMYK for printing?

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

Is #d3d034 warm or cool?

Warm — it scores 24 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D39C34; nudged cooler, #9CD632.

Work with #d3d034 in the Color Lab