Skip to content

#9B8A2C Color

#9B8A2C is rgb(155, 138, 44) in RGB, hsl(51, 56%, 39%) in HSL, and about cmyk(0%, 11%, 72%, 39%) in CMYK. It has no registered color name of its own — the closest is Brass (#B5A642), visibly different at ΔE 10.63. Black text is the more readable choice on this background.

#9B8A2C
HEX#9B8A2C
RGBrgb(155, 138, 44)
HSLhsl(51, 56%, 39%)
HSVhsv(51, 72%, 61%)
CMYKcmyk(0%, 11%, 72%, 39%)
OKLCHoklch(63.1% 0.113 98.8)
LABlab(57.72% -1.32 50.03)
LCHlch(57.72% 50.04 91.51)

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

#9B8A2C Channel Values

How #9B8A2C 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 155 · G 138 · B 448-bit channels as sent to the display
HSLH 51° · S 56% · L 39%Easiest model for building lighter and darker variants
HSVH 51° · S 72% · V 61%Matches the picker in most design tools
CMYKC 0% · M 11% · Y 72% · K 39%Approximate ink mix; confirm with an ICC profile before printing
Luminance3.46:1 vs white · 6.07:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #9B8A2C 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.46:1AA normal AA large AAA normal
TextBlack text6.07:1AA normal AA large AAA normal

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

Colors That Go With #9B8A2C

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

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 #9B8A2C.

How #9B8A2C 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#9B8A2C
Protanopia#8D8D2C
Protanomaly#938C2C
Deuteranopia#90902A
Deuteranomaly#948E2B
Tritanopia#A18383
Tritanomaly#9F866A
Achromatopsia#8A8A8A

Test a full palette in the color blindness simulator.

Using #9B8A2C in Code

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

CSS custom property--color-9b8a2c: #9B8A2C;
CSS backgroundbackground-color: #9B8A2C;
Tailwind configcolors: { 'color-9b8a2c': '#9B8A2C' }
SwiftUIColor(red: 0.608, green: 0.541, blue: 0.173)
Android XML<color name="color_9b8a2c">#9B8A2C</color>
SVG fillfill="#9B8A2C"

More Yellow Colors

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

#9B8A2C Frequently Asked Questions

What color is #9B8A2C?

#9B8A2C is a dark yellow — rgb(155, 138, 44) in RGB and hsl(51, 56%, 39%) in HSL. It carries no registered color name of its own; the closest named color is Brass (#B5A642), which is visibly different at a CIE76 distance of 10.63.

What is the RGB value of #9B8A2C?

#9B8A2C is rgb(155, 138, 44) — red 155, green 138, and blue 44 on the 0-255 scale.

What is the CMYK value of #9B8A2C?

#9B8A2C converts to approximately cmyk(0%, 11%, 72%, 39%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #9B8A2C be black or white?

Black text is the more readable choice. #9B8A2C scores 3.46:1 against white and 6.07:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #9B8A2C as a CSS color keyword?

No. #9B8A2C 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 11.54, which is visibly different.

Open #9B8A2C in a Tool

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