Skip to content

#cf9f3b

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

RGB
207, 159, 59
HSL
41°, 61%, 52%
CMYK
0, 23, 72, 19
Luminance
0.3838

At a glance

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

Hex
#cf9f3b
Hue
41°
yellow
Saturation
61%
vivid
Lightness
52%
balanced
Brightness
81%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3838
WCAG relative
Temperature
Warm
9/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
8.68:1
Closest name
Goldenrod
ΔE2000 3.8
Where it sits
Hue41° of 360°
Saturation61%
Lightness52%
Temperature
Warm ← → Cool9% 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#cf9f3b
RGBrgb(207, 159, 59)
HSLhsl(41, 61%, 52%)
CMYKcmyk(0%, 23%, 72%, 19%)
LABlab(68.3 7.9 56.6)
LCHlch(68.3 57.2 82.0)
OKLCHoklch(0.730 0.128 82.3)
Decimal13606715
Display P3color(display-p3 0.812 0.624 0.231)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf9f3b on white: 2.42:1
AA ✗ fail · AA-large · AAA
Aa
#cf9f3b on black: 8.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B39F2E
deuteranopia · #BEAC3F
tritanopia · #E0908A

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cf9f3b 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
#F7F2E8
#F0E4CC
#E9D3A5
#DEBD78
#cf9f3b
#C59430
#A47C28
#836320
#5F491B
#3C2E11
Base = 500Lightest = 50 · #FBF9F4Darkest = 950 · #3C2E11
:root {
  --brand-50: #FBF9F4;
  --brand-100: #F7F2E8;
  --brand-200: #F0E4CC;
  --brand-300: #E9D3A5;
  --brand-400: #DEBD78;
  --brand-500: #cf9f3b;
  --brand-600: #C59430;
  --brand-700: #A47C28;
  --brand-800: #836320;
  --brand-900: #5F491B;
  --brand-950: #3C2E11;
  --brand: #cf9f3b;
  --brand-ink: #000000;
}

Colors that work with #cf9f3b

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#FAF8F4
Tinted page background
Border#EDDEC0
Hairlines and dividers
Muted text#9B814B
Captions on the surface
Accent#3691D4
Second voice, not a rival
Dark variant#664D19
Hover, pressed, headers
Light variant#FAF5EB
Selected rows, tints
Dark surface#241F14
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 #cf9f3b

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#3B6BCF
Analogous left#CF553B
Analogous right#B5CF3B
Split-complement 1#3BB5CF
Split-complement 2#553BCF
Triadic 1#3BCF9F
Triadic 2#9F3BCF
Tetradic#3BCF55

RGB percentages

Red81.2%
Green62.4%
Blue23.1%

CMYK percentages

Cyan0.0%
Magenta23.2%
Yellow71.5%
Key (black)18.8%

Color previews

#cf9f3b text on a black background

contrast 8.68:1

Card sample

#cf9f3b text on a white background

contrast 2.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 159, 59, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 159, 59, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cf9f3b;
background: linear-gradient(135deg, #cf9f3b, #9DCF3B);

Monochromatic scale

Palettes built from #cf9f3b

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.

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

#cf9f3b, answered

What color is #cf9f3b?

#cf9f3b is a balanced vivid yellow, closest to Goldenrod (ΔE2000 3.8). It sits at 41° on the hue wheel with 61% saturation and 52% lightness, which reads as warm.

What is the RGB value of #cf9f3b?

rgb(207, 159, 59) — 207 red, 159 green and 59 blue out of 255, or 81.2% / 62.4% / 23.1% by channel.

Is #cf9f3b a light or a dark color?

It is a mid-tone. Relative luminance is 0.3838 and perceived brightness is 66%, so black text on it reaches 8.68:1.

Should I use black or white text on #cf9f3b?

Black. It scores 8.68:1 against #cf9f3b, versus 2.42:1 for white — AAA at any size.

What is the complementary color of #cf9f3b?

#3B6BCF sits directly opposite on the wheel. Softer options are the split-complements #3BB5CF and #553BCF, which give the same contrast with far less vibration.

What colors go well with #cf9f3b?

For interface work: #FAF8F4 as the surface, #EDDEC0 for borders, #9B814B for secondary text, #3691D4 as an accent and #664D19 for hover and pressed states. For a palette, the analogous pair #CF553B and #B5CF3B stays calm, while #3B6BCF is the loudest partner.

What is #cf9f3b in CMYK for printing?

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

Is #cf9f3b warm or cool?

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

Work with #cf9f3b in the Color Lab