Skip to content

#B6AF2B Color

#B6AF2B is rgb(182, 175, 43) in RGB, hsl(57, 62%, 44%) in HSL, and about cmyk(0%, 4%, 76%, 29%) in CMYK. It has no registered color name of its own — the closest is Citron (#9FA91F), clearly related but distinguishable side by side at ΔE 8.2. Black text is the more readable choice on this background.

#B6AF2B
HEX#B6AF2B
RGBrgb(182, 175, 43)
HSLhsl(57, 62%, 44%)
HSVhsv(57, 76%, 71%)
CMYKcmyk(0%, 4%, 76%, 29%)
OKLCHoklch(73.7% 0.145 106.3)
LABlab(70.38% -8.15 63.02)
LCHlch(70.38% 63.55 97.37)

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

#B6AF2B Channel Values

How #B6AF2B 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 182 · G 175 · B 438-bit channels as sent to the display
HSLH 57° · S 62% · L 44%Easiest model for building lighter and darker variants
HSVH 57° · S 76% · V 71%Matches the picker in most design tools
CMYKC 0% · M 4% · Y 76% · K 29%Approximate ink mix; confirm with an ICC profile before printing
Luminance2.29:1 vs white · 9.16:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #B6AF2B 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.29:1AA normal AA large AAA normal
TextBlack text9.16:1AA normal AA large AAA normal

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

Colors That Go With #B6AF2B

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

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

How #B6AF2B 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#B6AF2B
Protanopia#B0B02B
Protanomaly#B3B02B
Deuteranopia#B1B12A
Deuteranomaly#B3B02A
Tritanopia#BFA5A5
Tritanomaly#BBA985
Achromatopsia#ABABAB

Test a full palette in the color blindness simulator.

Using #B6AF2B in Code

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

CSS custom property--color-b6af2b: #B6AF2B;
CSS backgroundbackground-color: #B6AF2B;
Tailwind configcolors: { 'color-b6af2b': '#B6AF2B' }
SwiftUIColor(red: 0.714, green: 0.686, blue: 0.169)
Android XML<color name="color_b6af2b">#B6AF2B</color>
SVG fillfill="#B6AF2B"

More Yellow Colors

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

#B6AF2B Frequently Asked Questions

What color is #B6AF2B?

#B6AF2B is a mid-tone yellow — rgb(182, 175, 43) in RGB and hsl(57, 62%, 44%) in HSL. It carries no registered color name of its own; the closest named color is Citron (#9FA91F), which is clearly related but distinguishable side by side at a CIE76 distance of 8.2.

What is the RGB value of #B6AF2B?

#B6AF2B is rgb(182, 175, 43) — red 182, green 175, and blue 43 on the 0-255 scale.

What is the CMYK value of #B6AF2B?

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

Should text on #B6AF2B be black or white?

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

Can I write #B6AF2B as a CSS color keyword?

No. #B6AF2B 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 olive (#808000) at a CIE76 distance of 19.57, which is visibly different.

Open #B6AF2B in a Tool

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