Skip to content

#7c7513

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

RGB
124, 117, 19
HSL
56°, 73%, 28%
CMYK
0, 6, 85, 51
Luminance
0.1705

At a glance

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

Hex
#7c7513
Hue
56°
yellow
Saturation
73%
vivid
Lightness
28%
dark
Brightness
49%
HSV value
Perceived
44%
weighted brightness
Luminance
0.1705
WCAG relative
Temperature
Warm
22/100 cool
Color family
Yellow
Tone
Vivid
Best ink
White
4.76:1
Closest name
Olive
ΔE2000 4.6
Where it sits
Hue56° of 360°
Saturation73%
Lightness28%
Temperature
Warm ← → Cool22% 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#7c7513
RGBrgb(124, 117, 19)
HSLhsl(56, 73%, 28%)
CMYKcmyk(0%, 6%, 85%, 51%)
LABlab(48.3 -8.3 49.6)
LCHlch(48.3 50.4 99.5)
OKLCHoklch(0.552 0.111 105.1)
Decimal8156435
Display P3color(display-p3 0.486 0.459 0.075)

Copy-ready code

/* CSS */
color: #7c7513;
background-color: #7c7513;
/* Tailwind (arbitrary) */
class="text-[#7c7513] bg-[#7c7513]"
/* SCSS */
$brand: #7c7513;
/* SwiftUI */
Color(red: 0.486, green: 0.459, blue: 0.075)
/* Android */
Color.parseColor("#7c7513")
/* Flutter */
Color(0xFF7C7513)
/* Python / OpenCV (BGR) */
(19, 117, 124)

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

Accessibility — WCAG contrast

Aa
#7c7513 on white: 4.76:1
AA ✓ pass · AA-large · AAA
Aa
#7c7513 on black: 4.41:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #807100
deuteranopia · #83751C
tritanopia · #866C63

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #7c7513 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
#F8F7E7
#F3F0C8
#F0EB9E
#E9E06D
#E1D63C
#D4C821
#B1A71B
#7c7513
#676114
#403D0C
Base = 800Lightest = 50 · #FCFBF3Darkest = 950 · #403D0C
:root {
  --brand-50: #FCFBF3;
  --brand-100: #F8F7E7;
  --brand-200: #F3F0C8;
  --brand-300: #F0EB9E;
  --brand-400: #E9E06D;
  --brand-500: #E1D63C;
  --brand-600: #D4C821;
  --brand-700: #B1A71B;
  --brand-800: #7c7513;
  --brand-900: #676114;
  --brand-950: #403D0C;
  --brand: #7c7513;
  --brand-ink: #ffffff;
}

Colors that work with #7c7513

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#EDEAC0
Hairlines and dividers
Muted text#9B964B
Captions on the surface
Accent#10337F
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 #7c7513

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#131A7C
Analogous left#7C4013
Analogous right#4E7C13
Split-complement 1#134E7C
Split-complement 2#40137C
Triadic 1#137C75
Triadic 2#75137C
Tetradic#137C40

RGB percentages

Red48.6%
Green45.9%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta5.6%
Yellow84.7%
Key (black)51.4%

Color previews

#7c7513 text on a black background

contrast 4.41:1

Card sample

#7c7513 text on a white background

contrast 4.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #7c7513

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.

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

#7c7513, answered

What color is #7c7513?

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

What is the RGB value of #7c7513?

rgb(124, 117, 19) — 124 red, 117 green and 19 blue out of 255, or 48.6% / 45.9% / 7.5% by channel.

Is #7c7513 a light or a dark color?

It is a dark color. Relative luminance is 0.1705 and perceived brightness is 44%, so white text on it reaches 4.76:1.

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

White. It scores 4.76:1 against #7c7513, versus 4.41:1 for black — AA at any size.

What is the complementary color of #7c7513?

#131A7C sits directly opposite on the wheel. Softer options are the split-complements #134E7C and #40137C, which give the same contrast with far less vibration.

What colors go well with #7c7513?

For interface work: #FAFAF4 as the surface, #EDEAC0 for borders, #9B964B for secondary text, #10337F as an accent and #6F6811 for hover and pressed states. For a palette, the analogous pair #7C4013 and #4E7C13 stays calm, while #131A7C is the loudest partner.

What is #7c7513 in CMYK for printing?

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

Is #7c7513 warm or cool?

Warm — it scores 22 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #7C5013; nudged cooler, #5D7D12.

Work with #7c7513 in the Color Lab