Skip to content

#B47F04 Color

#B47F04 is rgb(180, 127, 4) in RGB, hsl(42, 96%, 36%) in HSL, and about cmyk(0%, 29%, 98%, 29%) in CMYK. It has no registered color name of its own — the closest is Dark Goldenrod (#B8860B), very hard to tell apart at ΔE 2.98. Black text is the more readable choice on this background.

#B47F04
HEX#B47F04
RGBrgb(180, 127, 4)
HSLhsl(42, 96%, 36%)
HSVhsv(42, 98%, 71%)
CMYKcmyk(0%, 29%, 98%, 29%)
OKLCHoklch(63.3% 0.131 79)
LABlab(57.44% 14.91 62.01)
LCHlch(57.44% 63.77 76.48)

What #B47F04 Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #B47F04, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

Browse the full index of named colors A-Z or every yellow in the library.

#B47F04 Channel Values

How #B47F04 breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 180 · G 127 · B 48-bit channels as sent to the display
HSLH 42° · S 96% · L 36%Easiest model for building lighter and darker variants
HSVH 42° · S 98% · V 71%Matches the picker in most design tools
CMYKC 0% · M 29% · Y 98% · K 29%Approximate ink mix; confirm with an ICC profile before printing
Luminance3.51:1 vs white · 5.98:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #B47F04 background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

Fails AAWhite text3.51:1AA normal AA large AAA normal
TextBlack text5.98:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #B47F04 in the contrast checker.

Colors That Go With #B47F04

Pairings derived from color-wheel relationships. The complementary color sits opposite #B47F04; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #B47F04

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #B47F04.

How #B47F04 Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#B47F04
Protanopia#8A8A00
Protanomaly#9D8602
Deuteranopia#939300
Deuteranomaly#A18C00
Tritanopia#B97777
Tritanomaly#B77A5E
Achromatopsia#898989

Test a full palette in the color blindness simulator.

Using #B47F04 in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-b47f04: #B47F04;
CSS backgroundbackground-color: #B47F04;
Tailwind configcolors: { 'color-b47f04': '#B47F04' }
SwiftUIColor(red: 0.706, green: 0.498, blue: 0.016)
Android XML<color name="color_b47f04">#B47F04</color>
SVG fillfill="#B47F04"

More Yellow Colors

#B47F04 sits in the yellow family. These are its neighbours across that family's full range, each with its own breakdown.

#B47F04 Frequently Asked Questions

What color is #B47F04?

#B47F04 is a dark yellow — rgb(180, 127, 4) in RGB and hsl(42, 96%, 36%) in HSL. It carries no registered color name of its own; the closest named color is Dark Goldenrod (#B8860B), which is very hard to tell apart at a CIE76 distance of 2.98.

What is the RGB value of #B47F04?

#B47F04 is rgb(180, 127, 4) — red 180, green 127, and blue 4 on the 0-255 scale.

What is the CMYK value of #B47F04?

#B47F04 converts to approximately cmyk(0%, 29%, 98%, 29%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #B47F04 be black or white?

Black text is the more readable choice. #B47F04 scores 3.51:1 against white and 5.98:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #B47F04 as a CSS color keyword?

No. #B47F04 is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is darkgoldenrod (#B8860B) at a CIE76 distance of 2.98, which is very hard to tell apart.

Open #B47F04 in a Tool

Keep exploring: every yellow in the color library, the guide to shades of yellow, or the full color library.