Skip to content

#9a7621

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

RGB
154, 118, 33
HSL
42°, 65%, 37%
CMYK
0, 23, 79, 40
Luminance
0.1994

At a glance

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

Hex
#9a7621
Hue
42°
yellow
Saturation
65%
vivid
Lightness
37%
dark
Brightness
60%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1994
WCAG relative
Temperature
Warm
10/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
4.99:1
Closest name
Dark Goldenrod
ΔE2000 8.2
Where it sits
Hue42° of 360°
Saturation65%
Lightness37%
Temperature
Warm ← → Cool10% 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#9a7621
RGBrgb(154, 118, 33)
HSLhsl(42, 65%, 37%)
CMYKcmyk(0%, 23%, 79%, 40%)
LABlab(51.8 5.7 49.1)
LCHlch(51.8 49.4 83.4)
OKLCHoklch(0.586 0.108 84.3)
Decimal10122785
Display P3color(display-p3 0.604 0.463 0.129)

Copy-ready code

/* CSS */
color: #9a7621;
background-color: #9a7621;
/* Tailwind (arbitrary) */
class="text-[#9a7621] bg-[#9a7621]"
/* SCSS */
$brand: #9a7621;
/* SwiftUI */
Color(red: 0.604, green: 0.463, blue: 0.129)
/* Android */
Color.parseColor("#9a7621")
/* Flutter */
Color(0xFF9A7621)
/* Python / OpenCV (BGR) */
(33, 118, 154)

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 #9a7621 · 4.99:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.21:1
AA fail · AA large pass · AAA fail
Aa
Black text · 4.99:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #9a7621 as text scores 4.21:1 on white and 4.99:1 on black.

Accessibility — WCAG contrast

Aa
#9a7621 on white: 4.21:1
AA ✗ fail · AA-large · AAA
Aa
#9a7621 on black: 4.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #867612
deuteranopia · #8E7F25
tritanopia · #A86A65

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #9a7621 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.

#FBF9F3
#F7F3E8
#F1E5CB
#EBD6A3
#E1C174
#D7AC46
#CA9A2B
#9a7621
#86671D
#624C19
#3D2F0F
Base = 700Lightest = 50 · #FBF9F3Darkest = 950 · #3D2F0F
:root {
  --brand-50: #FBF9F3;
  --brand-100: #F7F3E8;
  --brand-200: #F1E5CB;
  --brand-300: #EBD6A3;
  --brand-400: #E1C174;
  --brand-500: #D7AC46;
  --brand-600: #CA9A2B;
  --brand-700: #9a7621;
  --brand-800: #86671D;
  --brand-900: #624C19;
  --brand-950: #3D2F0F;
  --brand: #9a7621;
  --brand-ink: #000000;
}

Colors that work with #9a7621

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#EDDFC0
Hairlines and dividers
Muted text#9B834B
Captions on the surface
Accent#1D649E
Second voice, not a rival
Dark variant#695017
Hover, pressed, headers
Light variant#FAF6EA
Selected rows, tints
Dark surface#241F14
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 #9a7621

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#21459A
Analogous left#9A3921
Analogous right#829A21
Split-complement 1#21829A
Split-complement 2#39219A
Triadic 1#219A76
Triadic 2#76219A
Tetradic#219A39

RGB percentages

Red60.4%
Green46.3%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta23.4%
Yellow78.6%
Key (black)39.6%

Color previews

#9a7621 text on a black background

contrast 4.99:1

Card sample

#9a7621 text on a white background

contrast 4.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(154, 118, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(154, 118, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9a7621;
background: linear-gradient(135deg, #9a7621, #6E9A21);

Monochromatic scale

Palettes built from #9a7621

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.

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

#9a7621, answered

What color is #9a7621?

#9a7621 is a dark vivid yellow, closest to Dark Goldenrod (ΔE2000 8.2). It sits at 42° on the hue wheel with 65% saturation and 37% lightness, which reads as warm.

What is the RGB value of #9a7621?

rgb(154, 118, 33) — 154 red, 118 green and 33 blue out of 255, or 60.4% / 46.3% / 12.9% by channel.

Is #9a7621 a light or a dark color?

It is a mid-tone. Relative luminance is 0.1994 and perceived brightness is 49%, so black text on it reaches 4.99:1.

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

Black. It scores 4.99:1 against #9a7621, versus 4.21:1 for white — AA at any size.

What is the complementary color of #9a7621?

#21459A sits directly opposite on the wheel. Softer options are the split-complements #21829A and #39219A, which give the same contrast with far less vibration.

What colors go well with #9a7621?

For interface work: #FAF9F4 as the surface, #EDDFC0 for borders, #9B834B for secondary text, #1D649E as an accent and #695017 for hover and pressed states. For a palette, the analogous pair #9A3921 and #829A21 stays calm, while #21459A is the loudest partner.

What is #9a7621 in CMYK for printing?

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

Is #9a7621 warm or cool?

Warm — it scores 10 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #9A6021; nudged cooler, #939C1F.

Work with #9a7621 in the Color Lab