Skip to content

#ceba50

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

RGB
206, 186, 80
HSL
51°, 56%, 56%
CMYK
0, 10, 61, 19
Luminance
0.4882

At a glance

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

Hex
#ceba50
Hue
51°
yellow
Saturation
56%
vivid
Lightness
56%
balanced
Brightness
81%
HSV value
Perceived
72%
weighted brightness
Luminance
0.4882
WCAG relative
Temperature
Warm
17/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
10.76:1
Closest name
Dark Khaki
ΔE2000 6.2
Where it sits
Hue51° of 360°
Saturation56%
Lightness56%
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#ceba50
RGBrgb(206, 186, 80)
HSLhsl(51, 56%, 56%)
CMYKcmyk(0%, 10%, 61%, 19%)
LABlab(75.3 -5.6 55.0)
LCHlch(75.3 55.2 95.8)
OKLCHoklch(0.785 0.128 98.7)
Decimal13548112
Display P3color(display-p3 0.808 0.729 0.314)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ceba50 on white: 1.95:1
AA ✗ fail · AA-large · AAA
Aa
#ceba50 on black: 10.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CBB544
deuteranopia · #D0BD55
tritanopia · #DDADA3

Color scale — 50 to 950

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

#FBFAF4
#F6F4E9
#EEE9CD
#E6DCA7
#DACB7B
#ceba50
#BFA935
#9F8D2D
#807124
#5D531E
#3A3412
Base = 500Lightest = 50 · #FBFAF4Darkest = 950 · #3A3412
:root {
  --brand-50: #FBFAF4;
  --brand-100: #F6F4E9;
  --brand-200: #EEE9CD;
  --brand-300: #E6DCA7;
  --brand-400: #DACB7B;
  --brand-500: #ceba50;
  --brand-600: #BFA935;
  --brand-700: #9F8D2D;
  --brand-800: #807124;
  --brand-900: #5D531E;
  --brand-950: #3A3412;
  --brand: #ceba50;
  --brand-ink: #000000;
}

Colors that work with #ceba50

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#EDE6C0
Hairlines and dividers
Muted text#9B8E4B
Captions on the surface
Accent#4C83D3
Second voice, not a rival
Dark variant#64581C
Hover, pressed, headers
Light variant#F9F7EB
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 #ceba50

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#5064CE
Analogous left#CE7B50
Analogous right#A3CE50
Split-complement 1#50A3CE
Split-complement 2#7B50CE
Triadic 1#50CEBA
Triadic 2#BA50CE
Tetradic#50CE7B

RGB percentages

Red80.8%
Green72.9%
Blue31.4%

CMYK percentages

Cyan0.0%
Magenta9.7%
Yellow61.2%
Key (black)19.2%

Color previews

#ceba50 text on a black background

contrast 10.76:1

Card sample

#ceba50 text on a white background

contrast 1.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ceba50

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.

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

#ceba50, answered

What color is #ceba50?

#ceba50 is a balanced vivid yellow, closest to Dark Khaki (ΔE2000 6.2). It sits at 51° on the hue wheel with 56% saturation and 56% lightness, which reads as warm.

What is the RGB value of #ceba50?

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

Is #ceba50 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4882 and perceived brightness is 72%, so black text on it reaches 10.76:1.

Should I use black or white text on #ceba50?

Black. It scores 10.76:1 against #ceba50, versus 1.95:1 for white — AAA at any size.

What is the complementary color of #ceba50?

#5064CE sits directly opposite on the wheel. Softer options are the split-complements #50A3CE and #7B50CE, which give the same contrast with far less vibration.

What colors go well with #ceba50?

For interface work: #FAF9F4 as the surface, #EDE6C0 for borders, #9B8E4B for secondary text, #4C83D3 as an accent and #64581C for hover and pressed states. For a palette, the analogous pair #CE7B50 and #A3CE50 stays calm, while #5064CE is the loudest partner.

What is #ceba50 in CMYK for printing?

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

Is #ceba50 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 #CE9850; nudged cooler, #B5D04E.

Work with #ceba50 in the Color Lab