Skip to content

#cfb050

a balanced, vivid yellow · warm · closest name: Goldenrod

RGB
207, 176, 80
HSL
45°, 57%, 56%
CMYK
0, 15, 61, 19
Luminance
0.4490

At a glance

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

Hex
#cfb050
Hue
45°
yellow
Saturation
57%
vivid
Lightness
56%
balanced
Brightness
81%
HSV value
Perceived
70%
weighted brightness
Luminance
0.4490
WCAG relative
Temperature
Warm
13/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
9.98:1
Closest name
Goldenrod
ΔE2000 6.8
Where it sits
Hue45° of 360°
Saturation57%
Lightness56%
Temperature
Warm ← → Cool13% 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#cfb050
RGBrgb(207, 176, 80)
HSLhsl(45, 57%, 56%)
CMYKcmyk(0%, 15%, 61%, 19%)
LABlab(72.8 0.1 52.2)
LCHlch(72.8 52.2 89.9)
OKLCHoklch(0.766 0.120 91.4)
Decimal13611088
Display P3color(display-p3 0.812 0.690 0.314)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfb050 on white: 2.10:1
AA ✗ fail · AA-large · AAA
Aa
#cfb050 on black: 9.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C1AE46
deuteranopia · #C9B654
tritanopia · #DFA39B

Color scale — 50 to 950

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

#FBF9F4
#F7F3E9
#EEE6CD
#E7D7A7
#DBC37B
#cfb050
#C09E35
#A0842C
#806923
#5D4E1D
#3A3112
Base = 500Lightest = 50 · #FBF9F4Darkest = 950 · #3A3112
:root {
  --brand-50: #FBF9F4;
  --brand-100: #F7F3E9;
  --brand-200: #EEE6CD;
  --brand-300: #E7D7A7;
  --brand-400: #DBC37B;
  --brand-500: #cfb050;
  --brand-600: #C09E35;
  --brand-700: #A0842C;
  --brand-800: #806923;
  --brand-900: #5D4E1D;
  --brand-950: #3A3112;
  --brand: #cfb050;
  --brand-ink: #000000;
}

Colors that work with #cfb050

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#EDE2C0
Hairlines and dividers
Muted text#9B874B
Captions on the surface
Accent#4C8FD4
Second voice, not a rival
Dark variant#64521B
Hover, pressed, headers
Light variant#FAF6EB
Selected rows, tints
Dark surface#242014
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 #cfb050

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#506FCF
Analogous left#CF7150
Analogous right#AECF50
Split-complement 1#50AECF
Split-complement 2#7150CF
Triadic 1#50CFB0
Triadic 2#B050CF
Tetradic#50CF71

RGB percentages

Red81.2%
Green69.0%
Blue31.4%

CMYK percentages

Cyan0.0%
Magenta15.0%
Yellow61.4%
Key (black)18.8%

Color previews

#cfb050 text on a black background

contrast 9.98:1

Card sample

#cfb050 text on a white background

contrast 2.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 176, 80, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 176, 80, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfb050;
background: linear-gradient(135deg, #cfb050, #99CF50);

Monochromatic scale

Palettes built from #cfb050

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.

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

#cfb050, answered

What color is #cfb050?

#cfb050 is a balanced vivid yellow, closest to Goldenrod (ΔE2000 6.8). It sits at 45° on the hue wheel with 57% saturation and 56% lightness, which reads as warm.

What is the RGB value of #cfb050?

rgb(207, 176, 80) — 207 red, 176 green and 80 blue out of 255, or 81.2% / 69% / 31.4% by channel.

Is #cfb050 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4490 and perceived brightness is 70%, so black text on it reaches 9.98:1.

Should I use black or white text on #cfb050?

Black. It scores 9.98:1 against #cfb050, versus 2.10:1 for white — AAA at any size.

What is the complementary color of #cfb050?

#506FCF sits directly opposite on the wheel. Softer options are the split-complements #50AECF and #7150CF, which give the same contrast with far less vibration.

What colors go well with #cfb050?

For interface work: #FAF9F4 as the surface, #EDE2C0 for borders, #9B874B for secondary text, #4C8FD4 as an accent and #64521B for hover and pressed states. For a palette, the analogous pair #CF7150 and #AECF50 stays calm, while #506FCF is the loudest partner.

What is #cfb050 in CMYK for printing?

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

Is #cfb050 warm or cool?

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

Work with #cfb050 in the Color Lab