Skip to content

#cbba71

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

RGB
203, 186, 113
HSL
49°, 46%, 62%
CMYK
0, 8, 44, 20
Luminance
0.4901

At a glance

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

Hex
#cbba71
Hue
49°
yellow
Saturation
46%
vivid
Lightness
62%
balanced
Brightness
80%
HSV value
Perceived
72%
weighted brightness
Luminance
0.4901
WCAG relative
Temperature
Warm
16/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
10.80:1
Closest name
Dark Khaki
ΔE2000 3.7
Where it sits
Hue49° of 360°
Saturation46%
Lightness62%
Temperature
Warm ← → Cool16% 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#cbba71
RGBrgb(203, 186, 113)
HSLhsl(49, 46%, 62%)
CMYKcmyk(0%, 8%, 44%, 20%)
LABlab(75.5 -4.0 39.1)
LCHlch(75.5 39.3 95.9)
OKLCHoklch(0.787 0.095 96.6)
Decimal13351537
Display P3color(display-p3 0.796 0.729 0.443)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbba71 on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#cbba71 on black: 10.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C7B76B
deuteranopia · #CCBC74
tritanopia · #D7B0A8

Color scale — 50 to 950

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

#FAF9F5
#F5F3EA
#EBE6D0
#E1D7AD
#cbba71
#C3AF5B
#B39E42
#958437
#77692C
#574D23
#373016
Base = 400Lightest = 50 · #FAF9F5Darkest = 950 · #373016
:root {
  --brand-50: #FAF9F5;
  --brand-100: #F5F3EA;
  --brand-200: #EBE6D0;
  --brand-300: #E1D7AD;
  --brand-400: #cbba71;
  --brand-500: #C3AF5B;
  --brand-600: #B39E42;
  --brand-700: #958437;
  --brand-800: #77692C;
  --brand-900: #574D23;
  --brand-950: #373016;
  --brand: #cbba71;
  --brand-ink: #000000;
}

Colors that work with #cbba71

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#E9E2C3
Hairlines and dividers
Muted text#9B8C4B
Captions on the surface
Accent#32609A
Second voice, not a rival
Dark variant#5D5222
Hover, pressed, headers
Light variant#F8F6EC
Selected rows, tints
Dark surface#242114
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 #cbba71

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#7182CB
Analogous left#CB8D71
Analogous right#AFCB71
Split-complement 1#71AFCB
Split-complement 2#8D71CB
Triadic 1#71CBBA
Triadic 2#BA71CB
Tetradic#71CB8D

RGB percentages

Red79.6%
Green72.9%
Blue44.3%

CMYK percentages

Cyan0.0%
Magenta8.4%
Yellow44.3%
Key (black)20.4%

Color previews

#cbba71 text on a black background

contrast 10.80:1

Card sample

#cbba71 text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbba71

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.

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

#cbba71, answered

What color is #cbba71?

#cbba71 is a balanced vivid yellow, closest to Dark Khaki (ΔE2000 3.7). It sits at 49° on the hue wheel with 46% saturation and 62% lightness, which reads as warm.

What is the RGB value of #cbba71?

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

Is #cbba71 a light or a dark color?

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

Should I use black or white text on #cbba71?

Black. It scores 10.80:1 against #cbba71, versus 1.94:1 for white — AAA at any size.

What is the complementary color of #cbba71?

#7182CB sits directly opposite on the wheel. Softer options are the split-complements #71AFCB and #8D71CB, which give the same contrast with far less vibration.

What colors go well with #cbba71?

For interface work: #FAF9F4 as the surface, #E9E2C3 for borders, #9B8C4B for secondary text, #32609A as an accent and #5D5222 for hover and pressed states. For a palette, the analogous pair #CB8D71 and #AFCB71 stays calm, while #7182CB is the loudest partner.

What is #cbba71 in CMYK for printing?

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

Is #cbba71 warm or cool?

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

Work with #cbba71 in the Color Lab