Skip to content

#cbba53

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

RGB
203, 186, 83
HSL
52°, 54%, 56%
CMYK
0, 8, 59, 20
Luminance
0.4844

At a glance

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

Hex
#cbba53
Hue
52°
yellow
Saturation
54%
vivid
Lightness
56%
balanced
Brightness
80%
HSV value
Perceived
72%
weighted brightness
Luminance
0.4844
WCAG relative
Temperature
Warm
18/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
10.69:1
Closest name
Dark Khaki
ΔE2000 5.4
Where it sits
Hue52° of 360°
Saturation54%
Lightness56%
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#cbba53
RGBrgb(203, 186, 83)
HSLhsl(52, 54%, 56%)
CMYKcmyk(0%, 8%, 59%, 20%)
LABlab(75.1 -6.6 53.3)
LCHlch(75.1 53.7 97.1)
OKLCHoklch(0.783 0.125 100.0)
Decimal13351507
Display P3color(display-p3 0.796 0.729 0.325)

Copy-ready code

/* CSS */
color: #cbba53;
background-color: #cbba53;
/* Tailwind (arbitrary) */
class="text-[#cbba53] bg-[#cbba53]"
/* SCSS */
$brand: #cbba53;
/* SwiftUI */
Color(red: 0.796, green: 0.729, blue: 0.325)
/* Android */
Color.parseColor("#cbba53")
/* Flutter */
Color(0xFFCBBA53)
/* Python / OpenCV (BGR) */
(83, 186, 203)

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

Accessibility — WCAG contrast

Aa
#cbba53 on white: 1.96:1
AA ✗ fail · AA-large · AAA
Aa
#cbba53 on black: 10.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CAB548
deuteranopia · #CFBC58
tritanopia · #D9AEA3

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cbba53 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
#EDE9CE
#E5DCA9
#D8CB7E
#cbba53
#BCA939
#9D8D2F
#7D7126
#5B531F
#393413
Base = 500Lightest = 50 · #FBFAF4Darkest = 950 · #393413
:root {
  --brand-50: #FBFAF4;
  --brand-100: #F6F4E9;
  --brand-200: #EDE9CE;
  --brand-300: #E5DCA9;
  --brand-400: #D8CB7E;
  --brand-500: #cbba53;
  --brand-600: #BCA939;
  --brand-700: #9D8D2F;
  --brand-800: #7D7126;
  --brand-900: #5B531F;
  --brand-950: #393413;
  --brand: #cbba53;
  --brand-ink: #000000;
}

Colors that work with #cbba53

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#ECE6C0
Hairlines and dividers
Muted text#9B904B
Captions on the surface
Accent#4F81D0
Second voice, not a rival
Dark variant#62581E
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 #cbba53

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#5364CB
Analogous left#CB7E53
Analogous right#A0CB53
Split-complement 1#53A0CB
Split-complement 2#7E53CB
Triadic 1#53CBBA
Triadic 2#BA53CB
Tetradic#53CB7E

RGB percentages

Red79.6%
Green72.9%
Blue32.5%

CMYK percentages

Cyan0.0%
Magenta8.4%
Yellow59.1%
Key (black)20.4%

Color previews

#cbba53 text on a black background

contrast 10.69:1

Card sample

#cbba53 text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbba53

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.

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

#cbba53, answered

What color is #cbba53?

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

What is the RGB value of #cbba53?

rgb(203, 186, 83) — 203 red, 186 green and 83 blue out of 255, or 79.6% / 72.9% / 32.5% by channel.

Is #cbba53 a light or a dark color?

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

Should I use black or white text on #cbba53?

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

What is the complementary color of #cbba53?

#5364CB sits directly opposite on the wheel. Softer options are the split-complements #53A0CB and #7E53CB, which give the same contrast with far less vibration.

What colors go well with #cbba53?

For interface work: #FAFAF4 as the surface, #ECE6C0 for borders, #9B904B for secondary text, #4F81D0 as an accent and #62581E for hover and pressed states. For a palette, the analogous pair #CB7E53 and #A0CB53 stays calm, while #5364CB is the loudest partner.

What is #cbba53 in CMYK for printing?

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

Is #cbba53 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 #CB9853; nudged cooler, #B1CD51.

Work with #cbba53 in the Color Lab