Skip to content

#7d8613

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

RGB
125, 134, 19
HSL
65°, 75%, 30%
CMYK
7, 0, 86, 48
Luminance
0.2146

At a glance

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

Hex
#7d8613
Hue
65°
yellow
Saturation
75%
electric
Lightness
30%
dark
Brightness
53%
HSV value
Perceived
48%
weighted brightness
Luminance
0.2146
WCAG relative
Temperature
Warm
29/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
5.29:1
Closest name
Olive
ΔE2000 3.2
Where it sits
Hue65° of 360°
Saturation75%
Lightness30%
Temperature
Warm ← → Cool29% 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#7d8613
RGBrgb(125, 134, 19)
HSLhsl(65, 75%, 30%)
CMYKcmyk(7%, 0%, 86%, 48%)
LABlab(53.5 -17.1 54.0)
LCHlch(53.5 56.7 107.5)
OKLCHoklch(0.593 0.128 114.5)
Decimal8226323
Display P3color(display-p3 0.490 0.525 0.075)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#7d8613 on white: 3.97:1
AA ✗ fail · AA-large · AAA
Aa
#7d8613 on black: 5.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #907F00
deuteranopia · #908120
tritanopia · #867D72

Color scale — 50 to 950

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

#FBFCF3
#F7F9E7
#F0F4C8
#EAF19D
#E0EA6C
#D6E33A
#C8D61E
#A7B319
#7d8613
#616813
#3D410C
Base = 800Lightest = 50 · #FBFCF3Darkest = 950 · #3D410C
:root {
  --brand-50: #FBFCF3;
  --brand-100: #F7F9E7;
  --brand-200: #F0F4C8;
  --brand-300: #EAF19D;
  --brand-400: #E0EA6C;
  --brand-500: #D6E33A;
  --brand-600: #C8D61E;
  --brand-700: #A7B319;
  --brand-800: #7d8613;
  --brand-900: #616813;
  --brand-950: #3D410C;
  --brand: #7d8613;
  --brand-ink: #000000;
}

Colors that work with #7d8613

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#FAFAF4
Tinted page background
Border#E9EDC0
Hairlines and dividers
Muted text#959B4B
Captions on the surface
Accent#102589
Second voice, not a rival
Dark variant#687010
Hover, pressed, headers
Light variant#FAFCE9
Selected rows, tints
Dark surface#232414
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 #7d8613

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
  • 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
  • Small text on white — under 4.5:1
  • 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#1C1386
Analogous left#865613
Analogous right#438613
Split-complement 1#134386
Split-complement 2#561386
Triadic 1#137D86
Triadic 2#86137D
Tetradic#138656

RGB percentages

Red49.0%
Green52.5%
Blue7.5%

CMYK percentages

Cyan6.7%
Magenta0.0%
Yellow85.8%
Key (black)47.5%

Color previews

#7d8613 text on a black background

contrast 5.29:1

Card sample

#7d8613 text on a white background

contrast 3.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #7d8613

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.

#7d8613 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#7d8613, answered

What color is #7d8613?

#7d8613 is a dark electric yellow, closest to Olive (ΔE2000 3.2). It sits at 65° on the hue wheel with 75% saturation and 30% lightness, which reads as warm.

What is the RGB value of #7d8613?

rgb(125, 134, 19) — 125 red, 134 green and 19 blue out of 255, or 49% / 52.5% / 7.5% by channel.

Is #7d8613 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2146 and perceived brightness is 48%, so black text on it reaches 5.29:1.

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

Black. It scores 5.29:1 against #7d8613, versus 3.97:1 for white — AA at any size.

What is the complementary color of #7d8613?

#1C1386 sits directly opposite on the wheel. Softer options are the split-complements #134386 and #561386, which give the same contrast with far less vibration.

What colors go well with #7d8613?

For interface work: #FAFAF4 as the surface, #E9EDC0 for borders, #959B4B for secondary text, #102589 as an accent and #687010 for hover and pressed states. For a palette, the analogous pair #865613 and #438613 stays calm, while #1C1386 is the loudest partner.

What is #7d8613 in CMYK for printing?

cmyk(7%, 0%, 86%, 48%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #7d8613 warm or cool?

Warm — it scores 29 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #866513; nudged cooler, #538811.

Work with #7d8613 in the Color Lab