Skip to content

#464708

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

RGB
70, 71, 8
HSL
61°, 80%, 16%
CMYK
1, 0, 89, 72
Luminance
0.0583

At a glance

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

Hex
#464708
Hue
61°
yellow
Saturation
80%
electric
Lightness
16%
deep
Brightness
28%
HSV value
Perceived
26%
weighted brightness
Luminance
0.0583
WCAG relative
Temperature
Warm
26/100 cool
Color family
Yellow
Tone
Electric
Best ink
White
9.70:1
Closest name
Dark Olive Green
ΔE2000 13.2
Where it sits
Hue61° of 360°
Saturation80%
Lightness16%
Temperature
Warm ← → Cool26% 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#464708
RGBrgb(70, 71, 8)
HSLhsl(61, 80%, 16%)
CMYKcmyk(1%, 0%, 89%, 72%)
LABlab(29.0 -8.7 34.3)
LCHlch(29.0 35.4 104.3)
OKLCHoklch(0.385 0.079 110.6)
Decimal4605704
Display P3color(display-p3 0.275 0.278 0.031)

Copy-ready code

/* CSS */
color: #464708;
background-color: #464708;
/* Tailwind (arbitrary) */
class="text-[#464708] bg-[#464708]"
/* SCSS */
$brand: #464708;
/* SwiftUI */
Color(red: 0.275, green: 0.278, blue: 0.031)
/* Android */
Color.parseColor("#464708")
/* Flutter */
Color(0xFF464708)
/* Python / OpenCV (BGR) */
(8, 71, 70)

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

Accessibility — WCAG contrast

Aa
#464708 on white: 9.70:1
AA ✓ pass · AA-large · AAA
Aa
#464708 on black: 2.17:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4D4300
deuteranopia · #4E450E
tritanopia · #4C423C

Color scale — 50 to 950

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

#FCFCF3
#F9F9E6
#F4F5C7
#F2F49A
#ECEE68
#E5E835
#D9DC19
#B5B715
#909311
#696A10
#464708
Base = 950Lightest = 50 · #FCFCF3Darkest = 950 · #464708
:root {
  --brand-50: #FCFCF3;
  --brand-100: #F9F9E6;
  --brand-200: #F4F5C7;
  --brand-300: #F2F49A;
  --brand-400: #ECEE68;
  --brand-500: #E5E835;
  --brand-600: #D9DC19;
  --brand-700: #B5B715;
  --brand-800: #909311;
  --brand-900: #696A10;
  --brand-950: #464708;
  --brand: #464708;
  --brand-ink: #ffffff;
}

Colors that work with #464708

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#ECEDC0
Hairlines and dividers
Muted text#9A9B4B
Captions on the surface
Accent#061649
Second voice, not a rival
Dark variant#71730D
Hover, pressed, headers
Light variant#FCFCE8
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 #464708

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#090847
Analogous left#472908
Analogous right#264708
Split-complement 1#082647
Split-complement 2#290847
Triadic 1#084647
Triadic 2#470846
Tetradic#084729

RGB percentages

Red27.5%
Green27.8%
Blue3.1%

CMYK percentages

Cyan1.4%
Magenta0.0%
Yellow88.7%
Key (black)72.2%

Color previews

#464708 text on a black background

contrast 2.17:1

Card sample

#464708 text on a white background

contrast 9.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(70, 71, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(70, 71, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #464708;
background: linear-gradient(135deg, #464708, #1C4708);

Monochromatic scale

Palettes built from #464708

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.

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

#464708, answered

What color is #464708?

#464708 is a deep electric yellow, closest to Dark Olive Green (ΔE2000 13.2). It sits at 61° on the hue wheel with 80% saturation and 16% lightness, which reads as warm.

What is the RGB value of #464708?

rgb(70, 71, 8) — 70 red, 71 green and 8 blue out of 255, or 27.5% / 27.8% / 3.1% by channel.

Is #464708 a light or a dark color?

It is a dark color. Relative luminance is 0.0583 and perceived brightness is 26%, so white text on it reaches 9.70:1.

Should I use black or white text on #464708?

White. It scores 9.70:1 against #464708, versus 2.17:1 for black — AAA at any size.

What is the complementary color of #464708?

#090847 sits directly opposite on the wheel. Softer options are the split-complements #082647 and #290847, which give the same contrast with far less vibration.

What colors go well with #464708?

For interface work: #FAFAF4 as the surface, #ECEDC0 for borders, #9A9B4B for secondary text, #061649 as an accent and #71730D for hover and pressed states. For a palette, the analogous pair #472908 and #264708 stays calm, while #090847 is the loudest partner.

What is #464708 in CMYK for printing?

cmyk(1%, 0%, 89%, 72%). 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 #464708 warm or cool?

Warm — it scores 26 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #473108; nudged cooler, #2F4807.

Work with #464708 in the Color Lab