Skip to content

#765c0f

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

RGB
118, 92, 15
HSL
45°, 77%, 26%
CMYK
0, 22, 87, 54
Luminance
0.1154

At a glance

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

Hex
#765c0f
Hue
45°
yellow
Saturation
77%
electric
Lightness
26%
dark
Brightness
46%
HSV value
Perceived
38%
weighted brightness
Luminance
0.1154
WCAG relative
Temperature
Warm
12/100 cool
Color family
Yellow
Tone
Electric
Best ink
White
6.35:1
Closest name
Olive
ΔE2000 15.4
Where it sits
Hue45° of 360°
Saturation77%
Lightness26%
Temperature
Warm ← → Cool12% 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#765c0f
RGBrgb(118, 92, 15)
HSLhsl(45, 77%, 26%)
CMYKcmyk(0%, 22%, 87%, 54%)
LABlab(40.5 3.0 43.9)
LCHlch(40.5 44.0 86.0)
OKLCHoklch(0.488 0.094 88.0)
Decimal7756815
Display P3color(display-p3 0.463 0.361 0.059)

Copy-ready code

/* CSS */
color: #765c0f;
background-color: #765c0f;
/* Tailwind (arbitrary) */
class="text-[#765c0f] bg-[#765c0f]"
/* SCSS */
$brand: #765c0f;
/* SwiftUI */
Color(red: 0.463, green: 0.361, blue: 0.059)
/* Android */
Color.parseColor("#765c0f")
/* Flutter */
Color(0xFF765C0F)
/* Python / OpenCV (BGR) */
(15, 92, 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 #765c0f · 6.35:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.35:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.31:1
AA fail · AA large pass · AAA fail
Reading the other direction: #765c0f as text scores 6.35:1 on white and 3.31:1 on black.

Accessibility — WCAG contrast

Aa
#765c0f on white: 6.35:1
AA ✓ pass · AA-large · AAA
Aa
#765c0f on black: 3.31:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #685B00
deuteranopia · #6F6214
tritanopia · #81534E

Color scale — 50 to 950

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

#FCFAF3
#F9F4E6
#F4E9C7
#F2DC9B
#ECCB6A
#E6BA38
#D9A91C
#B58D17
#917112
#765c0f
#41340B
Base = 900Lightest = 50 · #FCFAF3Darkest = 950 · #41340B
:root {
  --brand-50: #FCFAF3;
  --brand-100: #F9F4E6;
  --brand-200: #F4E9C7;
  --brand-300: #F2DC9B;
  --brand-400: #ECCB6A;
  --brand-500: #E6BA38;
  --brand-600: #D9A91C;
  --brand-700: #B58D17;
  --brand-800: #917112;
  --brand-900: #765c0f;
  --brand-950: #41340B;
  --brand: #765c0f;
  --brand-ink: #ffffff;
}

Colors that work with #765c0f

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#FAF9F4
Tinted page background
Border#EDE1C0
Hairlines and dividers
Muted text#9B874B
Captions on the surface
Accent#0C4379
Second voice, not a rival
Dark variant#71580E
Hover, pressed, headers
Light variant#FCF7E8
Selected rows, tints
Dark surface#242014
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 #765c0f

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#0F2976
Analogous left#76290F
Analogous right#5C760F
Split-complement 1#0F5C76
Split-complement 2#290F76
Triadic 1#0F765C
Triadic 2#5C0F76
Tetradic#0F7629

RGB percentages

Red46.3%
Green36.1%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta22.0%
Yellow87.3%
Key (black)53.7%

Color previews

#765c0f text on a black background

contrast 3.31:1

Card sample

#765c0f text on a white background

contrast 6.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(118, 92, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(118, 92, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #765c0f;
background: linear-gradient(135deg, #765c0f, #4B760F);

Monochromatic scale

Palettes built from #765c0f

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.

#765c0f 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.

#765c0f, answered

What color is #765c0f?

#765c0f is a dark electric yellow, closest to Olive (ΔE2000 15.4). It sits at 45° on the hue wheel with 77% saturation and 26% lightness, which reads as warm.

What is the RGB value of #765c0f?

rgb(118, 92, 15) — 118 red, 92 green and 15 blue out of 255, or 46.3% / 36.1% / 5.9% by channel.

Is #765c0f a light or a dark color?

It is a dark color. Relative luminance is 0.1154 and perceived brightness is 38%, so white text on it reaches 6.35:1.

Should I use black or white text on #765c0f?

White. It scores 6.35:1 against #765c0f, versus 3.31:1 for black — AA at any size.

What is the complementary color of #765c0f?

#0F2976 sits directly opposite on the wheel. Softer options are the split-complements #0F5C76 and #290F76, which give the same contrast with far less vibration.

What colors go well with #765c0f?

For interface work: #FAF9F4 as the surface, #EDE1C0 for borders, #9B874B for secondary text, #0C4379 as an accent and #71580E for hover and pressed states. For a palette, the analogous pair #76290F and #5C760F stays calm, while #0F2976 is the loudest partner.

What is #765c0f in CMYK for printing?

cmyk(0%, 22%, 87%, 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 #765c0f warm or cool?

Warm — it scores 12 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #76450F; nudged cooler, #6B770E.

Work with #765c0f in the Color Lab