Skip to content

#9b8331

a dark, vivid yellow · warm · closest name: Dark Goldenrod

RGB
155, 131, 49
HSL
46°, 52%, 40%
CMYK
0, 16, 68, 39
Luminance
0.2342

At a glance

Every number on this page in one read: what #9b8331 is made of, how bright it looks, and which way it leans.

Hex
#9b8331
Hue
46°
yellow
Saturation
52%
vivid
Lightness
40%
dark
Brightness
61%
HSV value
Perceived
52%
weighted brightness
Luminance
0.2342
WCAG relative
Temperature
Warm
14/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
5.68:1
Closest name
Dark Goldenrod
ΔE2000 8.5
Where it sits
Hue46° of 360°
Saturation52%
Lightness40%
Temperature
Warm ← → Cool14% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#9b8331
RGBrgb(155, 131, 49)
HSLhsl(46, 52%, 40%)
CMYKcmyk(0%, 16%, 68%, 39%)
LABlab(55.5 -0.3 46.1)
LCHlch(55.5 46.1 90.4)
OKLCHoklch(0.616 0.104 92.6)
Decimal10191665
Display P3color(display-p3 0.608 0.514 0.192)

Copy-ready code

/* CSS */
color: #9b8331;
background-color: #9b8331;
/* Tailwind (arbitrary) */
class="text-[#9b8331] bg-[#9b8331]"
/* SCSS */
$brand: #9b8331;
/* SwiftUI */
Color(red: 0.608, green: 0.514, blue: 0.192)
/* Android */
Color.parseColor("#9b8331")
/* Flutter */
Color(0xFF9B8331)
/* Python / OpenCV (BGR) */
(49, 131, 155)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #9b8331 · 5.68:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.69:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.68:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #9b8331 as text scores 3.69:1 on white and 5.68:1 on black.

Accessibility — WCAG contrast

Aa
#9b8331 on white: 3.69:1
AA ✗ fail · AA-large · AAA
Aa
#9b8331 on black: 5.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #918127
deuteranopia · #978835
tritanopia · #A77972

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #9b8331 is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FAF9F4
#F6F3E9
#EDE6CF
#E4D7AA
#D7C37F
#C9AF54
#BA9D3B
#9b8331
#7C6927
#5A4D20
#393014
Base = 700Lightest = 50 · #FAF9F4Darkest = 950 · #393014
:root {
  --brand-50: #FAF9F4;
  --brand-100: #F6F3E9;
  --brand-200: #EDE6CF;
  --brand-300: #E4D7AA;
  --brand-400: #D7C37F;
  --brand-500: #C9AF54;
  --brand-600: #BA9D3B;
  --brand-700: #9b8331;
  --brand-800: #7C6927;
  --brand-900: #5A4D20;
  --brand-950: #393014;
  --brand: #9b8331;
  --brand-ink: #000000;
}

Colors that work with #9b8331

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAF9F4
Tinted page background
Border#EBE2C1
Hairlines and dividers
Muted text#9B894B
Captions on the surface
Accent#2D639F
Second voice, not a rival
Dark variant#61521F
Hover, pressed, headers
Light variant#F9F6EC
Selected rows, tints
Dark surface#242114
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #9b8331

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Thin strokes and 1px borders — they disappear on light UI
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#31499B
Analogous left#9B4E31
Analogous right#7E9B31
Split-complement 1#317E9B
Split-complement 2#4E319B
Triadic 1#319B83
Triadic 2#83319B
Tetradic#319B4E

RGB percentages

Red60.8%
Green51.4%
Blue19.2%

CMYK percentages

Cyan0.0%
Magenta15.5%
Yellow68.4%
Key (black)39.2%

Color previews

#9b8331 text on a black background

contrast 5.68:1

Card sample

#9b8331 text on a white background

contrast 3.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #9b8331;
Background color
Panel with #9b8331 background
background-color: #9b8331;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #9b8331;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(155, 131, 49, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(155, 131, 49, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9b8331;
background: linear-gradient(135deg, #9b8331, #6C9B31);

Monochromatic scale

Palettes built from #9b8331

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#9b8331 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
RetailLeisureEnergyWarning systems
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#9b8331, answered

What color is #9b8331?

#9b8331 is a dark vivid yellow, closest to Dark Goldenrod (ΔE2000 8.5). It sits at 46° on the hue wheel with 52% saturation and 40% lightness, which reads as warm.

What is the RGB value of #9b8331?

rgb(155, 131, 49) — 155 red, 131 green and 49 blue out of 255, or 60.8% / 51.4% / 19.2% by channel.

Is #9b8331 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2342 and perceived brightness is 52%, so black text on it reaches 5.68:1.

Should I use black or white text on #9b8331?

Black. It scores 5.68:1 against #9b8331, versus 3.69:1 for white — AA at any size.

What is the complementary color of #9b8331?

#31499B sits directly opposite on the wheel. Softer options are the split-complements #317E9B and #4E319B, which give the same contrast with far less vibration.

What colors go well with #9b8331?

For interface work: #FAF9F4 as the surface, #EBE2C1 for borders, #9B894B for secondary text, #2D639F as an accent and #61521F for hover and pressed states. For a palette, the analogous pair #9B4E31 and #7E9B31 stays calm, while #31499B is the loudest partner.

What is #9b8331 in CMYK for printing?

cmyk(0%, 16%, 68%, 39%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #9b8331 warm or cool?

Warm — it scores 14 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #9B6A31; nudged cooler, #8E9D2F.

Work with #9b8331 in the Color Lab