Skip to content

#ceb366

a balanced, vivid yellow · warm · closest name: Dark Khaki

RGB
206, 179, 102
HSL
44°, 52%, 60%
CMYK
0, 13, 51, 19
Luminance
0.4632

At a glance

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

Hex
#ceb366
Hue
44°
yellow
Saturation
52%
vivid
Lightness
60%
balanced
Brightness
81%
HSV value
Perceived
71%
weighted brightness
Luminance
0.4632
WCAG relative
Temperature
Warm
12/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
10.26:1
Closest name
Dark Khaki
ΔE2000 6.4
Where it sits
Hue44° of 360°
Saturation52%
Lightness60%
Temperature
Warm ← → Cool12% 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#ceb366
RGBrgb(206, 179, 102)
HSLhsl(44, 52%, 60%)
CMYKcmyk(0%, 13%, 51%, 19%)
LABlab(73.8 -0.2 42.6)
LCHlch(73.8 42.6 90.2)
OKLCHoklch(0.774 0.102 90.6)
Decimal13546342
Display P3color(display-p3 0.808 0.702 0.400)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ceb366 on white: 2.05:1
AA ✗ fail · AA-large · AAA
Aa
#ceb366 on black: 10.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C2B15F
deuteranopia · #C9B969
tritanopia · #DCA8A1

Color scale — 50 to 950

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

#FAF9F4
#F6F3EA
#EDE5CF
#E4D5AA
#D6C080
#ceb366
#B9993B
#9B7F31
#7C6628
#5A4B20
#382F14
Base = 500Lightest = 50 · #FAF9F4Darkest = 950 · #382F14
:root {
  --brand-50: #FAF9F4;
  --brand-100: #F6F3EA;
  --brand-200: #EDE5CF;
  --brand-300: #E4D5AA;
  --brand-400: #D6C080;
  --brand-500: #ceb366;
  --brand-600: #B9993B;
  --brand-700: #9B7F31;
  --brand-800: #7C6628;
  --brand-900: #5A4B20;
  --brand-950: #382F14;
  --brand: #ceb366;
  --brand-ink: #000000;
}

Colors that work with #ceb366

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#EBE0C1
Hairlines and dividers
Muted text#9B864B
Captions on the surface
Accent#2D679F
Second voice, not a rival
Dark variant#61501F
Hover, pressed, headers
Light variant#F9F5EC
Selected rows, tints
Dark surface#242014
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 #ceb366

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
  • 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
  • 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#6681CE
Analogous left#CE7F66
Analogous right#B5CE66
Split-complement 1#66B5CE
Split-complement 2#7F66CE
Triadic 1#66CEB3
Triadic 2#B366CE
Tetradic#66CE7F

RGB percentages

Red80.8%
Green70.2%
Blue40.0%

CMYK percentages

Cyan0.0%
Magenta13.1%
Yellow50.5%
Key (black)19.2%

Color previews

#ceb366 text on a black background

contrast 10.26:1

Card sample

#ceb366 text on a white background

contrast 2.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ceb366

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.

#ceb366 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
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#ceb366, answered

What color is #ceb366?

#ceb366 is a balanced vivid yellow, closest to Dark Khaki (ΔE2000 6.4). It sits at 44° on the hue wheel with 52% saturation and 60% lightness, which reads as warm.

What is the RGB value of #ceb366?

rgb(206, 179, 102) — 206 red, 179 green and 102 blue out of 255, or 80.8% / 70.2% / 40% by channel.

Is #ceb366 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4632 and perceived brightness is 71%, so black text on it reaches 10.26:1.

Should I use black or white text on #ceb366?

Black. It scores 10.26:1 against #ceb366, versus 2.05:1 for white — AAA at any size.

What is the complementary color of #ceb366?

#6681CE sits directly opposite on the wheel. Softer options are the split-complements #66B5CE and #7F66CE, which give the same contrast with far less vibration.

What colors go well with #ceb366?

For interface work: #FAF9F4 as the surface, #EBE0C1 for borders, #9B864B for secondary text, #2D679F as an accent and #61501F for hover and pressed states. For a palette, the analogous pair #CE7F66 and #B5CE66 stays calm, while #6681CE is the loudest partner.

What is #ceb366 in CMYK for printing?

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

Is #ceb366 warm or cool?

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

Work with #ceb366 in the Color Lab