Skip to content

#dea708

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

RGB
222, 167, 8
HSL
45°, 93%, 45%
CMYK
0, 25, 96, 13
Luminance
0.4318

At a glance

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

Hex
#dea708
Hue
45°
yellow
Saturation
93%
electric
Lightness
45%
balanced
Brightness
87%
HSV value
Perceived
69%
weighted brightness
Luminance
0.4318
WCAG relative
Temperature
Warm
12/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
9.64:1
Closest name
Goldenrod
ΔE2000 1.4
Where it sits
Hue45° of 360°
Saturation93%
Lightness45%
Temperature
Warm ← → Cool12% 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#dea708
RGBrgb(222, 167, 8)
HSLhsl(45, 93%, 45%)
CMYKcmyk(0%, 25%, 96%, 13%)
LABlab(71.7 8.8 74.0)
LCHlch(71.7 74.5 83.2)
OKLCHoklch(0.759 0.154 84.5)
Decimal14591752
Display P3color(display-p3 0.871 0.655 0.031)

Copy-ready code

/* CSS */
color: #dea708;
background-color: #dea708;
/* Tailwind (arbitrary) */
class="text-[#dea708] bg-[#dea708]"
/* SCSS */
$brand: #dea708;
/* SwiftUI */
Color(red: 0.871, green: 0.655, blue: 0.031)
/* Android */
Color.parseColor("#dea708")
/* Flutter */
Color(0xFFDEA708)
/* Python / OpenCV (BGR) */
(8, 167, 222)

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

Accessibility — WCAG contrast

Aa
#dea708 on white: 2.18:1
AA ✗ fail · AA-large · AAA
Aa
#dea708 on black: 9.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BEA700
deuteranopia · #CBB51A
tritanopia · #F2968E

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #dea708 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.

#FDFAF2
#FBF5E4
#F9EBC2
#FBE093
#F9D15D
#F7C226
#dea708
#C59407
#9D7706
#725709
#473606
Base = 600Lightest = 50 · #FDFAF2Darkest = 950 · #473606
:root {
  --brand-50: #FDFAF2;
  --brand-100: #FBF5E4;
  --brand-200: #F9EBC2;
  --brand-300: #FBE093;
  --brand-400: #F9D15D;
  --brand-500: #F7C226;
  --brand-600: #dea708;
  --brand-700: #C59407;
  --brand-800: #9D7706;
  --brand-900: #725709;
  --brand-950: #473606;
  --brand: #dea708;
  --brand-ink: #000000;
}

Colors that work with #dea708

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#FAF9F4
Tinted page background
Border#EDE1C0
Hairlines and dividers
Muted text#9B864B
Captions on the surface
Accent#0374E3
Second voice, not a rival
Dark variant#7B5D04
Hover, pressed, headers
Light variant#FEF8E6
Selected rows, tints
Dark surface#242014
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 #dea708

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#083FDE
Analogous left#DE3C08
Analogous right#AADE08
Split-complement 1#08AADE
Split-complement 2#3C08DE
Triadic 1#08DEA7
Triadic 2#A708DE
Tetradic#08DE3C

RGB percentages

Red87.1%
Green65.5%
Blue3.1%

CMYK percentages

Cyan0.0%
Magenta24.8%
Yellow96.4%
Key (black)12.9%

Color previews

#dea708 text on a black background

contrast 9.64:1

Card sample

#dea708 text on a white background

contrast 2.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(222, 167, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 167, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dea708;
background: linear-gradient(135deg, #dea708, #86DE08);

Monochromatic scale

Palettes built from #dea708

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.

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

#dea708, answered

What color is #dea708?

#dea708 is a balanced electric yellow, closest to Goldenrod (ΔE2000 1.4). It sits at 45° on the hue wheel with 93% saturation and 45% lightness, which reads as warm.

What is the RGB value of #dea708?

rgb(222, 167, 8) — 222 red, 167 green and 8 blue out of 255, or 87.1% / 65.5% / 3.1% by channel.

Is #dea708 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4318 and perceived brightness is 69%, so black text on it reaches 9.64:1.

Should I use black or white text on #dea708?

Black. It scores 9.64:1 against #dea708, versus 2.18:1 for white — AAA at any size.

What is the complementary color of #dea708?

#083FDE sits directly opposite on the wheel. Softer options are the split-complements #08AADE and #3C08DE, which give the same contrast with far less vibration.

What colors go well with #dea708?

For interface work: #FAF9F4 as the surface, #EDE1C0 for borders, #9B864B for secondary text, #0374E3 as an accent and #7B5D04 for hover and pressed states. For a palette, the analogous pair #DE3C08 and #AADE08 stays calm, while #083FDE is the loudest partner.

What is #dea708 in CMYK for printing?

cmyk(0%, 25%, 96%, 13%). 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 #dea708 warm or cool?

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

Work with #dea708 in the Color Lab