Skip to content

#7d7d3f

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

RGB
125, 125, 63
HSL
60°, 33%, 37%
CMYK
0, 0, 50, 51
Luminance
0.1939

At a glance

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

Hex
#7d7d3f
Hue
60°
yellow
Saturation
33%
soft
Lightness
37%
dark
Brightness
49%
HSV value
Perceived
47%
weighted brightness
Luminance
0.1939
WCAG relative
Temperature
Warm
26/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
4.88:1
Closest name
Olive
ΔE2000 7.7
Where it sits
Hue60° of 360°
Saturation33%
Lightness37%
Temperature
Warm ← → Cool26% 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#7d7d3f
RGBrgb(125, 125, 63)
HSLhsl(60, 33%, 37%)
CMYKcmyk(0%, 0%, 50%, 51%)
LABlab(51.1 -9.4 33.5)
LCHlch(51.1 34.8 105.7)
OKLCHoklch(0.576 0.084 108.8)
Decimal8224063
Display P3color(display-p3 0.490 0.490 0.247)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#7d7d3f on white: 4.31:1
AA ✗ fail · AA-large · AAA
Aa
#7d7d3f on black: 4.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #86793A
deuteranopia · #877B42
tritanopia · #85766F

Color scale — 50 to 950

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

#F9F9F5
#F4F4EC
#E7E7D4
#D9D9B4
#C7C78F
#B4B46A
#A3A352
#7d7d3f
#6D6D37
#50502B
#32321B
Base = 700Lightest = 50 · #F9F9F5Darkest = 950 · #32321B
:root {
  --brand-50: #F9F9F5;
  --brand-100: #F4F4EC;
  --brand-200: #E7E7D4;
  --brand-300: #D9D9B4;
  --brand-400: #C7C78F;
  --brand-500: #B4B46A;
  --brand-600: #A3A352;
  --brand-700: #7d7d3f;
  --brand-800: #6D6D37;
  --brand-900: #50502B;
  --brand-950: #32321B;
  --brand: #7d7d3f;
  --brand-ink: #000000;
}

Colors that work with #7d7d3f

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#FAFAF5
Tinted page background
Border#E4E4C9
Hairlines and dividers
Muted text#99994D
Captions on the surface
Accent#3B4D81
Second voice, not a rival
Dark variant#55552B
Hover, pressed, headers
Light variant#F6F6EE
Selected rows, tints
Dark surface#242414
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 #7d7d3f

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
  • Charts, tags and secondary surfaces
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#3F3F7D
Analogous left#7D5E3F
Analogous right#5E7D3F
Split-complement 1#3F5E7D
Split-complement 2#5E3F7D
Triadic 1#3F7D7D
Triadic 2#7D3F7D
Tetradic#3F7D5E

RGB percentages

Red49.0%
Green49.0%
Blue24.7%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow49.6%
Key (black)51.0%

Color previews

#7d7d3f text on a black background

contrast 4.88:1

Card sample

#7d7d3f text on a white background

contrast 4.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(125, 125, 63, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(125, 125, 63, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7d7d3f;
background: linear-gradient(135deg, #7d7d3f, #547D3F);

Monochromatic scale

Palettes built from #7d7d3f

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.

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

#7d7d3f, answered

What color is #7d7d3f?

#7d7d3f is a dark soft yellow, closest to Olive (ΔE2000 7.7). It sits at 60° on the hue wheel with 33% saturation and 37% lightness, which reads as warm.

What is the RGB value of #7d7d3f?

rgb(125, 125, 63) — 125 red, 125 green and 63 blue out of 255, or 49% / 49% / 24.7% by channel.

Is #7d7d3f a light or a dark color?

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

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

Black. It scores 4.88:1 against #7d7d3f, versus 4.31:1 for white — AA at any size.

What is the complementary color of #7d7d3f?

#3F3F7D sits directly opposite on the wheel. Softer options are the split-complements #3F5E7D and #5E3F7D, which give the same contrast with far less vibration.

What colors go well with #7d7d3f?

For interface work: #FAFAF5 as the surface, #E4E4C9 for borders, #99994D for secondary text, #3B4D81 as an accent and #55552B for hover and pressed states. For a palette, the analogous pair #7D5E3F and #5E7D3F stays calm, while #3F3F7D is the loudest partner.

What is #7d7d3f in CMYK for printing?

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

Is #7d7d3f warm or cool?

Warm — it scores 26 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #7D663F; nudged cooler, #677F3D.

Work with #7d7d3f in the Color Lab