Skip to content

#b08c01

a dark, electric yellow · warm · closest name: Dark Goldenrod

RGB
176, 140, 1
HSL
48°, 99%, 35%
CMYK
0, 21, 99, 31
Luminance
0.2799

At a glance

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

Hex
#b08c01
Hue
48°
yellow
Saturation
99%
electric
Lightness
35%
dark
Brightness
69%
HSV value
Perceived
57%
weighted brightness
Luminance
0.2799
WCAG relative
Temperature
Warm
15/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
6.60:1
Closest name
Dark Goldenrod
ΔE2000 4.6
Where it sits
Hue48° of 360°
Saturation99%
Lightness35%
Temperature
Warm ← → Cool15% 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#b08c01
RGBrgb(176, 140, 1)
HSLhsl(48, 99%, 35%)
CMYKcmyk(0%, 21%, 99%, 31%)
LABlab(59.9 2.8 64.4)
LCHlch(59.9 64.4 87.5)
OKLCHoklch(0.655 0.134 90.4)
Decimal11570177
Display P3color(display-p3 0.690 0.549 0.004)

Copy-ready code

/* CSS */
color: #b08c01;
background-color: #b08c01;
/* Tailwind (arbitrary) */
class="text-[#b08c01] bg-[#b08c01]"
/* SCSS */
$brand: #b08c01;
/* SwiftUI */
Color(red: 0.690, green: 0.549, blue: 0.004)
/* Android */
Color.parseColor("#b08c01")
/* Flutter */
Color(0xFFB08C01)
/* Python / OpenCV (BGR) */
(1, 140, 176)

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

Accessibility — WCAG contrast

Aa
#b08c01 on white: 3.18:1
AA ✗ fail · AA-large · AAA
Aa
#b08c01 on black: 6.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9E8A00
deuteranopia · #A79413
tritanopia · #C07E77

Color scale — 50 to 950

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

#FEFBF1
#FCF7E3
#FBEFC0
#FEE88F
#FEDC58
#FED020
#F3C201
#CBA201
#b08c01
#755E06
#493B03
Base = 800Lightest = 50 · #FEFBF1Darkest = 950 · #493B03
:root {
  --brand-50: #FEFBF1;
  --brand-100: #FCF7E3;
  --brand-200: #FBEFC0;
  --brand-300: #FEE88F;
  --brand-400: #FEDC58;
  --brand-500: #FED020;
  --brand-600: #F3C201;
  --brand-700: #CBA201;
  --brand-800: #b08c01;
  --brand-900: #755E06;
  --brand-950: #493B03;
  --brand: #b08c01;
  --brand-ink: #000000;
}

Colors that work with #b08c01

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#EDE3C0
Hairlines and dividers
Muted text#9B8A4B
Captions on the surface
Accent#0051B1
Second voice, not a rival
Dark variant#7F6501
Hover, pressed, headers
Light variant#FFFAE6
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 #b08c01

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • 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
  • Small text on white — under 4.5:1
  • 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#0125B0
Analogous left#B03501
Analogous right#7CB001
Split-complement 1#017CB0
Split-complement 2#3501B0
Triadic 1#01B08C
Triadic 2#8C01B0
Tetradic#01B035

RGB percentages

Red69.0%
Green54.9%
Blue0.4%

CMYK percentages

Cyan0.0%
Magenta20.5%
Yellow99.4%
Key (black)31.0%

Color previews

#b08c01 text on a black background

contrast 6.60:1

Card sample

#b08c01 text on a white background

contrast 3.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(176, 140, 1, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(176, 140, 1, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b08c01;
background: linear-gradient(135deg, #b08c01, #5FB001);

Monochromatic scale

Palettes built from #b08c01

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.

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

#b08c01, answered

What color is #b08c01?

#b08c01 is a dark electric yellow, closest to Dark Goldenrod (ΔE2000 4.6). It sits at 48° on the hue wheel with 99% saturation and 35% lightness, which reads as warm.

What is the RGB value of #b08c01?

rgb(176, 140, 1) — 176 red, 140 green and 1 blue out of 255, or 69% / 54.9% / 0.4% by channel.

Is #b08c01 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2799 and perceived brightness is 57%, so black text on it reaches 6.60:1.

Should I use black or white text on #b08c01?

Black. It scores 6.60:1 against #b08c01, versus 3.18:1 for white — AA at any size.

What is the complementary color of #b08c01?

#0125B0 sits directly opposite on the wheel. Softer options are the split-complements #017CB0 and #3501B0, which give the same contrast with far less vibration.

What colors go well with #b08c01?

For interface work: #FAF9F4 as the surface, #EDE3C0 for borders, #9B8A4B for secondary text, #0051B1 as an accent and #7F6501 for hover and pressed states. For a palette, the analogous pair #B03501 and #7CB001 stays calm, while #0125B0 is the loudest partner.

What is #b08c01 in CMYK for printing?

cmyk(0%, 21%, 99%, 31%). 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 #b08c01 warm or cool?

Warm — it scores 15 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B06701; nudged cooler, #94B100.

Work with #b08c01 in the Color Lab