Skip to content

#686b0f

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

RGB
104, 107, 15
HSL
62°, 75%, 24%
CMYK
3, 0, 86, 58
Luminance
0.1349

At a glance

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

Hex
#686b0f
Hue
62°
yellow
Saturation
75%
electric
Lightness
24%
deep
Brightness
42%
HSV value
Perceived
39%
weighted brightness
Luminance
0.1349
WCAG relative
Temperature
Warm
27/100 cool
Color family
Yellow
Tone
Electric
Best ink
White
5.68:1
Closest name
Dark Olive Green
ΔE2000 8.6
Where it sits
Hue62° of 360°
Saturation75%
Lightness24%
Temperature
Warm ← → Cool27% 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#686b0f
RGBrgb(104, 107, 15)
HSLhsl(62, 75%, 24%)
CMYKcmyk(3%, 0%, 86%, 58%)
LABlab(43.5 -12.4 45.9)
LCHlch(43.5 47.6 105.1)
OKLCHoklch(0.509 0.107 111.7)
Decimal6843151
Display P3color(display-p3 0.408 0.420 0.059)

Copy-ready code

/* CSS */
color: #686b0f;
background-color: #686b0f;
/* Tailwind (arbitrary) */
class="text-[#686b0f] bg-[#686b0f]"
/* SCSS */
$brand: #686b0f;
/* SwiftUI */
Color(red: 0.408, green: 0.420, blue: 0.059)
/* Android */
Color.parseColor("#686b0f")
/* Flutter */
Color(0xFF686B0F)
/* Python / OpenCV (BGR) */
(15, 107, 104)

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

Accessibility — WCAG contrast

Aa
#686b0f on white: 5.68:1
AA ✓ pass · AA-large · AAA
Aa
#686b0f on black: 3.70:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #746600
deuteranopia · #756818
tritanopia · #70645B

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #686b0f 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
#F8F9E7
#F2F4C8
#EEF19D
#E6EA6B
#DEE33A
#D1D71E
#AEB319
#8B8F14
#686b0f
#3F410C
Base = 900Lightest = 50 · #FCFCF3Darkest = 950 · #3F410C
:root {
  --brand-50: #FCFCF3;
  --brand-100: #F8F9E7;
  --brand-200: #F2F4C8;
  --brand-300: #EEF19D;
  --brand-400: #E6EA6B;
  --brand-500: #DEE33A;
  --brand-600: #D1D71E;
  --brand-700: #AEB319;
  --brand-800: #8B8F14;
  --brand-900: #686b0f;
  --brand-950: #3F410C;
  --brand: #686b0f;
  --brand-ink: #ffffff;
}

Colors that work with #686b0f

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#EBEDC0
Hairlines and dividers
Muted text#989B4B
Captions on the surface
Accent#0D226D
Second voice, not a rival
Dark variant#6D7010
Hover, pressed, headers
Light variant#FBFCE9
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 #686b0f

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#120F6B
Analogous left#6B400F
Analogous right#3A6B0F
Split-complement 1#0F3A6B
Split-complement 2#400F6B
Triadic 1#0F686B
Triadic 2#6B0F68
Tetradic#0F6B40

RGB percentages

Red40.8%
Green42.0%
Blue5.9%

CMYK percentages

Cyan2.8%
Magenta0.0%
Yellow86.0%
Key (black)58.0%

Color previews

#686b0f text on a black background

contrast 3.70:1

Card sample

#686b0f text on a white background

contrast 5.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(104, 107, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(104, 107, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #686b0f;
background: linear-gradient(135deg, #686b0f, #2B6B0F);

Monochromatic scale

Palettes built from #686b0f

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.

#686b0f 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.

#686b0f, answered

What color is #686b0f?

#686b0f is a deep electric yellow, closest to Dark Olive Green (ΔE2000 8.6). It sits at 62° on the hue wheel with 75% saturation and 24% lightness, which reads as warm.

What is the RGB value of #686b0f?

rgb(104, 107, 15) — 104 red, 107 green and 15 blue out of 255, or 40.8% / 42% / 5.9% by channel.

Is #686b0f a light or a dark color?

It is a dark color. Relative luminance is 0.1349 and perceived brightness is 39%, so white text on it reaches 5.68:1.

Should I use black or white text on #686b0f?

White. It scores 5.68:1 against #686b0f, versus 3.70:1 for black — AA at any size.

What is the complementary color of #686b0f?

#120F6B sits directly opposite on the wheel. Softer options are the split-complements #0F3A6B and #400F6B, which give the same contrast with far less vibration.

What colors go well with #686b0f?

For interface work: #FAFAF4 as the surface, #EBEDC0 for borders, #989B4B for secondary text, #0D226D as an accent and #6D7010 for hover and pressed states. For a palette, the analogous pair #6B400F and #3A6B0F stays calm, while #120F6B is the loudest partner.

What is #686b0f in CMYK for printing?

cmyk(3%, 0%, 86%, 58%). 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 #686b0f warm or cool?

Warm — it scores 27 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6B4C0F; nudged cooler, #466C0E.

Work with #686b0f in the Color Lab