Skip to content

#a79607

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

RGB
167, 150, 7
HSL
54°, 92%, 34%
CMYK
0, 10, 96, 35
Luminance
0.3004

At a glance

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

Hex
#a79607
Hue
54°
yellow
Saturation
92%
electric
Lightness
34%
dark
Brightness
65%
HSV value
Perceived
58%
weighted brightness
Luminance
0.3004
WCAG relative
Temperature
Warm
20/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
7.01:1
Closest name
Olive
ΔE2000 10.2
Where it sits
Hue54° of 360°
Saturation92%
Lightness34%
Temperature
Warm ← → Cool20% 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#a79607
RGBrgb(167, 150, 7)
HSLhsl(54, 92%, 34%)
CMYKcmyk(0%, 10%, 96%, 35%)
LABlab(61.7 -6.7 64.4)
LCHlch(61.7 64.7 95.9)
OKLCHoklch(0.667 0.138 101.2)
Decimal10982919
Display P3color(display-p3 0.655 0.588 0.027)

Copy-ready code

/* CSS */
color: #a79607;
background-color: #a79607;
/* Tailwind (arbitrary) */
class="text-[#a79607] bg-[#a79607]"
/* SCSS */
$brand: #a79607;
/* SwiftUI */
Color(red: 0.655, green: 0.588, blue: 0.027)
/* Android */
Color.parseColor("#a79607")
/* Flutter */
Color(0xFFA79607)
/* Python / OpenCV (BGR) */
(7, 150, 167)

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

Accessibility — WCAG contrast

Aa
#a79607 on white: 3.00:1
AA ✗ fail · AA-large · AAA
Aa
#a79607 on black: 7.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A69100
deuteranopia · #AA981A
tritanopia · #B58A7F

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #a79607 is pinned to step 800; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FDFCF2
#FBF9E4
#F9F3C3
#FBF093
#F8E85D
#F6E028
#EBD30A
#C4B008
#a79607
#716609
#474006
Base = 800Lightest = 50 · #FDFCF2Darkest = 950 · #474006
:root {
  --brand-50: #FDFCF2;
  --brand-100: #FBF9E4;
  --brand-200: #F9F3C3;
  --brand-300: #FBF093;
  --brand-400: #F8E85D;
  --brand-500: #F6E028;
  --brand-600: #EBD30A;
  --brand-700: #C4B008;
  --brand-800: #a79607;
  --brand-900: #716609;
  --brand-950: #474006;
  --brand: #a79607;
  --brand-ink: #000000;
}

Colors that work with #a79607

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAFAF4
Tinted page background
Border#EDE8C0
Hairlines and dividers
Muted text#9B924B
Captions on the surface
Accent#033FAA
Second voice, not a rival
Dark variant#7A6E05
Hover, pressed, headers
Light variant#FEFBE7
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 #a79607

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • 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
  • Small text on white — under 4.5:1
  • 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#0718A7
Analogous left#A74607
Analogous right#68A707
Split-complement 1#0768A7
Split-complement 2#4607A7
Triadic 1#07A796
Triadic 2#9607A7
Tetradic#07A746

RGB percentages

Red65.5%
Green58.8%
Blue2.7%

CMYK percentages

Cyan0.0%
Magenta10.2%
Yellow95.8%
Key (black)34.5%

Color previews

#a79607 text on a black background

contrast 7.01:1

Card sample

#a79607 text on a white background

contrast 3.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(167, 150, 7, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(167, 150, 7, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a79607;
background: linear-gradient(135deg, #a79607, #4DA707);

Monochromatic scale

Palettes built from #a79607

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.

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

#a79607, answered

What color is #a79607?

#a79607 is a dark electric yellow, closest to Olive (ΔE2000 10.2). It sits at 54° on the hue wheel with 92% saturation and 34% lightness, which reads as warm.

What is the RGB value of #a79607?

rgb(167, 150, 7) — 167 red, 150 green and 7 blue out of 255, or 65.5% / 58.8% / 2.7% by channel.

Is #a79607 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3004 and perceived brightness is 58%, so black text on it reaches 7.01:1.

Should I use black or white text on #a79607?

Black. It scores 7.01:1 against #a79607, versus 3.00:1 for white — AAA at any size.

What is the complementary color of #a79607?

#0718A7 sits directly opposite on the wheel. Softer options are the split-complements #0768A7 and #4607A7, which give the same contrast with far less vibration.

What colors go well with #a79607?

For interface work: #FAFAF4 as the surface, #EDE8C0 for borders, #9B924B for secondary text, #033FAA as an accent and #7A6E05 for hover and pressed states. For a palette, the analogous pair #A74607 and #68A707 stays calm, while #0718A7 is the loudest partner.

What is #a79607 in CMYK for printing?

cmyk(0%, 10%, 96%, 35%). 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 #a79607 warm or cool?

Warm — it scores 20 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A76A07; nudged cooler, #7EA905.

Work with #a79607 in the Color Lab