Skip to content

#7d6721

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

RGB
125, 103, 33
HSL
46°, 58%, 31%
CMYK
0, 18, 74, 51
Luminance
0.1417

At a glance

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

Hex
#7d6721
Hue
46°
yellow
Saturation
58%
vivid
Lightness
31%
dark
Brightness
49%
HSV value
Perceived
41%
weighted brightness
Luminance
0.1417
WCAG relative
Temperature
Warm
13/100 cool
Color family
Yellow
Tone
Vivid
Best ink
White
5.48:1
Closest name
Olive
ΔE2000 12
Where it sits
Hue46° of 360°
Saturation58%
Lightness31%
Temperature
Warm ← → Cool13% 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#7d6721
RGBrgb(125, 103, 33)
HSLhsl(46, 58%, 31%)
CMYKcmyk(0%, 18%, 74%, 51%)
LABlab(44.5 0.7 40.9)
LCHlch(44.5 40.9 89.0)
OKLCHoklch(0.522 0.091 91.1)
Decimal8218401
Display P3color(display-p3 0.490 0.404 0.129)

Copy-ready code

/* CSS */
color: #7d6721;
background-color: #7d6721;
/* Tailwind (arbitrary) */
class="text-[#7d6721] bg-[#7d6721]"
/* SCSS */
$brand: #7d6721;
/* SwiftUI */
Color(red: 0.490, green: 0.404, blue: 0.129)
/* Android */
Color.parseColor("#7d6721")
/* Flutter */
Color(0xFF7D6721)
/* Python / OpenCV (BGR) */
(33, 103, 125)

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

Accessibility — WCAG contrast

Aa
#7d6721 on white: 5.48:1
AA ✓ pass · AA-large · AAA
Aa
#7d6721 on black: 3.83:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #736617
deuteranopia · #786C25
tritanopia · #885E59

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #7d6721 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
#F7F3E9
#EFE7CD
#E8D8A6
#DCC47A
#D0B14D
#C2A033
#A1852B
#7d6721
#5E4E1C
#3B3112
Base = 800Lightest = 50 · #FBF9F4Darkest = 950 · #3B3112
:root {
  --brand-50: #FBF9F4;
  --brand-100: #F7F3E9;
  --brand-200: #EFE7CD;
  --brand-300: #E8D8A6;
  --brand-400: #DCC47A;
  --brand-500: #D0B14D;
  --brand-600: #C2A033;
  --brand-700: #A1852B;
  --brand-800: #7d6721;
  --brand-900: #5E4E1C;
  --brand-950: #3B3112;
  --brand: #7d6721;
  --brand-ink: #ffffff;
}

Colors that work with #7d6721

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#EDE2C0
Hairlines and dividers
Muted text#9B884B
Captions on the surface
Accent#1E4E80
Second voice, not a rival
Dark variant#65531B
Hover, pressed, headers
Light variant#FAF6EB
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 #7d6721

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#21377D
Analogous left#7D3921
Analogous right#657D21
Split-complement 1#21657D
Split-complement 2#39217D
Triadic 1#217D67
Triadic 2#67217D
Tetradic#217D39

RGB percentages

Red49.0%
Green40.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta17.6%
Yellow73.6%
Key (black)51.0%

Color previews

#7d6721 text on a black background

contrast 3.83:1

Card sample

#7d6721 text on a white background

contrast 5.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(125, 103, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(125, 103, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7d6721;
background: linear-gradient(135deg, #7d6721, #567D21);

Monochromatic scale

Palettes built from #7d6721

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.

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

#7d6721, answered

What color is #7d6721?

#7d6721 is a dark vivid yellow, closest to Olive (ΔE2000 12). It sits at 46° on the hue wheel with 58% saturation and 31% lightness, which reads as warm.

What is the RGB value of #7d6721?

rgb(125, 103, 33) — 125 red, 103 green and 33 blue out of 255, or 49% / 40.4% / 12.9% by channel.

Is #7d6721 a light or a dark color?

It is a dark color. Relative luminance is 0.1417 and perceived brightness is 41%, so white text on it reaches 5.48:1.

Should I use black or white text on #7d6721?

White. It scores 5.48:1 against #7d6721, versus 3.83:1 for black — AA at any size.

What is the complementary color of #7d6721?

#21377D sits directly opposite on the wheel. Softer options are the split-complements #21657D and #39217D, which give the same contrast with far less vibration.

What colors go well with #7d6721?

For interface work: #FAF9F4 as the surface, #EDE2C0 for borders, #9B884B for secondary text, #1E4E80 as an accent and #65531B for hover and pressed states. For a palette, the analogous pair #7D3921 and #657D21 stays calm, while #21377D is the loudest partner.

What is #7d6721 in CMYK for printing?

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

Is #7d6721 warm or cool?

Warm — it scores 13 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #7D5121; nudged cooler, #727F1F.

Work with #7d6721 in the Color Lab