Skip to content

#545708

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

RGB
84, 87, 8
HSL
62°, 83%, 19%
CMYK
3, 0, 91, 66
Luminance
0.0872

At a glance

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

Hex
#545708
Hue
62°
yellow
Saturation
83%
electric
Lightness
19%
deep
Brightness
34%
HSV value
Perceived
32%
weighted brightness
Luminance
0.0872
WCAG relative
Temperature
Warm
27/100 cool
Color family
Yellow
Tone
Electric
Best ink
White
7.65:1
Closest name
Dark Olive Green
ΔE2000 9.5
Where it sits
Hue62° of 360°
Saturation83%
Lightness19%
Temperature
Warm ← → Cool27% 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#545708
RGBrgb(84, 87, 8)
HSLhsl(62, 83%, 19%)
CMYKcmyk(3%, 0%, 91%, 66%)
LABlab(35.4 -11.1 40.3)
LCHlch(35.4 41.8 105.3)
OKLCHoklch(0.440 0.093 112.1)
Decimal5527304
Display P3color(display-p3 0.329 0.341 0.031)

Copy-ready code

/* CSS */
color: #545708;
background-color: #545708;
/* Tailwind (arbitrary) */
class="text-[#545708] bg-[#545708]"
/* SCSS */
$brand: #545708;
/* SwiftUI */
Color(red: 0.329, green: 0.341, blue: 0.031)
/* Android */
Color.parseColor("#545708")
/* Flutter */
Color(0xFF545708)
/* Python / OpenCV (BGR) */
(8, 87, 84)

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

Accessibility — WCAG contrast

Aa
#545708 on white: 7.65:1
AA ✓ pass · AA-large · AAA
Aa
#545708 on black: 2.74:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5F5200
deuteranopia · #5F5411
tritanopia · #5B5149

Color scale — 50 to 950

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

#FCFCF2
#F9FAE6
#F4F6C6
#F2F698
#EBF165
#E5EC31
#D8E015
#B4BB11
#90950E
#686C0E
#545708
Base = 950Lightest = 50 · #FCFCF2Darkest = 950 · #545708
:root {
  --brand-50: #FCFCF2;
  --brand-100: #F9FAE6;
  --brand-200: #F4F6C6;
  --brand-300: #F2F698;
  --brand-400: #EBF165;
  --brand-500: #E5EC31;
  --brand-600: #D8E015;
  --brand-700: #B4BB11;
  --brand-800: #90950E;
  --brand-900: #686C0E;
  --brand-950: #545708;
  --brand: #545708;
  --brand-ink: #ffffff;
}

Colors that work with #545708

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#EBEDC0
Hairlines and dividers
Muted text#989B4B
Captions on the surface
Accent#061859
Second voice, not a rival
Dark variant#71750B
Hover, pressed, headers
Light variant#FCFDE8
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 #545708

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#0B0857
Analogous left#573208
Analogous right#2C5708
Split-complement 1#082C57
Split-complement 2#320857
Triadic 1#085457
Triadic 2#570854
Tetradic#085732

RGB percentages

Red32.9%
Green34.1%
Blue3.1%

CMYK percentages

Cyan3.4%
Magenta0.0%
Yellow90.8%
Key (black)65.9%

Color previews

#545708 text on a black background

contrast 2.74:1

Card sample

#545708 text on a white background

contrast 7.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #545708

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.

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

#545708, answered

What color is #545708?

#545708 is a deep electric yellow, closest to Dark Olive Green (ΔE2000 9.5). It sits at 62° on the hue wheel with 83% saturation and 19% lightness, which reads as warm.

What is the RGB value of #545708?

rgb(84, 87, 8) — 84 red, 87 green and 8 blue out of 255, or 32.9% / 34.1% / 3.1% by channel.

Is #545708 a light or a dark color?

It is a dark color. Relative luminance is 0.0872 and perceived brightness is 32%, so white text on it reaches 7.65:1.

Should I use black or white text on #545708?

White. It scores 7.65:1 against #545708, versus 2.74:1 for black — AAA at any size.

What is the complementary color of #545708?

#0B0857 sits directly opposite on the wheel. Softer options are the split-complements #082C57 and #320857, which give the same contrast with far less vibration.

What colors go well with #545708?

For interface work: #FAFAF4 as the surface, #EBEDC0 for borders, #989B4B for secondary text, #061859 as an accent and #71750B for hover and pressed states. For a palette, the analogous pair #573208 and #2C5708 stays calm, while #0B0857 is the loudest partner.

What is #545708 in CMYK for printing?

cmyk(3%, 0%, 91%, 66%). 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 #545708 warm or cool?

Warm — it scores 27 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #573D08; nudged cooler, #375807.

Work with #545708 in the Color Lab