Skip to content

#7f7713

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

RGB
127, 119, 19
HSL
56°, 74%, 29%
CMYK
0, 6, 85, 50
Luminance
0.1775

At a glance

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

Hex
#7f7713
Hue
56°
yellow
Saturation
74%
vivid
Lightness
29%
dark
Brightness
50%
HSV value
Perceived
45%
weighted brightness
Luminance
0.1775
WCAG relative
Temperature
Warm
21/100 cool
Color family
Yellow
Tone
Vivid
Best ink
White
4.61:1
Closest name
Olive
ΔE2000 4
Where it sits
Hue56° of 360°
Saturation74%
Lightness29%
Temperature
Warm ← → Cool21% 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#7f7713
RGBrgb(127, 119, 19)
HSLhsl(56, 74%, 29%)
CMYKcmyk(0%, 6%, 85%, 50%)
LABlab(49.2 -8.0 50.5)
LCHlch(49.2 51.1 99.0)
OKLCHoklch(0.559 0.112 104.5)
Decimal8353555
Display P3color(display-p3 0.498 0.467 0.075)

Copy-ready code

/* CSS */
color: #7f7713;
background-color: #7f7713;
/* Tailwind (arbitrary) */
class="text-[#7f7713] bg-[#7f7713]"
/* SCSS */
$brand: #7f7713;
/* SwiftUI */
Color(red: 0.498, green: 0.467, blue: 0.075)
/* Android */
Color.parseColor("#7f7713")
/* Flutter */
Color(0xFF7F7713)
/* Python / OpenCV (BGR) */
(19, 119, 127)

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

Accessibility — WCAG contrast

Aa
#7f7713 on white: 4.61:1
AA ✓ pass · AA-large · AAA
Aa
#7f7713 on black: 4.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #837300
deuteranopia · #85771C
tritanopia · #896E65

Color scale — 50 to 950

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

#FCFBF3
#F9F7E7
#F3F0C8
#F0EA9D
#E9E06D
#E2D63C
#D5C820
#B1A61B
#7f7713
#676114
#403C0C
Base = 800Lightest = 50 · #FCFBF3Darkest = 950 · #403C0C
:root {
  --brand-50: #FCFBF3;
  --brand-100: #F9F7E7;
  --brand-200: #F3F0C8;
  --brand-300: #F0EA9D;
  --brand-400: #E9E06D;
  --brand-500: #E2D63C;
  --brand-600: #D5C820;
  --brand-700: #B1A61B;
  --brand-800: #7f7713;
  --brand-900: #676114;
  --brand-950: #403C0C;
  --brand: #7f7713;
  --brand-ink: #ffffff;
}

Colors that work with #7f7713

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#FAFAF4
Tinted page background
Border#EDE9C0
Hairlines and dividers
Muted text#9B954B
Captions on the surface
Accent#103582
Second voice, not a rival
Dark variant#6F6811
Hover, pressed, headers
Light variant#FCFAE9
Selected rows, tints
Dark surface#242314
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 #7f7713

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

Works well for
  • Body text and links 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
  • 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#131B7F
Analogous left#7F4113
Analogous right#517F13
Split-complement 1#13517F
Split-complement 2#41137F
Triadic 1#137F77
Triadic 2#77137F
Tetradic#137F41

RGB percentages

Red49.8%
Green46.7%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta6.3%
Yellow85.0%
Key (black)50.2%

Color previews

#7f7713 text on a black background

contrast 4.55:1

Card sample

#7f7713 text on a white background

contrast 4.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(127, 119, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(127, 119, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7f7713;
background: linear-gradient(135deg, #7f7713, #3F7F13);

Monochromatic scale

Palettes built from #7f7713

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.

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

#7f7713, answered

What color is #7f7713?

#7f7713 is a dark vivid yellow, closest to Olive (ΔE2000 4). It sits at 56° on the hue wheel with 74% saturation and 29% lightness, which reads as warm.

What is the RGB value of #7f7713?

rgb(127, 119, 19) — 127 red, 119 green and 19 blue out of 255, or 49.8% / 46.7% / 7.5% by channel.

Is #7f7713 a light or a dark color?

It is a dark color. Relative luminance is 0.1775 and perceived brightness is 45%, so white text on it reaches 4.61:1.

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

White. It scores 4.61:1 against #7f7713, versus 4.55:1 for black — AA at any size.

What is the complementary color of #7f7713?

#131B7F sits directly opposite on the wheel. Softer options are the split-complements #13517F and #41137F, which give the same contrast with far less vibration.

What colors go well with #7f7713?

For interface work: #FAFAF4 as the surface, #EDE9C0 for borders, #9B954B for secondary text, #103582 as an accent and #6F6811 for hover and pressed states. For a palette, the analogous pair #7F4113 and #517F13 stays calm, while #131B7F is the loudest partner.

What is #7f7713 in CMYK for printing?

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

Is #7f7713 warm or cool?

Warm — it scores 21 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #7F5213; nudged cooler, #608012.

Work with #7f7713 in the Color Lab