Skip to content

#767310

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

RGB
118, 115, 16
HSL
58°, 76%, 26%
CMYK
0, 3, 86, 54
Luminance
0.1615

At a glance

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

Hex
#767310
Hue
58°
yellow
Saturation
76%
electric
Lightness
26%
dark
Brightness
46%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1615
WCAG relative
Temperature
Warm
23/100 cool
Color family
Yellow
Tone
Electric
Best ink
White
4.96:1
Closest name
Olive
ΔE2000 5.3
Where it sits
Hue58° of 360°
Saturation76%
Lightness26%
Temperature
Warm ← → Cool23% 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#767310
RGBrgb(118, 115, 16)
HSLhsl(58, 76%, 26%)
CMYKcmyk(0%, 3%, 86%, 54%)
LABlab(47.2 -10.2 49.3)
LCHlch(47.2 50.3 101.6)
OKLCHoklch(0.541 0.111 107.7)
Decimal7762704
Display P3color(display-p3 0.463 0.451 0.063)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#767310 on white: 4.96:1
AA ✓ pass · AA-large · AAA
Aa
#767310 on black: 4.23:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #7E6E00
deuteranopia · #7F711A
tritanopia · #7F6B62

Color scale — 50 to 950

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

#FCFCF3
#F9F8E7
#F4F3C8
#F2EF9C
#EBE76B
#E4DF39
#D8D21D
#B4AF18
#908C14
#767310
#413F0B
Base = 900Lightest = 50 · #FCFCF3Darkest = 950 · #413F0B
:root {
  --brand-50: #FCFCF3;
  --brand-100: #F9F8E7;
  --brand-200: #F4F3C8;
  --brand-300: #F2EF9C;
  --brand-400: #EBE76B;
  --brand-500: #E4DF39;
  --brand-600: #D8D21D;
  --brand-700: #B4AF18;
  --brand-800: #908C14;
  --brand-900: #767310;
  --brand-950: #413F0B;
  --brand: #767310;
  --brand-ink: #ffffff;
}

Colors that work with #767310

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#EDEBC0
Hairlines and dividers
Muted text#9B994B
Captions on the surface
Accent#0D2B79
Second voice, not a rival
Dark variant#706D0F
Hover, pressed, headers
Light variant#FCFBE9
Selected rows, tints
Dark surface#242414
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 #767310

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#101376
Analogous left#764010
Analogous right#467610
Split-complement 1#104676
Split-complement 2#401076
Triadic 1#107673
Triadic 2#731076
Tetradic#107640

RGB percentages

Red46.3%
Green45.1%
Blue6.3%

CMYK percentages

Cyan0.0%
Magenta2.5%
Yellow86.4%
Key (black)53.7%

Color previews

#767310 text on a black background

contrast 4.23:1

Card sample

#767310 text on a white background

contrast 4.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #767310

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.

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

#767310, answered

What color is #767310?

#767310 is a dark electric yellow, closest to Olive (ΔE2000 5.3). It sits at 58° on the hue wheel with 76% saturation and 26% lightness, which reads as warm.

What is the RGB value of #767310?

rgb(118, 115, 16) — 118 red, 115 green and 16 blue out of 255, or 46.3% / 45.1% / 6.3% by channel.

Is #767310 a light or a dark color?

It is a dark color. Relative luminance is 0.1615 and perceived brightness is 43%, so white text on it reaches 4.96:1.

Should I use black or white text on #767310?

White. It scores 4.96:1 against #767310, versus 4.23:1 for black — AA at any size.

What is the complementary color of #767310?

#101376 sits directly opposite on the wheel. Softer options are the split-complements #104676 and #401076, which give the same contrast with far less vibration.

What colors go well with #767310?

For interface work: #FAFAF4 as the surface, #EDEBC0 for borders, #9B994B for secondary text, #0D2B79 as an accent and #706D0F for hover and pressed states. For a palette, the analogous pair #764010 and #467610 stays calm, while #101376 is the loudest partner.

What is #767310 in CMYK for printing?

cmyk(0%, 3%, 86%, 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 #767310 warm or cool?

Warm — it scores 23 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #764E10; nudged cooler, #54770F.

Work with #767310 in the Color Lab