Skip to content

#decf8b

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

RGB
222, 207, 139
HSL
49°, 56%, 71%
CMYK
0, 7, 37, 13
Luminance
0.6202

At a glance

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

Hex
#decf8b
Hue
49°
yellow
Saturation
56%
vivid
Lightness
71%
light
Brightness
87%
HSV value
Perceived
80%
weighted brightness
Luminance
0.6202
WCAG relative
Temperature
Warm
16/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
13.40:1
Closest name
Pale Goldenrod
ΔE2000 6.2
Where it sits
Hue49° of 360°
Saturation56%
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#decf8b
RGBrgb(222, 207, 139)
HSLhsl(49, 56%, 71%)
CMYKcmyk(0%, 7%, 37%, 13%)
LABlab(82.9 -4.5 35.7)
LCHlch(82.9 36.0 97.2)
OKLCHoklch(0.851 0.089 97.2)
Decimal14602123
Display P3color(display-p3 0.871 0.812 0.545)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#decf8b on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#decf8b on black: 13.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DCCB86
deuteranopia · #E0D18D
tritanopia · #EAC6BE

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #decf8b 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
#decf8b
#CDB750
#BFA636
#9F8A2D
#7F6F24
#5D511E
#3A3313
Base = 400Lightest = 50 · #FBF9F4Darkest = 950 · #3A3313
:root {
  --brand-50: #FBF9F4;
  --brand-100: #F6F4E9;
  --brand-200: #EEE8CE;
  --brand-300: #E6DBA8;
  --brand-400: #decf8b;
  --brand-500: #CDB750;
  --brand-600: #BFA636;
  --brand-700: #9F8A2D;
  --brand-800: #7F6F24;
  --brand-900: #5D511E;
  --brand-950: #3A3313;
  --brand: #decf8b;
  --brand-ink: #000000;
}

Colors that work with #decf8b

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#EDE5C0
Hairlines and dividers
Muted text#9B8C4B
Captions on the surface
Accent#295DA3
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 #decf8b

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#8B9ADE
Analogous left#DEA68B
Analogous right#C3DE8B
Split-complement 1#8BC3DE
Split-complement 2#A68BDE
Triadic 1#8BDECF
Triadic 2#CF8BDE
Tetradic#8BDEA6

RGB percentages

Red87.1%
Green81.2%
Blue54.5%

CMYK percentages

Cyan0.0%
Magenta6.8%
Yellow37.4%
Key (black)12.9%

Color previews

#decf8b text on a black background

contrast 13.40:1

Card sample

#decf8b text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #decf8b

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.

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

#decf8b, answered

What color is #decf8b?

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

What is the RGB value of #decf8b?

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

Is #decf8b a light or a dark color?

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

Should I use black or white text on #decf8b?

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

What is the complementary color of #decf8b?

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

What colors go well with #decf8b?

For interface work: #FAF9F4 as the surface, #EDE5C0 for borders, #9B8C4B for secondary text, #295DA3 as an accent and #63561C for hover and pressed states. For a palette, the analogous pair #DEA68B and #C3DE8B stays calm, while #8B9ADE is the loudest partner.

What is #decf8b 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 #decf8b 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 #DEB78B; nudged cooler, #CFE08A.

Work with #decf8b in the Color Lab