Skip to content

#6a5607

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

RGB
106, 86, 7
HSL
48°, 88%, 22%
CMYK
0, 19, 93, 58
Luminance
0.0974

At a glance

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

Hex
#6a5607
Hue
48°
yellow
Saturation
88%
electric
Lightness
22%
deep
Brightness
42%
HSV value
Perceived
34%
weighted brightness
Luminance
0.0974
WCAG relative
Temperature
Warm
15/100 cool
Color family
Yellow
Tone
Electric
Best ink
White
7.13:1
Closest name
Dark Olive Green
ΔE2000 15.7
Where it sits
Hue48° of 360°
Saturation88%
Lightness22%
Temperature
Warm ← → Cool15% 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#6a5607
RGBrgb(106, 86, 7)
HSLhsl(48, 88%, 22%)
CMYKcmyk(0%, 19%, 93%, 58%)
LABlab(37.4 0.5 43.1)
LCHlch(37.4 43.1 89.4)
OKLCHoklch(0.460 0.091 92.6)
Decimal6968839
Display P3color(display-p3 0.416 0.337 0.027)

Copy-ready code

/* CSS */
color: #6a5607;
background-color: #6a5607;
/* Tailwind (arbitrary) */
class="text-[#6a5607] bg-[#6a5607]"
/* SCSS */
$brand: #6a5607;
/* SwiftUI */
Color(red: 0.416, green: 0.337, blue: 0.027)
/* Android */
Color.parseColor("#6a5607")
/* Flutter */
Color(0xFF6A5607)
/* Python / OpenCV (BGR) */
(7, 86, 106)

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 #6a5607 · 7.13:1
Use #ffffffAAA at every size.
Aa
White text · 7.13:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.95:1
AA fail · AA large fail · AAA fail
Reading the other direction: #6a5607 as text scores 7.13:1 on white and 2.95:1 on black.

Accessibility — WCAG contrast

Aa
#6a5607 on white: 7.13:1
AA ✓ pass · AA-large · AAA
Aa
#6a5607 on black: 2.95:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #615500
deuteranopia · #665A0E
tritanopia · #744E48

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #6a5607 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
#FAF6E5
#F8EDC4
#F8E496
#F5D761
#F1C92D
#E6BA0F
#BF9B0D
#997C0A
#6a5607
#453907
Base = 900Lightest = 50 · #FDFBF2Darkest = 950 · #453907
:root {
  --brand-50: #FDFBF2;
  --brand-100: #FAF6E5;
  --brand-200: #F8EDC4;
  --brand-300: #F8E496;
  --brand-400: #F5D761;
  --brand-500: #F1C92D;
  --brand-600: #E6BA0F;
  --brand-700: #BF9B0D;
  --brand-800: #997C0A;
  --brand-900: #6a5607;
  --brand-950: #453907;
  --brand: #6a5607;
  --brand-ink: #ffffff;
}

Colors that work with #6a5607

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#EDE4C0
Hairlines and dividers
Muted text#9B8B4B
Captions on the surface
Accent#05346C
Second voice, not a rival
Dark variant#786108
Hover, pressed, headers
Light variant#FDF9E7
Selected rows, tints
Dark surface#242114
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 #6a5607

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
  • Text on black or near-black surfaces
  • 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#071B6A
Analogous left#6A2507
Analogous right#4D6A07
Split-complement 1#074D6A
Split-complement 2#25076A
Triadic 1#076A56
Triadic 2#56076A
Tetradic#076A25

RGB percentages

Red41.6%
Green33.7%
Blue2.7%

CMYK percentages

Cyan0.0%
Magenta18.9%
Yellow93.4%
Key (black)58.4%

Color previews

#6a5607 text on a black background

contrast 2.95:1

Card sample

#6a5607 text on a white background

contrast 7.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(106, 86, 7, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(106, 86, 7, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6a5607;
background: linear-gradient(135deg, #6a5607, #3C6A07);

Monochromatic scale

Palettes built from #6a5607

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.

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

#6a5607, answered

What color is #6a5607?

#6a5607 is a deep electric yellow, closest to Dark Olive Green (ΔE2000 15.7). It sits at 48° on the hue wheel with 88% saturation and 22% lightness, which reads as warm.

What is the RGB value of #6a5607?

rgb(106, 86, 7) — 106 red, 86 green and 7 blue out of 255, or 41.6% / 33.7% / 2.7% by channel.

Is #6a5607 a light or a dark color?

It is a dark color. Relative luminance is 0.0974 and perceived brightness is 34%, so white text on it reaches 7.13:1.

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

White. It scores 7.13:1 against #6a5607, versus 2.95:1 for black — AAA at any size.

What is the complementary color of #6a5607?

#071B6A sits directly opposite on the wheel. Softer options are the split-complements #074D6A and #25076A, which give the same contrast with far less vibration.

What colors go well with #6a5607?

For interface work: #FAF9F4 as the surface, #EDE4C0 for borders, #9B8B4B for secondary text, #05346C as an accent and #786108 for hover and pressed states. For a palette, the analogous pair #6A2507 and #4D6A07 stays calm, while #071B6A is the loudest partner.

What is #6a5607 in CMYK for printing?

cmyk(0%, 19%, 93%, 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 #6a5607 warm or cool?

Warm — it scores 15 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6A3C07; nudged cooler, #5B6B06.

Work with #6a5607 in the Color Lab