Skip to content

#cfbe0d

a dark, electric yellow · warm · closest name: Gold

RGB
207, 190, 13
HSL
55°, 88%, 43%
CMYK
0, 8, 94, 19
Luminance
0.5012

At a glance

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

Hex
#cfbe0d
Hue
55°
yellow
Saturation
88%
electric
Lightness
43%
dark
Brightness
81%
HSV value
Perceived
72%
weighted brightness
Luminance
0.5012
WCAG relative
Temperature
Warm
21/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
11.02:1
Closest name
Gold
ΔE2000 9
Where it sits
Hue55° of 360°
Saturation88%
Lightness43%
Temperature
Warm ← → Cool21% 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#cfbe0d
RGBrgb(207, 190, 13)
HSLhsl(55, 88%, 43%)
CMYKcmyk(0%, 8%, 94%, 19%)
LABlab(76.1 -9.7 76.1)
LCHlch(76.1 76.7 97.3)
OKLCHoklch(0.791 0.164 102.9)
Decimal13614605
Display P3color(display-p3 0.812 0.745 0.051)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfbe0d on white: 1.90:1
AA ✗ fail · AA-large · AAA
Aa
#cfbe0d on black: 11.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D1B800
deuteranopia · #D6BF25
tritanopia · #E0AFA2

Color scale — 50 to 950

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

#FDFCF2
#FAF9E5
#F8F3C4
#F8F095
#F5E861
#F2E02C
#E6D30E
#cfbe0d
#9A8D0A
#6F660C
#454007
Base = 700Lightest = 50 · #FDFCF2Darkest = 950 · #454007
:root {
  --brand-50: #FDFCF2;
  --brand-100: #FAF9E5;
  --brand-200: #F8F3C4;
  --brand-300: #F8F095;
  --brand-400: #F5E861;
  --brand-500: #F2E02C;
  --brand-600: #E6D30E;
  --brand-700: #cfbe0d;
  --brand-800: #9A8D0A;
  --brand-900: #6F660C;
  --brand-950: #454007;
  --brand: #cfbe0d;
  --brand-ink: #000000;
}

Colors that work with #cfbe0d

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#EDE9C0
Hairlines and dividers
Muted text#9B944B
Captions on the surface
Accent#094DD3
Second voice, not a rival
Dark variant#786E08
Hover, pressed, headers
Light variant#FDFCE7
Selected rows, tints
Dark surface#242314
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 #cfbe0d

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
  • Headers, footers and dark-mode surfaces
  • 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
  • Black text placed on it
  • 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#0D1ECF
Analogous left#CF5D0D
Analogous right#7FCF0D
Split-complement 1#0D7FCF
Split-complement 2#5D0DCF
Triadic 1#0DCFBE
Triadic 2#BE0DCF
Tetradic#0DCF5D

RGB percentages

Red81.2%
Green74.5%
Blue5.1%

CMYK percentages

Cyan0.0%
Magenta8.2%
Yellow93.7%
Key (black)18.8%

Color previews

#cfbe0d text on a black background

contrast 11.02:1

Card sample

#cfbe0d text on a white background

contrast 1.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 190, 13, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 190, 13, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfbe0d;
background: linear-gradient(135deg, #cfbe0d, #5FCF0D);

Monochromatic scale

Palettes built from #cfbe0d

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.

#cfbe0d 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#cfbe0d, answered

What color is #cfbe0d?

#cfbe0d is a dark electric yellow, closest to Gold (ΔE2000 9). It sits at 55° on the hue wheel with 88% saturation and 43% lightness, which reads as warm.

What is the RGB value of #cfbe0d?

rgb(207, 190, 13) — 207 red, 190 green and 13 blue out of 255, or 81.2% / 74.5% / 5.1% by channel.

Is #cfbe0d a light or a dark color?

It is a light color. Relative luminance is 0.5012 and perceived brightness is 72%, so black text on it reaches 11.02:1.

Should I use black or white text on #cfbe0d?

Black. It scores 11.02:1 against #cfbe0d, versus 1.90:1 for white — AAA at any size.

What is the complementary color of #cfbe0d?

#0D1ECF sits directly opposite on the wheel. Softer options are the split-complements #0D7FCF and #5D0DCF, which give the same contrast with far less vibration.

What colors go well with #cfbe0d?

For interface work: #FAFAF4 as the surface, #EDE9C0 for borders, #9B944B for secondary text, #094DD3 as an accent and #786E08 for hover and pressed states. For a palette, the analogous pair #CF5D0D and #7FCF0D stays calm, while #0D1ECF is the loudest partner.

What is #cfbe0d in CMYK for printing?

cmyk(0%, 8%, 94%, 19%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #cfbe0d warm or cool?

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

Work with #cfbe0d in the Color Lab