Skip to content

#decb6f

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

RGB
222, 203, 111
HSL
50°, 63%, 65%
CMYK
0, 9, 50, 13
Luminance
0.5939

At a glance

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

Hex
#decb6f
Hue
50°
yellow
Saturation
63%
vivid
Lightness
65%
light
Brightness
87%
HSV value
Perceived
79%
weighted brightness
Luminance
0.5939
WCAG relative
Temperature
Warm
16/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
12.88:1
Closest name
Khaki
ΔE2000 6.4
Where it sits
Hue50° of 360°
Saturation63%
Lightness65%
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#decb6f
RGBrgb(222, 203, 111)
HSLhsl(50, 63%, 65%)
CMYKcmyk(0%, 9%, 50%, 13%)
LABlab(81.5 -5.3 47.9)
LCHlch(81.5 48.2 96.3)
OKLCHoklch(0.839 0.115 97.9)
Decimal14601071
Display P3color(display-p3 0.871 0.796 0.435)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#decb6f on white: 1.63:1
AA ✗ fail · AA-large · AAA
Aa
#decb6f on black: 12.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DBC767
deuteranopia · #E0CD73
tritanopia · #EDBFB5

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #decb6f 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
#F7F5E8
#F0EACC
#EADEA4
#decb6f
#D5BD48
#C7AD2E
#A69026
#85731E
#61541A
#3C3510
Base = 400Lightest = 50 · #FBFAF4Darkest = 950 · #3C3510
:root {
  --brand-50: #FBFAF4;
  --brand-100: #F7F5E8;
  --brand-200: #F0EACC;
  --brand-300: #EADEA4;
  --brand-400: #decb6f;
  --brand-500: #D5BD48;
  --brand-600: #C7AD2E;
  --brand-700: #A69026;
  --brand-800: #85731E;
  --brand-900: #61541A;
  --brand-950: #3C3510;
  --brand: #decb6f;
  --brand-ink: #000000;
}

Colors that work with #decb6f

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#215BAB
Second voice, not a rival
Dark variant#685A18
Hover, pressed, headers
Light variant#FAF7EA
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 #decb6f

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#6F82DE
Analogous left#DE936F
Analogous right#BADE6F
Split-complement 1#6FBADE
Split-complement 2#936FDE
Triadic 1#6FDECB
Triadic 2#CB6FDE
Tetradic#6FDE93

RGB percentages

Red87.1%
Green79.6%
Blue43.5%

CMYK percentages

Cyan0.0%
Magenta8.6%
Yellow50.0%
Key (black)12.9%

Color previews

#decb6f text on a black background

contrast 12.88:1

Card sample

#decb6f text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #decb6f

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.

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

#decb6f, answered

What color is #decb6f?

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

What is the RGB value of #decb6f?

rgb(222, 203, 111) — 222 red, 203 green and 111 blue out of 255, or 87.1% / 79.6% / 43.5% by channel.

Is #decb6f a light or a dark color?

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

Should I use black or white text on #decb6f?

Black. It scores 12.88:1 against #decb6f, versus 1.63:1 for white — AAA at any size.

What is the complementary color of #decb6f?

#6F82DE sits directly opposite on the wheel. Softer options are the split-complements #6FBADE and #936FDE, which give the same contrast with far less vibration.

What colors go well with #decb6f?

For interface work: #FAF9F4 as the surface, #EDE5C0 for borders, #9B8D4B for secondary text, #215BAB as an accent and #685A18 for hover and pressed states. For a palette, the analogous pair #DE936F and #BADE6F stays calm, while #6F82DE is the loudest partner.

What is #decb6f in CMYK for printing?

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

Is #decb6f 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 #DEAD6F; nudged cooler, #C9E06D.

Work with #decb6f in the Color Lab