Skip to content

#dec53c

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

RGB
222, 197, 60
HSL
51°, 71%, 55%
CMYK
0, 11, 73, 13
Luminance
0.5579

At a glance

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

Hex
#dec53c
Hue
51°
yellow
Saturation
71%
vivid
Lightness
55%
balanced
Brightness
87%
HSV value
Perceived
76%
weighted brightness
Luminance
0.5579
WCAG relative
Temperature
Warm
17/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
12.16:1
Closest name
Gold
ΔE2000 7.1
Where it sits
Hue51° of 360°
Saturation71%
Lightness55%
Temperature
Warm ← → Cool17% 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#dec53c
RGBrgb(222, 197, 60)
HSLhsl(51, 71%, 55%)
CMYKcmyk(0%, 11%, 73%, 13%)
LABlab(79.5 -5.6 67.8)
LCHlch(79.5 68.0 94.7)
OKLCHoklch(0.821 0.151 98.5)
Decimal14599484
Display P3color(display-p3 0.871 0.773 0.235)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dec53c on white: 1.73:1
AA ✗ fail · AA-large · AAA
Aa
#dec53c on black: 12.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D8C024
deuteranopia · #DFC945
tritanopia · #EFB6AA

Color scale — 50 to 950

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

#FCFAF3
#F8F6E7
#F3ECC9
#EFE29F
#E7D46F
#dec53c
#D1B623
#AF981D
#8C7A18
#655915
#3F380D
Base = 500Lightest = 50 · #FCFAF3Darkest = 950 · #3F380D
:root {
  --brand-50: #FCFAF3;
  --brand-100: #F8F6E7;
  --brand-200: #F3ECC9;
  --brand-300: #EFE29F;
  --brand-400: #E7D46F;
  --brand-500: #dec53c;
  --brand-600: #D1B623;
  --brand-700: #AF981D;
  --brand-800: #8C7A18;
  --brand-900: #655915;
  --brand-950: #3F380D;
  --brand: #dec53c;
  --brand-ink: #000000;
}

Colors that work with #dec53c

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#EDE6C0
Hairlines and dividers
Muted text#9B8E4B
Captions on the surface
Accent#377DE3
Second voice, not a rival
Dark variant#6D5F12
Hover, pressed, headers
Light variant#FBF9E9
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 #dec53c

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#3C55DE
Analogous left#DE743C
Analogous right#A6DE3C
Split-complement 1#3CA6DE
Split-complement 2#743CDE
Triadic 1#3CDEC5
Triadic 2#C53CDE
Tetradic#3CDE74

RGB percentages

Red87.1%
Green77.3%
Blue23.5%

CMYK percentages

Cyan0.0%
Magenta11.3%
Yellow73.0%
Key (black)12.9%

Color previews

#dec53c text on a black background

contrast 12.16:1

Card sample

#dec53c text on a white background

contrast 1.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dec53c

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.

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

#dec53c, answered

What color is #dec53c?

#dec53c is a balanced vivid yellow, closest to Gold (ΔE2000 7.1). It sits at 51° on the hue wheel with 71% saturation and 55% lightness, which reads as warm.

What is the RGB value of #dec53c?

rgb(222, 197, 60) — 222 red, 197 green and 60 blue out of 255, or 87.1% / 77.3% / 23.5% by channel.

Is #dec53c a light or a dark color?

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

Should I use black or white text on #dec53c?

Black. It scores 12.16:1 against #dec53c, versus 1.73:1 for white — AAA at any size.

What is the complementary color of #dec53c?

#3C55DE sits directly opposite on the wheel. Softer options are the split-complements #3CA6DE and #743CDE, which give the same contrast with far less vibration.

What colors go well with #dec53c?

For interface work: #FAF9F4 as the surface, #EDE6C0 for borders, #9B8E4B for secondary text, #377DE3 as an accent and #6D5F12 for hover and pressed states. For a palette, the analogous pair #DE743C and #A6DE3C stays calm, while #3C55DE is the loudest partner.

What is #dec53c in CMYK for printing?

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

Is #dec53c warm or cool?

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

Work with #dec53c in the Color Lab