Skip to content

#decf86

a light, vivid yellow · warm · closest name: Khaki

RGB
222, 207, 134
HSL
50°, 57%, 70%
CMYK
0, 7, 40, 13
Luminance
0.6188

At a glance

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

Hex
#decf86
Hue
50°
yellow
Saturation
57%
vivid
Lightness
70%
light
Brightness
87%
HSV value
Perceived
80%
weighted brightness
Luminance
0.6188
WCAG relative
Temperature
Warm
17/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
13.38:1
Closest name
Khaki
ΔE2000 5.8
Where it sits
Hue50° of 360°
Saturation57%
Lightness70%
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#decf86
RGBrgb(222, 207, 134)
HSLhsl(50, 57%, 70%)
CMYKcmyk(0%, 7%, 40%, 13%)
LABlab(82.8 -5.1 38.1)
LCHlch(82.8 38.5 97.6)
OKLCHoklch(0.850 0.094 98.0)
Decimal14602118
Display P3color(display-p3 0.871 0.812 0.525)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#decf86 on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#decf86 on black: 13.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DCCB81
deuteranopia · #E1D189
tritanopia · #EAC5BD

Color scale — 50 to 950

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

#FBFAF4
#F7F4E9
#EFE9CD
#E7DCA7
#decf86
#CFB94F
#C0A935
#A08C2C
#807023
#5D521D
#3A3412
Base = 400Lightest = 50 · #FBFAF4Darkest = 950 · #3A3412
:root {
  --brand-50: #FBFAF4;
  --brand-100: #F7F4E9;
  --brand-200: #EFE9CD;
  --brand-300: #E7DCA7;
  --brand-400: #decf86;
  --brand-500: #CFB94F;
  --brand-600: #C0A935;
  --brand-700: #A08C2C;
  --brand-800: #807023;
  --brand-900: #5D521D;
  --brand-950: #3A3412;
  --brand: #decf86;
  --brand-ink: #000000;
}

Colors that work with #decf86

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#9B8D4B
Captions on the surface
Accent#285BA4
Second voice, not a rival
Dark variant#64581B
Hover, pressed, headers
Light variant#FAF7EB
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 #decf86

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#8695DE
Analogous left#DEA386
Analogous right#C1DE86
Split-complement 1#86C1DE
Split-complement 2#A386DE
Triadic 1#86DECF
Triadic 2#CF86DE
Tetradic#86DEA3

RGB percentages

Red87.1%
Green81.2%
Blue52.5%

CMYK percentages

Cyan0.0%
Magenta6.8%
Yellow39.6%
Key (black)12.9%

Color previews

#decf86 text on a black background

contrast 13.38:1

Card sample

#decf86 text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #decf86

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.

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

#decf86, answered

What color is #decf86?

#decf86 is a light vivid yellow, closest to Khaki (ΔE2000 5.8). It sits at 50° on the hue wheel with 57% saturation and 70% lightness, which reads as warm.

What is the RGB value of #decf86?

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

Is #decf86 a light or a dark color?

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

Should I use black or white text on #decf86?

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

What is the complementary color of #decf86?

#8695DE sits directly opposite on the wheel. Softer options are the split-complements #86C1DE and #A386DE, which give the same contrast with far less vibration.

What colors go well with #decf86?

For interface work: #FAF9F4 as the surface, #EDE5C0 for borders, #9B8D4B for secondary text, #285BA4 as an accent and #64581B for hover and pressed states. For a palette, the analogous pair #DEA386 and #C1DE86 stays calm, while #8695DE is the loudest partner.

What is #decf86 in CMYK for printing?

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

Is #decf86 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 #DEB586; nudged cooler, #CEE084.

Work with #decf86 in the Color Lab