Skip to content

#dec607

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

RGB
222, 198, 7
HSL
53°, 94%, 45%
CMYK
0, 11, 97, 13
Luminance
0.5593

At a glance

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

Hex
#dec607
Hue
53°
yellow
Saturation
94%
electric
Lightness
45%
dark
Brightness
87%
HSV value
Perceived
76%
weighted brightness
Luminance
0.5593
WCAG relative
Temperature
Warm
19/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
12.19:1
Closest name
Gold
ΔE2000 6.1
Where it sits
Hue53° of 360°
Saturation94%
Lightness45%
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#dec607
RGBrgb(222, 198, 7)
HSLhsl(53, 94%, 45%)
CMYKcmyk(0%, 11%, 97%, 13%)
LABlab(79.6 -7.4 79.8)
LCHlch(79.6 80.2 95.3)
OKLCHoklch(0.822 0.170 100.4)
Decimal14599687
Display P3color(display-p3 0.871 0.776 0.027)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dec607 on white: 1.72:1
AA ✗ fail · AA-large · AAA
Aa
#dec607 on black: 12.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DBC000
deuteranopia · #E1C924
tritanopia · #F0B6A9

Color scale — 50 to 950

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

#FDFCF2
#FBF9E4
#FAF3C2
#FCF092
#FAE85C
#F8E125
#dec607
#C6B006
#9E8D05
#726608
#474005
Base = 600Lightest = 50 · #FDFCF2Darkest = 950 · #474005
:root {
  --brand-50: #FDFCF2;
  --brand-100: #FBF9E4;
  --brand-200: #FAF3C2;
  --brand-300: #FCF092;
  --brand-400: #FAE85C;
  --brand-500: #F8E125;
  --brand-600: #dec607;
  --brand-700: #C6B006;
  --brand-800: #9E8D05;
  --brand-900: #726608;
  --brand-950: #474005;
  --brand: #dec607;
  --brand-ink: #000000;
}

Colors that work with #dec607

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#EDE8C0
Hairlines and dividers
Muted text#9B924B
Captions on the surface
Accent#0253E3
Second voice, not a rival
Dark variant#7C6E04
Hover, pressed, headers
Light variant#FEFCE6
Selected rows, tints
Dark surface#242314
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 #dec607

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#071FDE
Analogous left#DE5A07
Analogous right#8BDE07
Split-complement 1#078BDE
Split-complement 2#5A07DE
Triadic 1#07DEC6
Triadic 2#C607DE
Tetradic#07DE5A

RGB percentages

Red87.1%
Green77.6%
Blue2.7%

CMYK percentages

Cyan0.0%
Magenta10.8%
Yellow96.8%
Key (black)12.9%

Color previews

#dec607 text on a black background

contrast 12.19:1

Card sample

#dec607 text on a white background

contrast 1.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(222, 198, 7, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 198, 7, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dec607;
background: linear-gradient(135deg, #dec607, #67DE07);

Monochromatic scale

Palettes built from #dec607

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.

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

#dec607, answered

What color is #dec607?

#dec607 is a dark electric yellow, closest to Gold (ΔE2000 6.1). It sits at 53° on the hue wheel with 94% saturation and 45% lightness, which reads as warm.

What is the RGB value of #dec607?

rgb(222, 198, 7) — 222 red, 198 green and 7 blue out of 255, or 87.1% / 77.6% / 2.7% by channel.

Is #dec607 a light or a dark color?

It is a light color. Relative luminance is 0.5593 and perceived brightness is 76%, so black text on it reaches 12.19:1.

Should I use black or white text on #dec607?

Black. It scores 12.19:1 against #dec607, versus 1.72:1 for white — AAA at any size.

What is the complementary color of #dec607?

#071FDE sits directly opposite on the wheel. Softer options are the split-complements #078BDE and #5A07DE, which give the same contrast with far less vibration.

What colors go well with #dec607?

For interface work: #FAFAF4 as the surface, #EDE8C0 for borders, #9B924B for secondary text, #0253E3 as an accent and #7C6E04 for hover and pressed states. For a palette, the analogous pair #DE5A07 and #8BDE07 stays calm, while #071FDE is the loudest partner.

What is #dec607 in CMYK for printing?

cmyk(0%, 11%, 97%, 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 #dec607 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 #DE9207; nudged cooler, #A8E005.

Work with #dec607 in the Color Lab