Skip to content

#decf8c

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

RGB
222, 207, 140
HSL
49°, 55%, 71%
CMYK
0, 7, 37, 13
Luminance
0.6205

At a glance

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

Hex
#decf8c
Hue
49°
yellow
Saturation
55%
vivid
Lightness
71%
light
Brightness
87%
HSV value
Perceived
80%
weighted brightness
Luminance
0.6205
WCAG relative
Temperature
Warm
16/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
13.41:1
Closest name
Pale Goldenrod
ΔE2000 6.1
Where it sits
Hue49° of 360°
Saturation55%
Lightness71%
Temperature
Warm ← → Cool16% 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#decf8c
RGBrgb(222, 207, 140)
HSLhsl(49, 55%, 71%)
CMYKcmyk(0%, 7%, 37%, 13%)
LABlab(82.9 -4.4 35.2)
LCHlch(82.9 35.5 97.1)
OKLCHoklch(0.851 0.088 97.1)
Decimal14602124
Display P3color(display-p3 0.871 0.812 0.549)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#decf8c on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#decf8c on black: 13.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DCCB87
deuteranopia · #E0D18E
tritanopia · #EAC6BE

Color scale — 50 to 950

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

#FBF9F4
#F6F4E9
#EEE8CE
#E6DBA8
#decf8c
#CDB651
#BEA537
#9F8A2D
#7F6E24
#5C511E
#3A3313
Base = 400Lightest = 50 · #FBF9F4Darkest = 950 · #3A3313
:root {
  --brand-50: #FBF9F4;
  --brand-100: #F6F4E9;
  --brand-200: #EEE8CE;
  --brand-300: #E6DBA8;
  --brand-400: #decf8c;
  --brand-500: #CDB651;
  --brand-600: #BEA537;
  --brand-700: #9F8A2D;
  --brand-800: #7F6E24;
  --brand-900: #5C511E;
  --brand-950: #3A3313;
  --brand: #decf8c;
  --brand-ink: #000000;
}

Colors that work with #decf8c

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#EDE4C0
Hairlines and dividers
Muted text#9B8C4B
Captions on the surface
Accent#295EA3
Second voice, not a rival
Dark variant#63561C
Hover, pressed, headers
Light variant#F9F7EB
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 #decf8c

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#8C9BDE
Analogous left#DEA68C
Analogous right#C4DE8C
Split-complement 1#8CC4DE
Split-complement 2#A68CDE
Triadic 1#8CDECF
Triadic 2#CF8CDE
Tetradic#8CDEA6

RGB percentages

Red87.1%
Green81.2%
Blue54.9%

CMYK percentages

Cyan0.0%
Magenta6.8%
Yellow36.9%
Key (black)12.9%

Color previews

#decf8c text on a black background

contrast 13.41:1

Card sample

#decf8c text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #decf8c

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.

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

#decf8c, answered

What color is #decf8c?

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

What is the RGB value of #decf8c?

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

Is #decf8c a light or a dark color?

It is a light color. Relative luminance is 0.6205 and perceived brightness is 80%, so black text on it reaches 13.41:1.

Should I use black or white text on #decf8c?

Black. It scores 13.41:1 against #decf8c, versus 1.57:1 for white — AAA at any size.

What is the complementary color of #decf8c?

#8C9BDE sits directly opposite on the wheel. Softer options are the split-complements #8CC4DE and #A68CDE, which give the same contrast with far less vibration.

What colors go well with #decf8c?

For interface work: #FAF9F4 as the surface, #EDE4C0 for borders, #9B8C4B for secondary text, #295EA3 as an accent and #63561C for hover and pressed states. For a palette, the analogous pair #DEA68C and #C4DE8C stays calm, while #8C9BDE is the loudest partner.

What is #decf8c in CMYK for printing?

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

Is #decf8c warm or cool?

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

Work with #decf8c in the Color Lab