Skip to content

#6a7607

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

RGB
106, 118, 7
HSL
67°, 89%, 25%
CMYK
10, 0, 94, 54
Luminance
0.1604

At a glance

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

Hex
#6a7607
Hue
67°
yellow
Saturation
89%
electric
Lightness
25%
deep
Brightness
46%
HSV value
Perceived
42%
weighted brightness
Luminance
0.1604
WCAG relative
Temperature
Warm
30/100 cool
Color family
Yellow
Tone
Electric
Best ink
White
4.99:1
Closest name
Olive
ΔE2000 6.2
Where it sits
Hue67° of 360°
Saturation89%
Lightness25%
Temperature
Warm ← → Cool30% 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#6a7607
RGBrgb(106, 118, 7)
HSLhsl(67, 89%, 25%)
CMYKcmyk(10%, 0%, 94%, 54%)
LABlab(47.0 -17.6 50.8)
LCHlch(47.0 53.8 109.2)
OKLCHoklch(0.537 0.121 116.7)
Decimal6977031
Display P3color(display-p3 0.416 0.463 0.027)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#6a7607 on white: 4.99:1
AA ✓ pass · AA-large · AAA
Aa
#6a7607 on black: 4.21:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #7F6F00
deuteranopia · #7E7016
tritanopia · #716F64

Color scale — 50 to 950

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

#FCFDF2
#F8FBE5
#F2F8C4
#EEF995
#E5F660
#DDF22B
#D0E70E
#ADC10B
#8A9A09
#6a7607
#3F4507
Base = 900Lightest = 50 · #FCFDF2Darkest = 950 · #3F4507
:root {
  --brand-50: #FCFDF2;
  --brand-100: #F8FBE5;
  --brand-200: #F2F8C4;
  --brand-300: #EEF995;
  --brand-400: #E5F660;
  --brand-500: #DDF22B;
  --brand-600: #D0E70E;
  --brand-700: #ADC10B;
  --brand-800: #8A9A09;
  --brand-900: #6a7607;
  --brand-950: #3F4507;
  --brand: #6a7607;
  --brand-ink: #ffffff;
}

Colors that work with #6a7607

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#E8EDC0
Hairlines and dividers
Muted text#929B4B
Captions on the surface
Accent#041578
Second voice, not a rival
Dark variant#6C7807
Hover, pressed, headers
Light variant#FBFEE7
Selected rows, tints
Dark surface#232414
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 #6a7607

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#130776
Analogous left#764A07
Analogous right#327607
Split-complement 1#073276
Split-complement 2#4A0776
Triadic 1#076A76
Triadic 2#76076A
Tetradic#07764A

RGB percentages

Red41.6%
Green46.3%
Blue2.7%

CMYK percentages

Cyan10.2%
Magenta0.0%
Yellow94.1%
Key (black)53.7%

Color previews

#6a7607 text on a black background

contrast 4.21:1

Card sample

#6a7607 text on a white background

contrast 4.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #6a7607

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.

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

#6a7607, answered

What color is #6a7607?

#6a7607 is a deep electric yellow, closest to Olive (ΔE2000 6.2). It sits at 67° on the hue wheel with 89% saturation and 25% lightness, which reads as warm.

What is the RGB value of #6a7607?

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

Is #6a7607 a light or a dark color?

It is a dark color. Relative luminance is 0.1604 and perceived brightness is 42%, so white text on it reaches 4.99:1.

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

White. It scores 4.99:1 against #6a7607, versus 4.21:1 for black — AA at any size.

What is the complementary color of #6a7607?

#130776 sits directly opposite on the wheel. Softer options are the split-complements #073276 and #4A0776, which give the same contrast with far less vibration.

What colors go well with #6a7607?

For interface work: #FAFAF4 as the surface, #E8EDC0 for borders, #929B4B for secondary text, #041578 as an accent and #6C7807 for hover and pressed states. For a palette, the analogous pair #764A07 and #327607 stays calm, while #130776 is the loudest partner.

What is #6a7607 in CMYK for printing?

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

Warm — it scores 30 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #765907; nudged cooler, #417706.

Work with #6a7607 in the Color Lab