Skip to content

#766708

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

RGB
118, 103, 8
HSL
52°, 87%, 25%
CMYK
0, 13, 93, 54
Luminance
0.1357

At a glance

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

Hex
#766708
Hue
52°
yellow
Saturation
87%
electric
Lightness
25%
deep
Brightness
46%
HSV value
Perceived
40%
weighted brightness
Luminance
0.1357
WCAG relative
Temperature
Warm
18/100 cool
Color family
Yellow
Tone
Electric
Best ink
White
5.65:1
Closest name
Olive
ΔE2000 10
Where it sits
Hue52° of 360°
Saturation87%
Lightness25%
Temperature
Warm ← → Cool18% 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#766708
RGBrgb(118, 103, 8)
HSLhsl(52, 87%, 25%)
CMYKcmyk(0%, 13%, 93%, 54%)
LABlab(43.6 -3.6 48.3)
LCHlch(43.6 48.5 94.2)
OKLCHoklch(0.513 0.104 98.9)
Decimal7759624
Display P3color(display-p3 0.463 0.404 0.031)

Copy-ready code

/* CSS */
color: #766708;
background-color: #766708;
/* Tailwind (arbitrary) */
class="text-[#766708] bg-[#766708]"
/* SCSS */
$brand: #766708;
/* SwiftUI */
Color(red: 0.463, green: 0.404, blue: 0.031)
/* Android */
Color.parseColor("#766708")
/* Flutter */
Color(0xFF766708)
/* Python / OpenCV (BGR) */
(8, 103, 118)

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

Accessibility — WCAG contrast

Aa
#766708 on white: 5.65:1
AA ✓ pass · AA-large · AAA
Aa
#766708 on black: 3.71:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #736400
deuteranopia · #766912
tritanopia · #805E57

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #766708 is pinned to step 900; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FDFBF2
#FAF7E5
#F7F0C4
#F8EA96
#F4E061
#F1D62D
#E5C810
#BFA70D
#99850A
#766708
#453D08
Base = 900Lightest = 50 · #FDFBF2Darkest = 950 · #453D08
:root {
  --brand-50: #FDFBF2;
  --brand-100: #FAF7E5;
  --brand-200: #F7F0C4;
  --brand-300: #F8EA96;
  --brand-400: #F4E061;
  --brand-500: #F1D62D;
  --brand-600: #E5C810;
  --brand-700: #BFA70D;
  --brand-800: #99850A;
  --brand-900: #766708;
  --brand-950: #453D08;
  --brand: #766708;
  --brand-ink: #ffffff;
}

Colors that work with #766708

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#EDE7C0
Hairlines and dividers
Muted text#9B904B
Captions on the surface
Accent#053278
Second voice, not a rival
Dark variant#776808
Hover, pressed, headers
Light variant#FDFAE7
Selected rows, tints
Dark surface#242214
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 #766708

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#081776
Analogous left#763008
Analogous right#4E7608
Split-complement 1#084E76
Split-complement 2#300876
Triadic 1#087667
Triadic 2#670876
Tetradic#087630

RGB percentages

Red46.3%
Green40.4%
Blue3.1%

CMYK percentages

Cyan0.0%
Magenta12.7%
Yellow93.2%
Key (black)53.7%

Color previews

#766708 text on a black background

contrast 3.71:1

Card sample

#766708 text on a white background

contrast 5.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(118, 103, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(118, 103, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #766708;
background: linear-gradient(135deg, #766708, #3C7608);

Monochromatic scale

Palettes built from #766708

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.

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

#766708, answered

What color is #766708?

#766708 is a deep electric yellow, closest to Olive (ΔE2000 10). It sits at 52° on the hue wheel with 87% saturation and 25% lightness, which reads as warm.

What is the RGB value of #766708?

rgb(118, 103, 8) — 118 red, 103 green and 8 blue out of 255, or 46.3% / 40.4% / 3.1% by channel.

Is #766708 a light or a dark color?

It is a dark color. Relative luminance is 0.1357 and perceived brightness is 40%, so white text on it reaches 5.65:1.

Should I use black or white text on #766708?

White. It scores 5.65:1 against #766708, versus 3.71:1 for black — AA at any size.

What is the complementary color of #766708?

#081776 sits directly opposite on the wheel. Softer options are the split-complements #084E76 and #300876, which give the same contrast with far less vibration.

What colors go well with #766708?

For interface work: #FAFAF4 as the surface, #EDE7C0 for borders, #9B904B for secondary text, #053278 as an accent and #776808 for hover and pressed states. For a palette, the analogous pair #763008 and #4E7608 stays calm, while #081776 is the loudest partner.

What is #766708 in CMYK for printing?

cmyk(0%, 13%, 93%, 54%). 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 #766708 warm or cool?

Warm — it scores 18 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #764608; nudged cooler, #5D7707.

Work with #766708 in the Color Lab