Skip to content

#decf3c

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

RGB
222, 207, 60
HSL
54°, 71%, 55%
CMYK
0, 7, 73, 13
Luminance
0.6048

At a glance

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

Hex
#decf3c
Hue
54°
yellow
Saturation
71%
vivid
Lightness
55%
balanced
Brightness
87%
HSV value
Perceived
79%
weighted brightness
Luminance
0.6048
WCAG relative
Temperature
Warm
20/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
13.10:1
Closest name
Gold
ΔE2000 7.4
Where it sits
Hue54° of 360°
Saturation71%
Lightness55%
Temperature
Warm ← → Cool20% 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#decf3c
RGBrgb(222, 207, 60)
HSLhsl(54, 71%, 55%)
CMYKcmyk(0%, 7%, 73%, 13%)
LABlab(82.1 -10.6 70.3)
LCHlch(82.1 71.1 98.6)
OKLCHoklch(0.842 0.159 103.3)
Decimal14602044
Display P3color(display-p3 0.871 0.812 0.235)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#decf3c on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#decf3c on black: 13.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E2C820
deuteranopia · #E6CF46
tritanopia · #EFC0B3

Color scale — 50 to 950

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

#FCFBF3
#F8F7E7
#F3EFC9
#EFE79F
#E7DC6F
#decf3c
#D1C123
#AFA11D
#8C8118
#655E15
#3F3B0D
Base = 500Lightest = 50 · #FCFBF3Darkest = 950 · #3F3B0D
:root {
  --brand-50: #FCFBF3;
  --brand-100: #F8F7E7;
  --brand-200: #F3EFC9;
  --brand-300: #EFE79F;
  --brand-400: #E7DC6F;
  --brand-500: #decf3c;
  --brand-600: #D1C123;
  --brand-700: #AFA11D;
  --brand-800: #8C8118;
  --brand-900: #655E15;
  --brand-950: #3F3B0D;
  --brand: #decf3c;
  --brand-ink: #000000;
}

Colors that work with #decf3c

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#9B934B
Captions on the surface
Accent#3772E3
Second voice, not a rival
Dark variant#6D6512
Hover, pressed, headers
Light variant#FBFAE9
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 #decf3c

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#3C4BDE
Analogous left#DE7E3C
Analogous right#9CDE3C
Split-complement 1#3C9CDE
Split-complement 2#7E3CDE
Triadic 1#3CDECF
Triadic 2#CF3CDE
Tetradic#3CDE7E

RGB percentages

Red87.1%
Green81.2%
Blue23.5%

CMYK percentages

Cyan0.0%
Magenta6.8%
Yellow73.0%
Key (black)12.9%

Color previews

#decf3c text on a black background

contrast 13.10:1

Card sample

#decf3c text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #decf3c

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.

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

#decf3c, answered

What color is #decf3c?

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

What is the RGB value of #decf3c?

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

Is #decf3c a light or a dark color?

It is a light color. Relative luminance is 0.6048 and perceived brightness is 79%, so black text on it reaches 13.10:1.

Should I use black or white text on #decf3c?

Black. It scores 13.10:1 against #decf3c, versus 1.60:1 for white — AAA at any size.

What is the complementary color of #decf3c?

#3C4BDE sits directly opposite on the wheel. Softer options are the split-complements #3C9CDE and #7E3CDE, which give the same contrast with far less vibration.

What colors go well with #decf3c?

For interface work: #FAFAF4 as the surface, #EDE8C0 for borders, #9B934B for secondary text, #3772E3 as an accent and #6D6512 for hover and pressed states. For a palette, the analogous pair #DE7E3C and #9CDE3C stays calm, while #3C4BDE is the loudest partner.

What is #decf3c in CMYK for printing?

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

Is #decf3c warm or cool?

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

Work with #decf3c in the Color Lab