Skip to content

#897921

a dark, vivid yellow · warm · closest name: Olive

RGB
137, 121, 33
HSL
51°, 61%, 33%
CMYK
0, 12, 76, 46
Luminance
0.1910

At a glance

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

Hex
#897921
Hue
51°
yellow
Saturation
61%
vivid
Lightness
33%
dark
Brightness
54%
HSV value
Perceived
47%
weighted brightness
Luminance
0.1910
WCAG relative
Temperature
Warm
17/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
4.82:1
Closest name
Olive
ΔE2000 5.8
Where it sits
Hue51° of 360°
Saturation61%
Lightness33%
Temperature
Warm ← → Cool17% 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#897921
RGBrgb(137, 121, 33)
HSLhsl(51, 61%, 33%)
CMYKcmyk(0%, 12%, 76%, 46%)
LABlab(50.8 -3.9 47.6)
LCHlch(50.8 47.7 94.7)
OKLCHoklch(0.575 0.106 98.5)
Decimal9009441
Display P3color(display-p3 0.537 0.475 0.129)

Copy-ready code

/* CSS */
color: #897921;
background-color: #897921;
/* Tailwind (arbitrary) */
class="text-[#897921] bg-[#897921]"
/* SCSS */
$brand: #897921;
/* SwiftUI */
Color(red: 0.537, green: 0.475, blue: 0.129)
/* Android */
Color.parseColor("#897921")
/* Flutter */
Color(0xFF897921)
/* Python / OpenCV (BGR) */
(33, 121, 137)

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

Accessibility — WCAG contrast

Aa
#897921 on white: 4.36:1
AA ✗ fail · AA-large · AAA
Aa
#897921 on black: 4.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #857612
deuteranopia · #8A7B27
tritanopia · #947068

Color scale — 50 to 950

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

#FBFAF4
#F7F5E8
#F0EACC
#E9DFA5
#DECF77
#D3BE4A
#C5AE2F
#A49128
#897921
#60551B
#3C3511
Base = 800Lightest = 50 · #FBFAF4Darkest = 950 · #3C3511
:root {
  --brand-50: #FBFAF4;
  --brand-100: #F7F5E8;
  --brand-200: #F0EACC;
  --brand-300: #E9DFA5;
  --brand-400: #DECF77;
  --brand-500: #D3BE4A;
  --brand-600: #C5AE2F;
  --brand-700: #A49128;
  --brand-800: #897921;
  --brand-900: #60551B;
  --brand-950: #3C3511;
  --brand: #897921;
  --brand-ink: #000000;
}

Colors that work with #897921

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#EDE6C0
Hairlines and dividers
Muted text#9B8F4B
Captions on the surface
Accent#1E4A8C
Second voice, not a rival
Dark variant#675B19
Hover, pressed, headers
Light variant#FAF8EA
Selected rows, tints
Dark surface#242214
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 #897921

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#213189
Analogous left#894521
Analogous right#658921
Split-complement 1#216589
Split-complement 2#452189
Triadic 1#218979
Triadic 2#792189
Tetradic#218945

RGB percentages

Red53.7%
Green47.5%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta11.7%
Yellow75.9%
Key (black)46.3%

Color previews

#897921 text on a black background

contrast 4.82:1

Card sample

#897921 text on a white background

contrast 4.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(137, 121, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(137, 121, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #897921;
background: linear-gradient(135deg, #897921, #548921);

Monochromatic scale

Palettes built from #897921

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.

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

#897921, answered

What color is #897921?

#897921 is a dark vivid yellow, closest to Olive (ΔE2000 5.8). It sits at 51° on the hue wheel with 61% saturation and 33% lightness, which reads as warm.

What is the RGB value of #897921?

rgb(137, 121, 33) — 137 red, 121 green and 33 blue out of 255, or 53.7% / 47.5% / 12.9% by channel.

Is #897921 a light or a dark color?

It is a mid-tone. Relative luminance is 0.1910 and perceived brightness is 47%, so black text on it reaches 4.82:1.

Should I use black or white text on #897921?

Black. It scores 4.82:1 against #897921, versus 4.36:1 for white — AA at any size.

What is the complementary color of #897921?

#213189 sits directly opposite on the wheel. Softer options are the split-complements #216589 and #452189, which give the same contrast with far less vibration.

What colors go well with #897921?

For interface work: #FAF9F4 as the surface, #EDE6C0 for borders, #9B8F4B for secondary text, #1E4A8C as an accent and #675B19 for hover and pressed states. For a palette, the analogous pair #894521 and #658921 stays calm, while #213189 is the loudest partner.

What is #897921 in CMYK for printing?

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

Is #897921 warm or cool?

Warm — it scores 17 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #895B21; nudged cooler, #748B1F.

Work with #897921 in the Color Lab