Skip to content

#d0b708

a dark, electric yellow · warm · closest name: Goldenrod

RGB
208, 183, 8
HSL
53°, 93%, 42%
CMYK
0, 12, 96, 18
Luminance
0.4729

At a glance

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

Hex
#d0b708
Hue
53°
yellow
Saturation
93%
electric
Lightness
42%
dark
Brightness
82%
HSV value
Perceived
71%
weighted brightness
Luminance
0.4729
WCAG relative
Temperature
Warm
19/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
10.46:1
Closest name
Goldenrod
ΔE2000 9.2
Where it sits
Hue53° of 360°
Saturation93%
Lightness42%
Temperature
Warm ← → Cool19% 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#d0b708
RGBrgb(208, 183, 8)
HSLhsl(53, 93%, 42%)
CMYKcmyk(0%, 12%, 96%, 18%)
LABlab(74.4 -5.8 75.3)
LCHlch(74.4 75.6 94.4)
OKLCHoklch(0.777 0.160 99.3)
Decimal13678344
Display P3color(display-p3 0.816 0.718 0.031)

Copy-ready code

/* CSS */
color: #d0b708;
background-color: #d0b708;
/* Tailwind (arbitrary) */
class="text-[#d0b708] bg-[#d0b708]"
/* SCSS */
$brand: #d0b708;
/* SwiftUI */
Color(red: 0.816, green: 0.718, blue: 0.031)
/* Android */
Color.parseColor("#d0b708")
/* Flutter */
Color(0xFFD0B708)
/* Python / OpenCV (BGR) */
(8, 183, 208)

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

Accessibility — WCAG contrast

Aa
#d0b708 on white: 2.01:1
AA ✗ fail · AA-large · AAA
Aa
#d0b708 on black: 10.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CBB200
deuteranopia · #D1BB21
tritanopia · #E1A89C

Color scale — 50 to 950

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

#FDFCF2
#FBF8E4
#F9F2C2
#FBEE93
#F9E55D
#F7DD27
#ECCF09
#d0b708
#9D8A06
#716409
#473F06
Base = 700Lightest = 50 · #FDFCF2Darkest = 950 · #473F06
:root {
  --brand-50: #FDFCF2;
  --brand-100: #FBF8E4;
  --brand-200: #F9F2C2;
  --brand-300: #FBEE93;
  --brand-400: #F9E55D;
  --brand-500: #F7DD27;
  --brand-600: #ECCF09;
  --brand-700: #d0b708;
  --brand-800: #9D8A06;
  --brand-900: #716409;
  --brand-950: #473F06;
  --brand: #d0b708;
  --brand-ink: #000000;
}

Colors that work with #d0b708

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#EDE7C0
Hairlines and dividers
Muted text#9B914B
Captions on the surface
Accent#0452D5
Second voice, not a rival
Dark variant#7B6C05
Hover, pressed, headers
Light variant#FEFBE6
Selected rows, tints
Dark surface#242214
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 #d0b708

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
  • Headers, footers and dark-mode surfaces
  • 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
  • Black 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#0821D0
Analogous left#D05308
Analogous right#85D008
Split-complement 1#0885D0
Split-complement 2#5308D0
Triadic 1#08D0B7
Triadic 2#B708D0
Tetradic#08D053

RGB percentages

Red81.6%
Green71.8%
Blue3.1%

CMYK percentages

Cyan0.0%
Magenta12.0%
Yellow96.2%
Key (black)18.4%

Color previews

#d0b708 text on a black background

contrast 10.46:1

Card sample

#d0b708 text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(208, 183, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(208, 183, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d0b708;
background: linear-gradient(135deg, #d0b708, #64D008);

Monochromatic scale

Palettes built from #d0b708

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.

#d0b708 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#d0b708, answered

What color is #d0b708?

#d0b708 is a dark electric yellow, closest to Goldenrod (ΔE2000 9.2). It sits at 53° on the hue wheel with 93% saturation and 42% lightness, which reads as warm.

What is the RGB value of #d0b708?

rgb(208, 183, 8) — 208 red, 183 green and 8 blue out of 255, or 81.6% / 71.8% / 3.1% by channel.

Is #d0b708 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4729 and perceived brightness is 71%, so black text on it reaches 10.46:1.

Should I use black or white text on #d0b708?

Black. It scores 10.46:1 against #d0b708, versus 2.01:1 for white — AAA at any size.

What is the complementary color of #d0b708?

#0821D0 sits directly opposite on the wheel. Softer options are the split-complements #0885D0 and #5308D0, which give the same contrast with far less vibration.

What colors go well with #d0b708?

For interface work: #FAFAF4 as the surface, #EDE7C0 for borders, #9B914B for secondary text, #0452D5 as an accent and #7B6C05 for hover and pressed states. For a palette, the analogous pair #D05308 and #85D008 stays calm, while #0821D0 is the loudest partner.

What is #d0b708 in CMYK for printing?

cmyk(0%, 12%, 96%, 18%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #d0b708 warm or cool?

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

Work with #d0b708 in the Color Lab