Skip to content

#decf82

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

RGB
222, 207, 130
HSL
50°, 58%, 69%
CMYK
0, 7, 41, 13
Luminance
0.6177

At a glance

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

Hex
#decf82
Hue
50°
yellow
Saturation
58%
vivid
Lightness
69%
light
Brightness
87%
HSV value
Perceived
80%
weighted brightness
Luminance
0.6177
WCAG relative
Temperature
Warm
17/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
13.35:1
Closest name
Khaki
ΔE2000 5.5
Where it sits
Hue50° of 360°
Saturation58%
Lightness69%
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#decf82
RGBrgb(222, 207, 130)
HSLhsl(50, 58%, 69%)
CMYKcmyk(0%, 7%, 41%, 13%)
LABlab(82.8 -5.5 40.1)
LCHlch(82.8 40.5 97.8)
OKLCHoklch(0.850 0.099 98.6)
Decimal14602114
Display P3color(display-p3 0.871 0.812 0.510)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#decf82 on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#decf82 on black: 13.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DDCB7C
deuteranopia · #E1D185
tritanopia · #EBC5BC

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #decf82 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
#E8DDA6
#decf82
#D0BB4D
#C2AA33
#A18E2B
#817222
#5E531C
#3B3412
Base = 400Lightest = 50 · #FBFAF4Darkest = 950 · #3B3412
:root {
  --brand-50: #FBFAF4;
  --brand-100: #F7F4E9;
  --brand-200: #EFE9CD;
  --brand-300: #E8DDA6;
  --brand-400: #decf82;
  --brand-500: #D0BB4D;
  --brand-600: #C2AA33;
  --brand-700: #A18E2B;
  --brand-800: #817222;
  --brand-900: #5E531C;
  --brand-950: #3B3412;
  --brand: #decf82;
  --brand-ink: #000000;
}

Colors that work with #decf82

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#9B8E4B
Captions on the surface
Accent#275AA5
Second voice, not a rival
Dark variant#65591B
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 #decf82

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#8291DE
Analogous left#DEA182
Analogous right#BFDE82
Split-complement 1#82BFDE
Split-complement 2#A182DE
Triadic 1#82DECF
Triadic 2#CF82DE
Tetradic#82DEA1

RGB percentages

Red87.1%
Green81.2%
Blue51.0%

CMYK percentages

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

Color previews

#decf82 text on a black background

contrast 13.35:1

Card sample

#decf82 text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #decf82

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.

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

#decf82, answered

What color is #decf82?

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

What is the RGB value of #decf82?

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

Is #decf82 a light or a dark color?

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

Should I use black or white text on #decf82?

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

What is the complementary color of #decf82?

#8291DE sits directly opposite on the wheel. Softer options are the split-complements #82BFDE and #A182DE, which give the same contrast with far less vibration.

What colors go well with #decf82?

For interface work: #FAF9F4 as the surface, #EDE5C0 for borders, #9B8E4B for secondary text, #275AA5 as an accent and #65591B for hover and pressed states. For a palette, the analogous pair #DEA182 and #BFDE82 stays calm, while #8291DE is the loudest partner.

What is #decf82 in CMYK for printing?

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

Is #decf82 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 #DEB482; nudged cooler, #CCE080.

Work with #decf82 in the Color Lab