Skip to content

#cfbc48

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

RGB
207, 188, 72
HSL
52°, 58%, 55%
CMYK
0, 9, 65, 19
Luminance
0.4970

At a glance

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

Hex
#cfbc48
Hue
52°
yellow
Saturation
58%
vivid
Lightness
55%
balanced
Brightness
81%
HSV value
Perceived
72%
weighted brightness
Luminance
0.4970
WCAG relative
Temperature
Warm
18/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
10.94:1
Closest name
Dark Khaki
ΔE2000 7.1
Where it sits
Hue52° of 360°
Saturation58%
Lightness55%
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#cfbc48
RGBrgb(207, 188, 72)
HSLhsl(52, 58%, 55%)
CMYKcmyk(0%, 9%, 65%, 19%)
LABlab(75.9 -6.7 59.0)
LCHlch(75.9 59.4 96.5)
OKLCHoklch(0.790 0.136 99.9)
Decimal13614152
Display P3color(display-p3 0.812 0.737 0.282)

Copy-ready code

/* CSS */
color: #cfbc48;
background-color: #cfbc48;
/* Tailwind (arbitrary) */
class="text-[#cfbc48] bg-[#cfbc48]"
/* SCSS */
$brand: #cfbc48;
/* SwiftUI */
Color(red: 0.812, green: 0.737, blue: 0.282)
/* Android */
Color.parseColor("#cfbc48")
/* Flutter */
Color(0xFFCFBC48)
/* Python / OpenCV (BGR) */
(72, 188, 207)

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

Accessibility — WCAG contrast

Aa
#cfbc48 on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#cfbc48 on black: 10.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CDB739
deuteranopia · #D2BE4E
tritanopia · #DEAFA4

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cfbc48 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
#EFEACD
#E8DEA6
#DCCE7A
#cfbc48
#C2AE33
#A2912A
#817422
#5E551C
#3B3512
Base = 500Lightest = 50 · #FBFAF4Darkest = 950 · #3B3512
:root {
  --brand-50: #FBFAF4;
  --brand-100: #F7F5E9;
  --brand-200: #EFEACD;
  --brand-300: #E8DEA6;
  --brand-400: #DCCE7A;
  --brand-500: #cfbc48;
  --brand-600: #C2AE33;
  --brand-700: #A2912A;
  --brand-800: #817422;
  --brand-900: #5E551C;
  --brand-950: #3B3512;
  --brand: #cfbc48;
  --brand-ink: #000000;
}

Colors that work with #cfbc48

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#437CD4
Second voice, not a rival
Dark variant#655B1B
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 #cfbc48

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#485BCF
Analogous left#CF7948
Analogous right#9ECF48
Split-complement 1#489ECF
Split-complement 2#7948CF
Triadic 1#48CFBC
Triadic 2#BC48CF
Tetradic#48CF79

RGB percentages

Red81.2%
Green73.7%
Blue28.2%

CMYK percentages

Cyan0.0%
Magenta9.2%
Yellow65.2%
Key (black)18.8%

Color previews

#cfbc48 text on a black background

contrast 10.94:1

Card sample

#cfbc48 text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 188, 72, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 188, 72, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfbc48;
background: linear-gradient(135deg, #cfbc48, #88CF48);

Monochromatic scale

Palettes built from #cfbc48

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.

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

#cfbc48, answered

What color is #cfbc48?

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

What is the RGB value of #cfbc48?

rgb(207, 188, 72) — 207 red, 188 green and 72 blue out of 255, or 81.2% / 73.7% / 28.2% by channel.

Is #cfbc48 a light or a dark color?

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

Should I use black or white text on #cfbc48?

Black. It scores 10.94:1 against #cfbc48, versus 1.92:1 for white — AAA at any size.

What is the complementary color of #cfbc48?

#485BCF sits directly opposite on the wheel. Softer options are the split-complements #489ECF and #7948CF, which give the same contrast with far less vibration.

What colors go well with #cfbc48?

For interface work: #FAFAF4 as the surface, #EDE6C0 for borders, #9B904B for secondary text, #437CD4 as an accent and #655B1B for hover and pressed states. For a palette, the analogous pair #CF7948 and #9ECF48 stays calm, while #485BCF is the loudest partner.

What is #cfbc48 in CMYK for printing?

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

Is #cfbc48 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 #CF9748; nudged cooler, #B2D146.

Work with #cfbc48 in the Color Lab