Skip to content
yellow · warm

#dedba2

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

Token name suggestion: Drift Brass

RGB
222, 219, 162
HSL
57°, 48%, 75%
CMYK
0, 1, 27, 13
Luminance
0.6880

#dedba2 is a light vivid yellow, 57° on the wheel and 23/100 on the cool side. Put black text on it (14.76:1). As text it scores 1.42:1 on white — use #7D792C instead. Nearest name is Pale Goldenrod, nearest Tailwind family is lime.

hsl(57 48% 75%)rgb(222 219 162)Base step 300AAA inkWarm

At a glance

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

Hex
#dedba2
Hue
57°
yellow
Saturation
48%
vivid
Lightness
75%
light
Brightness
87%
HSV value
Perceived
84%
weighted brightness
Luminance
0.6880
WCAG relative
Temperature
Warm
23/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
14.76:1
Closest name
Pale Goldenrod
ΔE2000 3.3
Chroma
29.6
LCH, 0–130ish
OKLCH L
0.880
perceptual lightness
Tailwind
lime
500 · ΔE 19.4
Web-safe
#CCCC99
nearest of 216
Where it sits
Hue57° of 360°
Saturation48%
Lightness75%
Saturation × lightness field

Left edge is grey, right edge is full chroma; top is white, bottom is black. The dot is #dedba2.

Temperature
Warm ← → Cool23% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Luminance by channel
Red23%
Green74%
Blue4%

Green carries most of what the eye calls brightness — that is why WCAG weights it 0.7152.

Every format

HEX#dedba2
HEX (8-digit)#dedba2ff
RGBrgb(222, 219, 162)
RGBArgba(222, 219, 162, 1)
HSLhsl(57, 48%, 75%)
HSV / HSBhsv(57, 27%, 87%)
HWBhwb(57 64% 13%)
CMYKcmyk(0%, 1%, 27%, 13%)
LABlab(86.4 -7.8 28.5)
LCHlch(86.4 29.6 105.4)
OKLCHoklch(0.880 0.074 105.3)
XYZ (D65)xyz(61.98, 68.80, 44.19)
Decimal14605218
Display P3color(display-p3 0.871 0.859 0.635)
Web-safe#CCCC99

Copy-ready code

every platformclick to select
/* CSS */
color: #dedba2;
background-color: #dedba2;
/* CSS custom property */
--brand: #dedba2;
/* Tailwind (arbitrary) */
class="text-[#dedba2] bg-[#dedba2]"
/* SCSS */
$brand: #dedba2;
/* SwiftUI */
Color(red: 0.871, green: 0.859, blue: 0.635)
/* UIKit */
UIColor(red: 0.871, green: 0.859, blue: 0.635, alpha: 1)
/* Android XML */
<color name="brand">#DEDBA2</color>
/* Android Compose */
Color(0xFFDEDBA2)
/* Flutter */
Color(0xFFDEDBA2)
/* Python / OpenCV (BGR) */
(162, 219, 222)
/* Python / PIL (RGB) */
(222, 219, 162)
/* Java AWT */
new Color(222, 219, 162)
/* .NET */
Color.FromArgb(255, 222, 219, 162)
/* OpenGL / Unity (0–1) */
(0.8706f, 0.8588f, 0.6353f, 1f)
/* LaTeX */
\definecolor{brand}{RGB}{222,219,162}
modern cssclick to select
/* mix without leaving CSS */
background: color-mix(in oklab, #dedba2 85%, white);
border-color: color-mix(in oklab, #dedba2 40%, transparent);
/* theme-aware in one line */
color: light-dark(#5E5B21, #EEEDD3);
/* relative colour syntax */
--hover: hsl(from #dedba2 h s calc(l - 7));

Design tokens

The same ramp in the four formats a team actually needs. Paste one and the whole palette lands with it.

css custom propertiesclick to select
:root {
  --brand-50: #FAFAF5;
  --brand-100: #F5F5EA;
  --brand-200: #ECEAD0;
  --brand-300: #dedba2;
  --brand-400: #D3CF83;
  --brand-500: #C4BF59;
  --brand-600: #B5AF40;
  --brand-700: #979235;
  --brand-800: #78752B;
  --brand-900: #585522;
  --brand-950: #373515;
  --brand: #dedba2;
  --brand-ink: #000000;
  --brand-surface: #FAFAF4;
  --brand-border: #EAE8C3;
  --brand-hover: #D5D188;
  --brand-pressed: #CBC76D;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand-surface: #242414;
    --brand-ink: #EEEDD3;
  }
}
tailwind.config.jsclick to select
theme: {
  extend: {
    colors: {
      brand: {
        50: '#FAFAF5',
        100: '#F5F5EA',
        200: '#ECEAD0',
        300: '#dedba2',
        400: '#D3CF83',
        500: '#C4BF59',
        600: '#B5AF40',
        700: '#979235',
        800: '#78752B',
        900: '#585522',
        950: '#373515',
        DEFAULT: '#dedba2',
      },
    },
  },
}
scss mapclick to select
$brand: (
  '50': #FAFAF5,
  '100': #F5F5EA,
  '200': #ECEAD0,
  '300': #dedba2,
  '400': #D3CF83,
  '500': #C4BF59,
  '600': #B5AF40,
  '700': #979235,
  '800': #78752B,
  '900': #585522,
  '950': #373515,
);
$brand-base: #dedba2;
$brand-ink: #000000;

@function brand($step) { @return map-get($brand, $step); }
w3c design tokens (json)click to select
{
  "color": {
    "brand": {
      "50": { "$value": "#FAFAF5", "$type": "color" },
      "100": { "$value": "#F5F5EA", "$type": "color" },
      "200": { "$value": "#ECEAD0", "$type": "color" },
      "300": { "$value": "#dedba2", "$type": "color" },
      "400": { "$value": "#D3CF83", "$type": "color" },
      "500": { "$value": "#C4BF59", "$type": "color" },
      "600": { "$value": "#B5AF40", "$type": "color" },
      "700": { "$value": "#979235", "$type": "color" },
      "800": { "$value": "#78752B", "$type": "color" },
      "900": { "$value": "#585522", "$type": "color" },
      "950": { "$value": "#373515", "$type": "color" }
    },
    "brandInk": { "$value": "#000000", "$type": "color" }
  }
}

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 #dedba2 · 14.76:1
Use #000000AAA at every size.
Aa
12px
Aa
16px
Aa
24px
Aa
White text · 1.42:1
AA fail · AA large fail · AAA fail
Aa
Black text · 14.76:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #dedba2 as text scores 1.42:1 on white and 14.76:1 on black.
Best tinted ink on it, if plain black or white feels flat: #5E5B21 at 4.93:1.

Make it accessible

A contrast checker tells you that you failed. This tells you what to ship instead — same hue, same saturation, lightness moved only as far as WCAG demands.

The quick fox
#7D792C · 4.52:1
AA on white−42% L
#7D792C
The quick fox
#5B5920 · 7.25:1
AAA on white−51% L
#5B5920
The quick fox
#dedba2 · 14.76:1
AA on blackalready passes
#dedba2
The quick fox
#dedba2 · 14.76:1
AAA on blackalready passes
#dedba2

Large text — 24px regular or 18.66px bold and above — only needs 3:1, so #9B9637 is enough for headings on white. Non-text elements such as icons, chart strokes and focus rings also sit at 3:1 under WCAG 2.2 (1.4.11).

Accessibility — WCAG contrast

Aa
#dedba2 on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#dedba2 on black: 14.76:1
AA ✓ pass · AA-large · AAA
Against the neutral ladder

Contrast is symmetric, so each row covers both directions: #dedba2 as text on that neutral, and that neutral as text on #dedba2.

NeutralRatioBoth directions
White1.42:1AaAa
Slate 501.36:1AaAa
Slate 1001.30:1AaAa
Slate 2001.15:1AaAa
Slate 3001.04:1AaAa
Slate 4001.80:1AaAa
Slate 5003.34:1AaAa
Slate 6005.33:1AaAa
Slate 7007.28:1AaAa
Slate 80010.28:1AaAa
Slate 90012.55:1AaAa
Black14.76:1AaAa
Colour vision deficiency
true color
protanopia · #E5D79E
deuteranopia · #E7DAA4
tritanopia · #E7D4CC

Roughly one man in twelve has some form of colour vision deficiency. If any of the three panels above is hard to tell apart from a neighbouring colour in your palette, add a shape, an icon or a label so the meaning does not rest on hue alone.

Color scale — 50 to 950

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

#FAFAF5
#F5F5EA
#ECEAD0
#dedba2
#D3CF83
#C4BF59
#B5AF40
#979235
#78752B
#585522
#373515
Base = 300Lightest = 50 · #FAFAF5Darkest = 950 · #373515Text step on white = 800
Perceptual ramp — OKLCH

The same eleven steps expressed in OKLCH, where equal lightness numbers actually look equally spaced. HSL ramps go muddy in the yellows and washed out in the blues; this one does not. Modern browsers render it natively — the hex ramp above is the fallback.

50100200300400500600700800900950
oklch tokensclick to select
:root {
  --brand-50: oklch(0.97 0.019 105.3);
  --brand-100: oklch(0.94 0.030 105.3);
  --brand-200: oklch(0.88 0.045 105.3);
  --brand-300: oklch(0.80 0.058 105.3);
  --brand-400: oklch(0.72 0.068 105.3);
  --brand-500: oklch(0.64 0.074 105.3);
  --brand-600: oklch(0.56 0.074 105.3);
  --brand-700: oklch(0.48 0.070 105.3);
  --brand-800: oklch(0.40 0.062 105.3);
  --brand-900: oklch(0.32 0.052 105.3);
  --brand-950: oklch(0.24 0.041 105.3);
}

Colors that work with #dedba2

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#FAFAF4
Tinted page background
Border#EAE8C3
Hairlines and dividers
Muted text#9B974B
Captions on the surface
Accent#31509B
Second voice, not a rival
Dark variant#5E5B21
Hover, pressed, headers
Light variant#F8F8EC
Selected rows, tints
Dark surface#242414
Dark-mode background
Hover#D5D188
One step down in lightness
Pressed#CBC76D
Two steps down
Disabled#F7F7F3
Chroma pulled out
Focus ring#E9E6AC
Offset from the fill so it reads
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

In real components

The same eight roles, wired into the interface patterns you will actually build with them. Every state below is a computed value, not a mock-up.

Buttons and states
Save changesHoverPressedDisabled
OutlineSubtleLinkFocused
Form field
you@company.com

Focus ring uses the light variant so the field still reads as one shape.

Send me product updates
Notice
Your export is ready

The file stays available for seven days. Download it before it expires.

NewBetaDraft
Data
Storage used68%
Acme LtdActive
NorthwindTrial
GlobexActive

How to use #dedba2

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
Minimum size as text on white
Not as text
Safe as a fill behind white type
No — use #5E5B21
Safe as a 1px border on white
No — use #9B9637

Meaning and mood

What a colour in this family tends to signal, and how this particular chroma and lightness change the reading.

optimisticalertcheap-and-cheerfulvisible

The most visible hue at low light levels, which is why it owns warnings, hazard tape and value retail.

This is a confident chroma: strong enough to lead a brand, restrained enough to live in an interface all day. The lightness keeps it airy and approachable.

Worth knowing

Almost never passes contrast against white. Treat it as a surface or a marker, not as text.

Reads as
  • FormalityMedium
  • EnergyMedium-high
  • Weight25/100
  • TemperatureWarm
  • ApproachabilityHigh

Colour associations are cultural and vary by market. Treat these as a starting point for a conversation with your audience, not a finding about them.

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#A2A5DE
Analogous left#DEBDA2
Analogous right#C3DEA2
Split-complement 1#A2C3DE
Split-complement 2#BDA2DE
Triadic 1#A2DEDB
Triadic 2#DBA2DE
Tetradic#A2DEBD
On the wheel
Base+30°−30°+120°+240°+180°57°

#dedba2 sits at 57°. Every dot is a harmony position and links to its own page in the table alongside.

RGB percentages

Red87.1%
Green85.9%
Blue63.5%
R · 0–255
222
0xde
G · 0–255
219
0xdb
B · 0–255
162
0xa2

CMYK percentages

Cyan0.0%
Magenta1.4%
Yellow27.0%
Key (black)12.9%

Total ink coverage is 41%. Most commercial presses cap around 300% — above that, sheets stop drying properly.

Color previews

#dedba2 text on a black background

contrast 14.76:1

Card sample

#dedba2 text on a white background

contrast 1.42:1

Card sample

#dedba2 on grey

1.30:1

#dedba2 on its own surface

1.36:1

#dedba2 on its dark surface

11.04:1

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Gradient headline

background: linear-gradient(90deg, #dedba2, #AADEA2);
-webkit-background-clip: text;
color: transparent;
Focus ring
Focused control
outline: 2px solid #dedba2;
outline-offset: 3px;
Underline & caret

Marked up text

text-decoration-color: #dedba2;
caret-color: #dedba2;
Left rule
Pull quote or callout
border-left: 4px solid #dedba2;
Ring + tint
Selected chip
background: #F8F8EC;
box-shadow: inset 0 0 0 2px #dedba2;
Conic badge
68%
background: conic-gradient(#dedba2 68%, #e2e8f0 0);

Transparency

What each alpha value actually composites to. The top row is #dedba2 over white; the bottom row is the same alpha over a checkerboard, so you can see what survives on a photo or a video.

Bottom row of hexes is the flattened result over white — use those when a design tool refuses transparency, or when you need a solid fallback.

alpha in every syntaxclick to select
rgba(222, 219, 162, 0.5)
rgb(222 219 162 / 50%)
#dedba280
hsl(57 48% 75% / 50%)
color-mix(in srgb, #dedba2 50%, transparent)
Alpha8-digit hexFlat on white
10%#dedba21a#FCFBF6
20%#dedba233#F8F8EC
40%#dedba266#F2F1DA
60%#dedba299#EBE9C7
80%#dedba2cc#E5E2B5

Gradients from #dedba2

Six recipes, each built from this hex and shown with the exact CSS that produced it.

Elevation
Same hue, three lightnesses — safe anywhere
background: linear-gradient(135deg, #EEECCF, #dedba2 45%, #5E5B21);
Duotone
A short hue run reads richer than a flat fill
background: linear-gradient(120deg, #dedba2, #A2D68B);
Complement sweep
Loud — keep it behind large type only
background: linear-gradient(90deg, #dedba2, #A2A5DE);
Spotlight
Hero panels and app headers
background: radial-gradient(120% 120% at 20% 0%, #F6F5E6 0%, #dedba2 45%, #5E5B21 100%);
Soft wash
Section backgrounds that stay readable
background: linear-gradient(180deg, #FAFAF4, #ffffff);
Mesh
Ambient background, no image weight
background: radial-gradient(60% 60% at 15% 20%, #EBD5C8 0%, transparent 60%), radial-gradient(55% 55% at 85% 15%, #CEE6B9 0%, transparent 60%), radial-gradient(70% 70% at 50% 95%, #5E5B21 0%, transparent 65%), #dedba2;

Monochromatic scale

Palettes built from #dedba2

Shades — darker

Tints — lighter

Tones — desaturated

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.

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

On screens

Holds up across typical panel gamma. Still worth checking on an uncalibrated laptop, where mid-tones shift most.

In dark mode

Usable as-is on a dark surface at 14.76:1.

Explore nearby colors

Small, deliberate steps away from this hex — useful when you are hunting for the version of a colour that finally feels right.

#dedba2, answered

What color is #dedba2?

#dedba2 is a light vivid yellow, closest to Pale Goldenrod (ΔE2000 3.3). It sits at 57° on the hue wheel with 48% saturation and 75% lightness, which reads as warm.

What is the RGB value of #dedba2?

rgb(222, 219, 162) — 222 red, 219 green and 162 blue out of 255, or 87.1% / 85.9% / 63.5% by channel.

What is #dedba2 in HSL and HSV?

hsl(57, 48%, 75%) and hsv(57, 27%, 87%). HSL is what CSS takes; HSV is what your design tool's picker shows, which is why the saturation numbers rarely match.

Is #dedba2 a light or a dark color?

It is a light color. Relative luminance is 0.6880 and perceived brightness is 84%, so black text on it reaches 14.76:1.

Should I use black or white text on #dedba2?

Black. It scores 14.76:1 against #dedba2, versus 1.42:1 for white — AAA at any size.

Is #dedba2 accessible on a white background?

#dedba2 on white scores 1.42:1, which fails WCAG AA at every size. Darken it to #7D792C to reach 4.5:1, or #5B5920 for 7:1.

What is the complementary color of #dedba2?

#A2A5DE sits directly opposite on the wheel. Softer options are the split-complements #A2C3DE and #BDA2DE, which give the same contrast with far less vibration.

What colors go well with #dedba2?

For interface work: #FAFAF4 as the surface, #EAE8C3 for borders, #9B974B for secondary text, #31509B as an accent and #5E5B21 for hover and pressed states. For a palette, the analogous pair #DEBDA2 and #C3DEA2 stays calm, while #A2A5DE is the loudest partner.

What is #dedba2 in CMYK for printing?

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

Is #dedba2 warm or cool?

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

Which Tailwind color is closest to #dedba2?

The lime family — its 500 step is #84cc16, ΔE2000 19.4 away. That is a visible difference, so define #dedba2 as a custom token rather than reaching for the built-in.

How do I use #dedba2 in Tailwind CSS?

Inline it as an arbitrary value with bg-[#dedba2] or text-[#dedba2], or register the whole ramp under theme.extend.colors.brand so you get bg-brand-500 and friends. The generated 50–950 scale on this page is ready to paste into your config.

What is #dedba2 with 50% opacity?

rgba(222, 219, 162, 0.5), or #dedba280 in eight-digit hex. Over white that composites to #EFEDD1; over black, #6F6E51.

Is #dedba2 a web-safe color?

No. The nearest web-safe colour is #CCCC99, ΔE2000 4 away. The palette only matters for legacy displays and some email clients now.

What does the color #dedba2 mean?

As a yellow, it reads optimistic, alert, cheap-and-cheerful. The most visible hue at low light levels, which is why it owns warnings, hazard tape and value retail. At this chroma the effect is amplified — it will dominate whatever sits beside it.

What gradient works with #dedba2?

The safest is same-hue elevation: linear-gradient(135deg, #EEECCF, #dedba2 45%, #5E5B21). For more colour, a short hue run to #A2D68B keeps it rich without turning muddy.

Work with #dedba2 in the Color Lab

Every tool opens with this colour already loaded.

Every value on this page is computed from #dedba2 at request time — conversions, contrast ratios and ΔE distances are calculated, never looked up.