Skip to content

#decf97

a light, vivid yellow · warm · closest name: Pale Goldenrod

RGB
222, 207, 151
HSL
47°, 52%, 73%
CMYK
0, 7, 32, 13
Luminance
0.6239

At a glance

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

Hex
#decf97
Hue
47°
yellow
Saturation
52%
vivid
Lightness
73%
light
Brightness
87%
HSV value
Perceived
81%
weighted brightness
Luminance
0.6239
WCAG relative
Temperature
Warm
14/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
13.48:1
Closest name
Pale Goldenrod
ΔE2000 6.1
Where it sits
Hue47° of 360°
Saturation52%
Lightness73%
Temperature
Warm ← → Cool14% 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#decf97
RGBrgb(222, 207, 151)
HSLhsl(47, 52%, 73%)
CMYKcmyk(0%, 7%, 32%, 13%)
LABlab(83.1 -3.1 29.8)
LCHlch(83.1 29.9 95.9)
OKLCHoklch(0.853 0.075 94.9)
Decimal14602135
Display P3color(display-p3 0.871 0.812 0.592)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#decf97 on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#decf97 on black: 13.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DACC93
deuteranopia · #DFD199
tritanopia · #E9C7C0

Color scale — 50 to 950

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

#FAF9F4
#F6F3EA
#EDE7CF
#decf97
#D6C47F
#C9B055
#BA9F3B
#9B8431
#7C6A27
#5A4E20
#383114
Base = 300Lightest = 50 · #FAF9F4Darkest = 950 · #383114
:root {
  --brand-50: #FAF9F4;
  --brand-100: #F6F3EA;
  --brand-200: #EDE7CF;
  --brand-300: #decf97;
  --brand-400: #D6C47F;
  --brand-500: #C9B055;
  --brand-600: #BA9F3B;
  --brand-700: #9B8431;
  --brand-800: #7C6A27;
  --brand-900: #5A4E20;
  --brand-950: #383114;
  --brand: #decf97;
  --brand-ink: #000000;
}

Colors that work with #decf97

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#EBE2C1
Hairlines and dividers
Muted text#9B8A4B
Captions on the surface
Accent#2D619F
Second voice, not a rival
Dark variant#61531F
Hover, pressed, headers
Light variant#F9F6EC
Selected rows, tints
Dark surface#242114
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 #decf97

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
  • Card and section backgrounds
  • 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
  • White 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#97A6DE
Analogous left#DEAB97
Analogous right#C9DE97
Split-complement 1#97C9DE
Split-complement 2#AB97DE
Triadic 1#97DECF
Triadic 2#CF97DE
Tetradic#97DEAB

RGB percentages

Red87.1%
Green81.2%
Blue59.2%

CMYK percentages

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

Color previews

#decf97 text on a black background

contrast 13.48:1

Card sample

#decf97 text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #decf97

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.

#decf97 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
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

#decf97, answered

What color is #decf97?

#decf97 is a light vivid yellow, closest to Pale Goldenrod (ΔE2000 6.1). It sits at 47° on the hue wheel with 52% saturation and 73% lightness, which reads as warm.

What is the RGB value of #decf97?

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

Is #decf97 a light or a dark color?

It is a light color. Relative luminance is 0.6239 and perceived brightness is 81%, so black text on it reaches 13.48:1.

Should I use black or white text on #decf97?

Black. It scores 13.48:1 against #decf97, versus 1.56:1 for white — AAA at any size.

What is the complementary color of #decf97?

#97A6DE sits directly opposite on the wheel. Softer options are the split-complements #97C9DE and #AB97DE, which give the same contrast with far less vibration.

What colors go well with #decf97?

For interface work: #FAF9F4 as the surface, #EBE2C1 for borders, #9B8A4B for secondary text, #2D619F as an accent and #61531F for hover and pressed states. For a palette, the analogous pair #DEAB97 and #C9DE97 stays calm, while #97A6DE is the loudest partner.

What is #decf97 in CMYK for printing?

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

Is #decf97 warm or cool?

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

Work with #decf97 in the Color Lab