Skip to content

#997821

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

RGB
153, 120, 33
HSL
44°, 65%, 37%
CMYK
0, 22, 78, 40
Luminance
0.2032

At a glance

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

Hex
#997821
Hue
44°
yellow
Saturation
65%
vivid
Lightness
37%
dark
Brightness
60%
HSV value
Perceived
49%
weighted brightness
Luminance
0.2032
WCAG relative
Temperature
Warm
11/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
5.06:1
Closest name
Dark Goldenrod
ΔE2000 8.1
Where it sits
Hue44° of 360°
Saturation65%
Lightness37%
Temperature
Warm ← → Cool11% 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#997821
RGBrgb(153, 120, 33)
HSLhsl(44, 65%, 37%)
CMYKcmyk(0%, 22%, 78%, 40%)
LABlab(52.2 4.1 49.5)
LCHlch(52.2 49.6 85.3)
OKLCHoklch(0.589 0.108 86.7)
Decimal10057761
Display P3color(display-p3 0.600 0.471 0.129)

Copy-ready code

/* CSS */
color: #997821;
background-color: #997821;
/* Tailwind (arbitrary) */
class="text-[#997821] bg-[#997821]"
/* SCSS */
$brand: #997821;
/* SwiftUI */
Color(red: 0.600, green: 0.471, blue: 0.129)
/* Android */
Color.parseColor("#997821")
/* Flutter */
Color(0xFF997821)
/* Python / OpenCV (BGR) */
(33, 120, 153)

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

Accessibility — WCAG contrast

Aa
#997821 on white: 4.15:1
AA ✗ fail · AA-large · AAA
Aa
#997821 on black: 5.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #877711
deuteranopia · #8F8026
tritanopia · #A66D67

Color scale — 50 to 950

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

#FBF9F4
#F7F3E8
#F1E6CB
#EBD7A3
#E1C375
#D7AF46
#C99E2B
#997821
#86691D
#624E19
#3D3010
Base = 700Lightest = 50 · #FBF9F4Darkest = 950 · #3D3010
:root {
  --brand-50: #FBF9F4;
  --brand-100: #F7F3E8;
  --brand-200: #F1E6CB;
  --brand-300: #EBD7A3;
  --brand-400: #E1C375;
  --brand-500: #D7AF46;
  --brand-600: #C99E2B;
  --brand-700: #997821;
  --brand-800: #86691D;
  --brand-900: #624E19;
  --brand-950: #3D3010;
  --brand: #997821;
  --brand-ink: #000000;
}

Colors that work with #997821

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#EDE0C0
Hairlines and dividers
Muted text#9B854B
Captions on the surface
Accent#1D609D
Second voice, not a rival
Dark variant#695217
Hover, pressed, headers
Light variant#FAF6EA
Selected rows, tints
Dark surface#242014
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 #997821

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#214299
Analogous left#993C21
Analogous right#7E9921
Split-complement 1#217E99
Split-complement 2#3C2199
Triadic 1#219978
Triadic 2#782199
Tetradic#21993C

RGB percentages

Red60.0%
Green47.1%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta21.6%
Yellow78.4%
Key (black)40.0%

Color previews

#997821 text on a black background

contrast 5.06:1

Card sample

#997821 text on a white background

contrast 4.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(153, 120, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(153, 120, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #997821;
background: linear-gradient(135deg, #997821, #6A9921);

Monochromatic scale

Palettes built from #997821

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.

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

#997821, answered

What color is #997821?

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

What is the RGB value of #997821?

rgb(153, 120, 33) — 153 red, 120 green and 33 blue out of 255, or 60% / 47.1% / 12.9% by channel.

Is #997821 a light or a dark color?

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

Should I use black or white text on #997821?

Black. It scores 5.06:1 against #997821, versus 4.15:1 for white — AA at any size.

What is the complementary color of #997821?

#214299 sits directly opposite on the wheel. Softer options are the split-complements #217E99 and #3C2199, which give the same contrast with far less vibration.

What colors go well with #997821?

For interface work: #FAF9F4 as the surface, #EDE0C0 for borders, #9B854B for secondary text, #1D609D as an accent and #695217 for hover and pressed states. For a palette, the analogous pair #993C21 and #7E9921 stays calm, while #214299 is the loudest partner.

What is #997821 in CMYK for printing?

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

Is #997821 warm or cool?

Warm — it scores 11 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #996021; nudged cooler, #909B1F.

Work with #997821 in the Color Lab