Skip to content

#cfb232

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

RGB
207, 178, 50
HSL
49°, 62%, 50%
CMYK
0, 14, 76, 19
Luminance
0.4534

At a glance

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

Hex
#cfb232
Hue
49°
yellow
Saturation
62%
vivid
Lightness
50%
balanced
Brightness
81%
HSV value
Perceived
70%
weighted brightness
Luminance
0.4534
WCAG relative
Temperature
Warm
16/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
10.07:1
Closest name
Goldenrod
ΔE2000 7.1
Where it sits
Hue49° of 360°
Saturation62%
Lightness50%
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#cfb232
RGBrgb(207, 178, 50)
HSLhsl(49, 62%, 50%)
CMYKcmyk(0%, 14%, 76%, 19%)
LABlab(73.1 -2.6 64.8)
LCHlch(73.1 64.8 92.3)
OKLCHoklch(0.767 0.143 95.7)
Decimal13611570
Display P3color(display-p3 0.812 0.698 0.196)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfb232 on white: 2.09:1
AA ✗ fail · AA-large · AAA
Aa
#cfb232 on black: 10.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C5AE19
deuteranopia · #CCB73A
tritanopia · #E0A499

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cfb232 is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FBFAF4
#F7F4E8
#F0E9CC
#EADDA4
#DFCC77
#D4BB49
#cfb232
#A58E27
#84721F
#60531A
#3C3410
Base = 600Lightest = 50 · #FBFAF4Darkest = 950 · #3C3410
:root {
  --brand-50: #FBFAF4;
  --brand-100: #F7F4E8;
  --brand-200: #F0E9CC;
  --brand-300: #EADDA4;
  --brand-400: #DFCC77;
  --brand-500: #D4BB49;
  --brand-600: #cfb232;
  --brand-700: #A58E27;
  --brand-800: #84721F;
  --brand-900: #60531A;
  --brand-950: #3C3410;
  --brand: #cfb232;
  --brand-ink: #000000;
}

Colors that work with #cfb232

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#EDE4C0
Hairlines and dividers
Muted text#9B8C4B
Captions on the surface
Accent#2D76D4
Second voice, not a rival
Dark variant#675918
Hover, pressed, headers
Light variant#FAF7EA
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 #cfb232

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#324FCF
Analogous left#CF6332
Analogous right#9ECF32
Split-complement 1#329ECF
Split-complement 2#6332CF
Triadic 1#32CFB2
Triadic 2#B232CF
Tetradic#32CF63

RGB percentages

Red81.2%
Green69.8%
Blue19.6%

CMYK percentages

Cyan0.0%
Magenta14.0%
Yellow75.8%
Key (black)18.8%

Color previews

#cfb232 text on a black background

contrast 10.07:1

Card sample

#cfb232 text on a white background

contrast 2.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 178, 50, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 178, 50, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfb232;
background: linear-gradient(135deg, #cfb232, #83CF32);

Monochromatic scale

Palettes built from #cfb232

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.

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

#cfb232, answered

What color is #cfb232?

#cfb232 is a balanced vivid yellow, closest to Goldenrod (ΔE2000 7.1). It sits at 49° on the hue wheel with 62% saturation and 50% lightness, which reads as warm.

What is the RGB value of #cfb232?

rgb(207, 178, 50) — 207 red, 178 green and 50 blue out of 255, or 81.2% / 69.8% / 19.6% by channel.

Is #cfb232 a light or a dark color?

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

Should I use black or white text on #cfb232?

Black. It scores 10.07:1 against #cfb232, versus 2.09:1 for white — AAA at any size.

What is the complementary color of #cfb232?

#324FCF sits directly opposite on the wheel. Softer options are the split-complements #329ECF and #6332CF, which give the same contrast with far less vibration.

What colors go well with #cfb232?

For interface work: #FAF9F4 as the surface, #EDE4C0 for borders, #9B8C4B for secondary text, #2D76D4 as an accent and #675918 for hover and pressed states. For a palette, the analogous pair #CF6332 and #9ECF32 stays calm, while #324FCF is the loudest partner.

What is #cfb232 in CMYK for printing?

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

Is #cfb232 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 #CF8D32; nudged cooler, #B4D22F.

Work with #cfb232 in the Color Lab