Skip to content

#BFAF4F Color

#BFAF4F is rgb(191, 175, 79) in RGB, hsl(51, 47%, 53%) in HSL, and about cmyk(0%, 8%, 59%, 25%) in CMYK. It has no registered color name of its own — the closest is Vegas Gold (#C5B358), very hard to tell apart at ΔE 2.9. Black text is the more readable choice on this background.

#BFAF4F
HEX#BFAF4F
RGBrgb(191, 175, 79)
HSLhsl(51, 47%, 53%)
HSVhsv(51, 59%, 75%)
CMYKcmyk(0%, 8%, 59%, 25%)
OKLCHoklch(74.9% 0.118 99.9)
LABlab(71.42% -2.83 50.22)
LCHlch(71.42% 50.30 93.22)

What #BFAF4F 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 #BFAF4F, 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.

#BFAF4F Channel Values

How #BFAF4F 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 191 · G 175 · B 798-bit channels as sent to the display
HSLH 51° · S 47% · L 53%Easiest model for building lighter and darker variants
HSVH 51° · S 59% · V 75%Matches the picker in most design tools
CMYKC 0% · M 8% · Y 59% · K 25%Approximate ink mix; confirm with an ICC profile before printing
Luminance2.22:1 vs white · 9.46:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #BFAF4F 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 text2.22:1AA normal AA large AAA normal
TextBlack text9.46:1AA normal AA large AAA normal

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

Colors That Go With #BFAF4F

Pairings derived from color-wheel relationships. The complementary color sits opposite #BFAF4F; 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 #BFAF4F

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

How #BFAF4F 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#BFAF4F
Protanopia#B2B24F
Protanomaly#B7B14F
Deuteranopia#B4B44E
Deuteranomaly#B9B24E
Tritanopia#C6A7A7
Tritanomaly#C3AA8C
Achromatopsia#AEAEAE

Test a full palette in the color blindness simulator.

Using #BFAF4F in Code

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

CSS custom property--color-bfaf4f: #BFAF4F;
CSS backgroundbackground-color: #BFAF4F;
Tailwind configcolors: { 'color-bfaf4f': '#BFAF4F' }
SwiftUIColor(red: 0.749, green: 0.686, blue: 0.310)
Android XML<color name="color_bfaf4f">#BFAF4F</color>
SVG fillfill="#BFAF4F"

More Yellow Colors

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

#BFAF4F Frequently Asked Questions

What color is #BFAF4F?

#BFAF4F is a mid-tone yellow — rgb(191, 175, 79) in RGB and hsl(51, 47%, 53%) in HSL. It carries no registered color name of its own; the closest named color is Vegas Gold (#C5B358), which is very hard to tell apart at a CIE76 distance of 2.9.

What is the RGB value of #BFAF4F?

#BFAF4F is rgb(191, 175, 79) — red 191, green 175, and blue 79 on the 0-255 scale.

What is the CMYK value of #BFAF4F?

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

Should text on #BFAF4F be black or white?

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

Can I write #BFAF4F as a CSS color keyword?

No. #BFAF4F 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 darkkhaki (#BDB76B) at a CIE76 distance of 11.56, which is visibly different.

Open #BFAF4F in a Tool

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