Skip to content

#6c6607

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

RGB
108, 102, 7
HSL
56°, 88%, 23%
CMYK
0, 6, 94, 58
Luminance
0.1271

At a glance

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

Hex
#6c6607
Hue
56°
yellow
Saturation
88%
electric
Lightness
23%
deep
Brightness
42%
HSV value
Perceived
38%
weighted brightness
Luminance
0.1271
WCAG relative
Temperature
Warm
22/100 cool
Color family
Yellow
Tone
Electric
Best ink
White
5.93:1
Closest name
Olive
ΔE2000 10
Where it sits
Hue56° of 360°
Saturation88%
Lightness23%
Temperature
Warm ← → Cool22% 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#6c6607
RGBrgb(108, 102, 7)
HSLhsl(56, 88%, 23%)
CMYKcmyk(0%, 6%, 94%, 58%)
LABlab(42.3 -7.9 47.1)
LCHlch(42.3 47.8 99.5)
OKLCHoklch(0.500 0.104 105.4)
Decimal7104007
Display P3color(display-p3 0.424 0.400 0.027)

Copy-ready code

/* CSS */
color: #6c6607;
background-color: #6c6607;
/* Tailwind (arbitrary) */
class="text-[#6c6607] bg-[#6c6607]"
/* SCSS */
$brand: #6c6607;
/* SwiftUI */
Color(red: 0.424, green: 0.400, blue: 0.027)
/* Android */
Color.parseColor("#6c6607")
/* Flutter */
Color(0xFF6C6607)
/* Python / OpenCV (BGR) */
(7, 102, 108)

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

Accessibility — WCAG contrast

Aa
#6c6607 on white: 5.93:1
AA ✓ pass · AA-large · AAA
Aa
#6c6607 on black: 3.54:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #706200
deuteranopia · #726512
tritanopia · #755E56

Color scale — 50 to 950

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

#FDFCF2
#FAF9E5
#F8F5C4
#F8F296
#F5EC61
#F1E52C
#E6D90F
#C0B50C
#99910A
#6c6607
#454107
Base = 900Lightest = 50 · #FDFCF2Darkest = 950 · #454107
:root {
  --brand-50: #FDFCF2;
  --brand-100: #FAF9E5;
  --brand-200: #F8F5C4;
  --brand-300: #F8F296;
  --brand-400: #F5EC61;
  --brand-500: #F1E52C;
  --brand-600: #E6D90F;
  --brand-700: #C0B50C;
  --brand-800: #99910A;
  --brand-900: #6c6607;
  --brand-950: #454107;
  --brand: #6c6607;
  --brand-ink: #ffffff;
}

Colors that work with #6c6607

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#EDEAC0
Hairlines and dividers
Muted text#9B964B
Captions on the surface
Accent#05256E
Second voice, not a rival
Dark variant#787108
Hover, pressed, headers
Light variant#FDFCE7
Selected rows, tints
Dark surface#242314
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 #6c6607

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#070D6C
Analogous left#6C3307
Analogous right#3F6C07
Split-complement 1#073F6C
Split-complement 2#33076C
Triadic 1#076C66
Triadic 2#66076C
Tetradic#076C33

RGB percentages

Red42.4%
Green40.0%
Blue2.7%

CMYK percentages

Cyan0.0%
Magenta5.6%
Yellow93.5%
Key (black)57.6%

Color previews

#6c6607 text on a black background

contrast 3.54:1

Card sample

#6c6607 text on a white background

contrast 5.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(108, 102, 7, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(108, 102, 7, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6c6607;
background: linear-gradient(135deg, #6c6607, #2F6C07);

Monochromatic scale

Palettes built from #6c6607

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.

#6c6607 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.

#6c6607, answered

What color is #6c6607?

#6c6607 is a deep electric yellow, closest to Olive (ΔE2000 10). It sits at 56° on the hue wheel with 88% saturation and 23% lightness, which reads as warm.

What is the RGB value of #6c6607?

rgb(108, 102, 7) — 108 red, 102 green and 7 blue out of 255, or 42.4% / 40% / 2.7% by channel.

Is #6c6607 a light or a dark color?

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

Should I use black or white text on #6c6607?

White. It scores 5.93:1 against #6c6607, versus 3.54:1 for black — AA at any size.

What is the complementary color of #6c6607?

#070D6C sits directly opposite on the wheel. Softer options are the split-complements #073F6C and #33076C, which give the same contrast with far less vibration.

What colors go well with #6c6607?

For interface work: #FAFAF4 as the surface, #EDEAC0 for borders, #9B964B for secondary text, #05256E as an accent and #787108 for hover and pressed states. For a palette, the analogous pair #6C3307 and #3F6C07 stays calm, while #070D6C is the loudest partner.

What is #6c6607 in CMYK for printing?

cmyk(0%, 6%, 94%, 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 #6c6607 warm or cool?

Warm — it scores 22 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6C4207; nudged cooler, #4D6D06.

Work with #6c6607 in the Color Lab