Skip to content

#806d21

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

RGB
128, 109, 33
HSL
48°, 59%, 32%
CMYK
0, 15, 74, 50
Luminance
0.1564

At a glance

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

Hex
#806d21
Hue
48°
yellow
Saturation
59%
vivid
Lightness
32%
dark
Brightness
50%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1564
WCAG relative
Temperature
Warm
15/100 cool
Color family
Yellow
Tone
Vivid
Best ink
White
5.09:1
Closest name
Olive
ΔE2000 9.5
Where it sits
Hue48° of 360°
Saturation59%
Lightness32%
Temperature
Warm ← → Cool15% 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#806d21
RGBrgb(128, 109, 33)
HSLhsl(48, 59%, 32%)
CMYKcmyk(0%, 15%, 74%, 50%)
LABlab(46.5 -1.3 43.0)
LCHlch(46.5 43.1 91.7)
OKLCHoklch(0.538 0.096 94.7)
Decimal8416545
Display P3color(display-p3 0.502 0.427 0.129)

Copy-ready code

/* CSS */
color: #806d21;
background-color: #806d21;
/* Tailwind (arbitrary) */
class="text-[#806d21] bg-[#806d21]"
/* SCSS */
$brand: #806d21;
/* SwiftUI */
Color(red: 0.502, green: 0.427, blue: 0.129)
/* Android */
Color.parseColor("#806d21")
/* Flutter */
Color(0xFF806D21)
/* Python / OpenCV (BGR) */
(33, 109, 128)

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

Accessibility — WCAG contrast

Aa
#806d21 on white: 5.09:1
AA ✓ pass · AA-large · AAA
Aa
#806d21 on black: 4.13:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #796B16
deuteranopia · #7E7125
tritanopia · #8B645E

Color scale — 50 to 950

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

#FBF9F4
#F7F4E9
#EFE8CD
#E8DBA6
#DCC979
#D1B74D
#C3A632
#A28A2A
#806d21
#5E511C
#3B3311
Base = 800Lightest = 50 · #FBF9F4Darkest = 950 · #3B3311
:root {
  --brand-50: #FBF9F4;
  --brand-100: #F7F4E9;
  --brand-200: #EFE8CD;
  --brand-300: #E8DBA6;
  --brand-400: #DCC979;
  --brand-500: #D1B74D;
  --brand-600: #C3A632;
  --brand-700: #A28A2A;
  --brand-800: #806d21;
  --brand-900: #5E511C;
  --brand-950: #3B3311;
  --brand: #806d21;
  --brand-ink: #ffffff;
}

Colors that work with #806d21

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

Text on it#ffffff
White wins here
Surface#FAF9F4
Tinted page background
Border#EDE4C0
Hairlines and dividers
Muted text#9B8B4B
Captions on the surface
Accent#1E4C83
Second voice, not a rival
Dark variant#65561A
Hover, pressed, headers
Light variant#FAF7EB
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 #806d21

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

Works well for
  • Body text and links on white
  • 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
  • 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#213480
Analogous left#803E21
Analogous right#648021
Split-complement 1#216480
Split-complement 2#3E2180
Triadic 1#21806D
Triadic 2#6D2180
Tetradic#21803E

RGB percentages

Red50.2%
Green42.7%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta14.8%
Yellow74.2%
Key (black)49.8%

Color previews

#806d21 text on a black background

contrast 4.13:1

Card sample

#806d21 text on a white background

contrast 5.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(128, 109, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 109, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #806d21;
background: linear-gradient(135deg, #806d21, #548021);

Monochromatic scale

Palettes built from #806d21

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.

#806d21 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.

#806d21, answered

What color is #806d21?

#806d21 is a dark vivid yellow, closest to Olive (ΔE2000 9.5). It sits at 48° on the hue wheel with 59% saturation and 32% lightness, which reads as warm.

What is the RGB value of #806d21?

rgb(128, 109, 33) — 128 red, 109 green and 33 blue out of 255, or 50.2% / 42.7% / 12.9% by channel.

Is #806d21 a light or a dark color?

It is a dark color. Relative luminance is 0.1564 and perceived brightness is 43%, so white text on it reaches 5.09:1.

Should I use black or white text on #806d21?

White. It scores 5.09:1 against #806d21, versus 4.13:1 for black — AA at any size.

What is the complementary color of #806d21?

#213480 sits directly opposite on the wheel. Softer options are the split-complements #216480 and #3E2180, which give the same contrast with far less vibration.

What colors go well with #806d21?

For interface work: #FAF9F4 as the surface, #EDE4C0 for borders, #9B8B4B for secondary text, #1E4C83 as an accent and #65561A for hover and pressed states. For a palette, the analogous pair #803E21 and #648021 stays calm, while #213480 is the loudest partner.

What is #806d21 in CMYK for printing?

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

Is #806d21 warm or cool?

Warm — it scores 15 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #805421; nudged cooler, #71821F.

Work with #806d21 in the Color Lab