Skip to content

#BBB42A Color

#BBB42A is rgb(187, 180, 42) in RGB, hsl(57, 63%, 45%) in HSL, and about cmyk(0%, 4%, 78%, 27%) 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 9.26. Black text is the more readable choice on this background.

#BBB42A
HEX#BBB42A
RGBrgb(187, 180, 42)
HSLhsl(57, 63%, 45%)
HSVhsv(57, 78%, 73%)
CMYKcmyk(0%, 4%, 78%, 27%)
OKLCHoklch(75.3% 0.149 106.4)
LABlab(72.17% -8.47 65.09)
LCHlch(72.17% 65.64 97.41)

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

#BBB42A Channel Values

How #BBB42A 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 187 · G 180 · B 428-bit channels as sent to the display
HSLH 57° · S 63% · L 45%Easiest model for building lighter and darker variants
HSVH 57° · S 78% · V 73%Matches the picker in most design tools
CMYKC 0% · M 4% · Y 78% · K 27%Approximate ink mix; confirm with an ICC profile before printing
Luminance2.17:1 vs white · 9.67:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

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

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

Colors That Go With #BBB42A

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

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

How #BBB42A 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#BBB42A
Protanopia#B5B52A
Protanomaly#B8B52A
Deuteranopia#B6B629
Deuteranomaly#B8B529
Tritanopia#C4AAAA
Tritanomaly#C0AE89
Achromatopsia#B0B0B0

Test a full palette in the color blindness simulator.

Using #BBB42A in Code

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

CSS custom property--color-bbb42a: #BBB42A;
CSS backgroundbackground-color: #BBB42A;
Tailwind configcolors: { 'color-bbb42a': '#BBB42A' }
SwiftUIColor(red: 0.733, green: 0.706, blue: 0.165)
Android XML<color name="color_bbb42a">#BBB42A</color>
SVG fillfill="#BBB42A"

More Yellow Colors

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

#BBB42A Frequently Asked Questions

What color is #BBB42A?

#BBB42A is a mid-tone yellow — rgb(187, 180, 42) in RGB and hsl(57, 63%, 45%) 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 9.26.

What is the RGB value of #BBB42A?

#BBB42A is rgb(187, 180, 42) — red 187, green 180, and blue 42 on the 0-255 scale.

What is the CMYK value of #BBB42A?

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

Should text on #BBB42A be black or white?

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

Can I write #BBB42A as a CSS color keyword?

No. #BBB42A 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 goldenrod (#DAA520) at a CIE76 distance of 21.01, which is visibly different.

Open #BBB42A in a Tool

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