Skip to content

#ceba3d

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

RGB
206, 186, 61
HSL
52°, 60%, 52%
CMYK
0, 10, 70, 19
Luminance
0.4858

At a glance

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

Hex
#ceba3d
Hue
52°
yellow
Saturation
60%
vivid
Lightness
52%
balanced
Brightness
81%
HSV value
Perceived
72%
weighted brightness
Luminance
0.4858
WCAG relative
Temperature
Warm
18/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
10.72:1
Closest name
Dark Khaki
ΔE2000 7.9
Where it sits
Hue52° of 360°
Saturation60%
Lightness52%
Temperature
Warm ← → Cool18% 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#ceba3d
RGBrgb(206, 186, 61)
HSLhsl(52, 60%, 52%)
CMYKcmyk(0%, 10%, 70%, 19%)
LABlab(75.2 -6.7 62.7)
LCHlch(75.2 63.1 96.1)
OKLCHoklch(0.784 0.142 100.0)
Decimal13548093
Display P3color(display-p3 0.808 0.729 0.239)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ceba3d on white: 1.96:1
AA ✗ fail · AA-large · AAA
Aa
#ceba3d on black: 10.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CCB52A
deuteranopia · #D1BC45
tritanopia · #DEADA1

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ceba3d 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
#F7F5E9
#EFEACC
#E8DFA5
#DDCF79
#ceba3d
#C3AF31
#A39229
#827521
#5F561C
#3B3511
Base = 500Lightest = 50 · #FBFAF4Darkest = 950 · #3B3511
:root {
  --brand-50: #FBFAF4;
  --brand-100: #F7F5E9;
  --brand-200: #EFEACC;
  --brand-300: #E8DFA5;
  --brand-400: #DDCF79;
  --brand-500: #ceba3d;
  --brand-600: #C3AF31;
  --brand-700: #A39229;
  --brand-800: #827521;
  --brand-900: #5F561C;
  --brand-950: #3B3511;
  --brand: #ceba3d;
  --brand-ink: #000000;
}

Colors that work with #ceba3d

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#EDE6C0
Hairlines and dividers
Muted text#9B904B
Captions on the surface
Accent#3874D3
Second voice, not a rival
Dark variant#665B1A
Hover, pressed, headers
Light variant#FAF8EB
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 #ceba3d

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#3D51CE
Analogous left#CE723D
Analogous right#9ACE3D
Split-complement 1#3D9ACE
Split-complement 2#723DCE
Triadic 1#3DCEBA
Triadic 2#BA3DCE
Tetradic#3DCE72

RGB percentages

Red80.8%
Green72.9%
Blue23.9%

CMYK percentages

Cyan0.0%
Magenta9.7%
Yellow70.4%
Key (black)19.2%

Color previews

#ceba3d text on a black background

contrast 10.72:1

Card sample

#ceba3d text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ceba3d

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.

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

#ceba3d, answered

What color is #ceba3d?

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

What is the RGB value of #ceba3d?

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

Is #ceba3d a light or a dark color?

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

Should I use black or white text on #ceba3d?

Black. It scores 10.72:1 against #ceba3d, versus 1.96:1 for white — AAA at any size.

What is the complementary color of #ceba3d?

#3D51CE sits directly opposite on the wheel. Softer options are the split-complements #3D9ACE and #723DCE, which give the same contrast with far less vibration.

What colors go well with #ceba3d?

For interface work: #FAFAF4 as the surface, #EDE6C0 for borders, #9B904B for secondary text, #3874D3 as an accent and #665B1A for hover and pressed states. For a palette, the analogous pair #CE723D and #9ACE3D stays calm, while #3D51CE is the loudest partner.

What is #ceba3d in CMYK for printing?

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

Is #ceba3d warm or cool?

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

Work with #ceba3d in the Color Lab