Skip to content

#ceba8b

a light, soft yellow · warm · closest name: Tan

RGB
206, 186, 139
HSL
42°, 41%, 68%
CMYK
0, 10, 33, 19
Luminance
0.5010

At a glance

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

Hex
#ceba8b
Hue
42°
yellow
Saturation
41%
soft
Lightness
68%
light
Brightness
81%
HSV value
Perceived
74%
weighted brightness
Luminance
0.5010
WCAG relative
Temperature
Warm
10/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
11.02:1
Closest name
Tan
ΔE2000 4.8
Where it sits
Hue42° of 360°
Saturation41%
Lightness68%
Temperature
Warm ← → Cool10% 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#ceba8b
RGBrgb(206, 186, 139)
HSLhsl(42, 41%, 68%)
CMYKcmyk(0%, 10%, 33%, 19%)
LABlab(76.1 0.1 26.5)
LCHlch(76.1 26.5 89.7)
OKLCHoklch(0.794 0.066 87.6)
Decimal13548171
Display P3color(display-p3 0.808 0.729 0.545)

Copy-ready code

/* CSS */
color: #ceba8b;
background-color: #ceba8b;
/* Tailwind (arbitrary) */
class="text-[#ceba8b] bg-[#ceba8b]"
/* SCSS */
$brand: #ceba8b;
/* SwiftUI */
Color(red: 0.808, green: 0.729, blue: 0.545)
/* Android */
Color.parseColor("#ceba8b")
/* Flutter */
Color(0xFFCEBA8B)
/* Python / OpenCV (BGR) */
(139, 186, 206)

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 #ceba8b · 11.02:1
Use #000000AAA at every size.
Aa
White text · 1.91:1
AA fail · AA large fail · AAA fail
Aa
Black text · 11.02:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ceba8b as text scores 1.91:1 on white and 11.02:1 on black.

Accessibility — WCAG contrast

Aa
#ceba8b on white: 1.91:1
AA ✗ fail · AA-large · AAA
Aa
#ceba8b on black: 11.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C5B988
deuteranopia · #CABE8C
tritanopia · #D9B2AE

Color scale — 50 to 950

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

#FAF8F5
#F5F2EB
#EAE3D2
#DED0B0
#ceba8b
#BCA161
#AC8E49
#8F773D
#735F30
#544626
#352C18
Base = 400Lightest = 50 · #FAF8F5Darkest = 950 · #352C18
:root {
  --brand-50: #FAF8F5;
  --brand-100: #F5F2EB;
  --brand-200: #EAE3D2;
  --brand-300: #DED0B0;
  --brand-400: #ceba8b;
  --brand-500: #BCA161;
  --brand-600: #AC8E49;
  --brand-700: #8F773D;
  --brand-800: #735F30;
  --brand-900: #544626;
  --brand-950: #352C18;
  --brand: #ceba8b;
  --brand-ink: #000000;
}

Colors that work with #ceba8b

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#E7DDC6
Hairlines and dividers
Muted text#9B834B
Captions on the surface
Accent#396A93
Second voice, not a rival
Dark variant#5A4A26
Hover, pressed, headers
Light variant#F7F4ED
Selected rows, tints
Dark surface#241F14
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 #ceba8b

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • 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#8B9FCE
Analogous left#CE988B
Analogous right#C0CE8B
Split-complement 1#8BC0CE
Split-complement 2#988BCE
Triadic 1#8BCEBA
Triadic 2#BA8BCE
Tetradic#8BCE98

RGB percentages

Red80.8%
Green72.9%
Blue54.5%

CMYK percentages

Cyan0.0%
Magenta9.7%
Yellow32.5%
Key (black)19.2%

Color previews

#ceba8b text on a black background

contrast 11.02:1

Card sample

#ceba8b text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ceba8b

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.

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

#ceba8b, answered

What color is #ceba8b?

#ceba8b is a light soft yellow, closest to Tan (ΔE2000 4.8). It sits at 42° on the hue wheel with 41% saturation and 68% lightness, which reads as warm.

What is the RGB value of #ceba8b?

rgb(206, 186, 139) — 206 red, 186 green and 139 blue out of 255, or 80.8% / 72.9% / 54.5% by channel.

Is #ceba8b a light or a dark color?

It is a light color. Relative luminance is 0.5010 and perceived brightness is 74%, so black text on it reaches 11.02:1.

Should I use black or white text on #ceba8b?

Black. It scores 11.02:1 against #ceba8b, versus 1.91:1 for white — AAA at any size.

What is the complementary color of #ceba8b?

#8B9FCE sits directly opposite on the wheel. Softer options are the split-complements #8BC0CE and #988BCE, which give the same contrast with far less vibration.

What colors go well with #ceba8b?

For interface work: #FAF9F4 as the surface, #E7DDC6 for borders, #9B834B for secondary text, #396A93 as an accent and #5A4A26 for hover and pressed states. For a palette, the analogous pair #CE988B and #C0CE8B stays calm, while #8B9FCE is the loudest partner.

What is #ceba8b in CMYK for printing?

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

Is #ceba8b warm or cool?

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

Work with #ceba8b in the Color Lab