Skip to content

#7d652f

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

RGB
125, 101, 47
HSL
42°, 45%, 34%
CMYK
0, 19, 62, 51
Luminance
0.1387

At a glance

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

Hex
#7d652f
Hue
42°
yellow
Saturation
45%
vivid
Lightness
34%
dark
Brightness
49%
HSV value
Perceived
41%
weighted brightness
Luminance
0.1387
WCAG relative
Temperature
Warm
10/100 cool
Color family
Yellow
Tone
Vivid
Best ink
White
5.56:1
Closest name
Olive
ΔE2000 14.6
Where it sits
Hue42° of 360°
Saturation45%
Lightness34%
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#7d652f
RGBrgb(125, 101, 47)
HSLhsl(42, 45%, 34%)
CMYKcmyk(0%, 19%, 62%, 51%)
LABlab(44.0 2.8 33.6)
LCHlch(44.0 33.8 85.2)
OKLCHoklch(0.519 0.078 85.4)
Decimal8217903
Display P3color(display-p3 0.490 0.396 0.184)

Copy-ready code

/* CSS */
color: #7d652f;
background-color: #7d652f;
/* Tailwind (arbitrary) */
class="text-[#7d652f] bg-[#7d652f]"
/* SCSS */
$brand: #7d652f;
/* SwiftUI */
Color(red: 0.490, green: 0.396, blue: 0.184)
/* Android */
Color.parseColor("#7d652f")
/* Flutter */
Color(0xFF7D652F)
/* Python / OpenCV (BGR) */
(47, 101, 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 #7d652f · 5.56:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.56:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.77:1
AA fail · AA large pass · AAA fail
Reading the other direction: #7d652f as text scores 5.56:1 on white and 3.77:1 on black.

Accessibility — WCAG contrast

Aa
#7d652f on white: 5.56:1
AA ✓ pass · AA-large · AAA
Aa
#7d652f on black: 3.77:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #70642A
deuteranopia · #766B31
tritanopia · #875D59

Color scale — 50 to 950

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

#FAF8F5
#F5F2EA
#EBE3D1
#E0D1AD
#D1B985
#C2A25C
#B29043
#947838
#7d652f
#574724
#362C16
Base = 800Lightest = 50 · #FAF8F5Darkest = 950 · #362C16
:root {
  --brand-50: #FAF8F5;
  --brand-100: #F5F2EA;
  --brand-200: #EBE3D1;
  --brand-300: #E0D1AD;
  --brand-400: #D1B985;
  --brand-500: #C2A25C;
  --brand-600: #B29043;
  --brand-700: #947838;
  --brand-800: #7d652f;
  --brand-900: #574724;
  --brand-950: #362C16;
  --brand: #7d652f;
  --brand-ink: #ffffff;
}

Colors that work with #7d652f

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#E9DDC4
Hairlines and dividers
Muted text#9B824B
Captions on the surface
Accent#2C5B80
Second voice, not a rival
Dark variant#5D4B23
Hover, pressed, headers
Light variant#F8F4EC
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 #7d652f

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#2F477D
Analogous left#7D3E2F
Analogous right#6E7D2F
Split-complement 1#2F6E7D
Split-complement 2#3E2F7D
Triadic 1#2F7D65
Triadic 2#652F7D
Tetradic#2F7D3E

RGB percentages

Red49.0%
Green39.6%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta19.2%
Yellow62.4%
Key (black)51.0%

Color previews

#7d652f text on a black background

contrast 3.77:1

Card sample

#7d652f text on a white background

contrast 5.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(125, 101, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(125, 101, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7d652f;
background: linear-gradient(135deg, #7d652f, #617D2F);

Monochromatic scale

Palettes built from #7d652f

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.

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

#7d652f, answered

What color is #7d652f?

#7d652f is a dark vivid yellow, closest to Olive (ΔE2000 14.6). It sits at 42° on the hue wheel with 45% saturation and 34% lightness, which reads as warm.

What is the RGB value of #7d652f?

rgb(125, 101, 47) — 125 red, 101 green and 47 blue out of 255, or 49% / 39.6% / 18.4% by channel.

Is #7d652f a light or a dark color?

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

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

White. It scores 5.56:1 against #7d652f, versus 3.77:1 for black — AA at any size.

What is the complementary color of #7d652f?

#2F477D sits directly opposite on the wheel. Softer options are the split-complements #2F6E7D and #3E2F7D, which give the same contrast with far less vibration.

What colors go well with #7d652f?

For interface work: #FAF9F4 as the surface, #E9DDC4 for borders, #9B824B for secondary text, #2C5B80 as an accent and #5D4B23 for hover and pressed states. For a palette, the analogous pair #7D3E2F and #6E7D2F stays calm, while #2F477D is the loudest partner.

What is #7d652f in CMYK for printing?

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

Is #7d652f 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 #7D552F; nudged cooler, #7A7F2D.

Work with #7d652f in the Color Lab