Skip to content

#585d21

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

RGB
88, 93, 33
HSL
65°, 48%, 25%
CMYK
5, 0, 65, 64
Luminance
0.1001

At a glance

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

Hex
#585d21
Hue
65°
yellow
Saturation
48%
vivid
Lightness
25%
deep
Brightness
36%
HSV value
Perceived
34%
weighted brightness
Luminance
0.1001
WCAG relative
Temperature
Warm
29/100 cool
Color family
Yellow
Tone
Vivid
Best ink
White
6.99:1
Closest name
Dark Olive Green
ΔE2000 6.5
Where it sits
Hue65° of 360°
Saturation48%
Lightness25%
Temperature
Warm ← → Cool29% 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#585d21
RGBrgb(88, 93, 33)
HSLhsl(65, 48%, 25%)
CMYKcmyk(5%, 0%, 65%, 64%)
LABlab(37.9 -11.1 32.9)
LCHlch(37.9 34.7 108.7)
OKLCHoklch(0.461 0.082 113.6)
Decimal5791009
Display P3color(display-p3 0.345 0.365 0.129)

Copy-ready code

/* CSS */
color: #585d21;
background-color: #585d21;
/* Tailwind (arbitrary) */
class="text-[#585d21] bg-[#585d21]"
/* SCSS */
$brand: #585d21;
/* SwiftUI */
Color(red: 0.345, green: 0.365, blue: 0.129)
/* Android */
Color.parseColor("#585d21")
/* Flutter */
Color(0xFF585D21)
/* Python / OpenCV (BGR) */
(33, 93, 88)

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 #585d21 · 6.99:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.99:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.00:1
AA fail · AA large pass · AAA fail
Reading the other direction: #585d21 as text scores 6.99:1 on white and 3.00:1 on black.

Accessibility — WCAG contrast

Aa
#585d21 on white: 6.99:1
AA ✓ pass · AA-large · AAA
Aa
#585d21 on black: 3.00:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #64591A
deuteranopia · #645A25
tritanopia · #5E5850

Color scale — 50 to 950

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

#FAFAF5
#F4F5EA
#E9ECD0
#DDE2AC
#CCD383
#BBC459
#ABB540
#8E9735
#72782B
#585d21
#343715
Base = 900Lightest = 50 · #FAFAF5Darkest = 950 · #343715
:root {
  --brand-50: #FAFAF5;
  --brand-100: #F4F5EA;
  --brand-200: #E9ECD0;
  --brand-300: #DDE2AC;
  --brand-400: #CCD383;
  --brand-500: #BBC459;
  --brand-600: #ABB540;
  --brand-700: #8E9735;
  --brand-800: #72782B;
  --brand-900: #585d21;
  --brand-950: #343715;
  --brand: #585d21;
  --brand-ink: #ffffff;
}

Colors that work with #585d21

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#E6EAC3
Hairlines and dividers
Muted text#949B4B
Captions on the surface
Accent#1E295F
Second voice, not a rival
Dark variant#595E21
Hover, pressed, headers
Light variant#F7F8EC
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 #585d21

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#26215D
Analogous left#5D4421
Analogous right#3A5D21
Split-complement 1#213A5D
Split-complement 2#44215D
Triadic 1#21585D
Triadic 2#5D2158
Tetradic#215D44

RGB percentages

Red34.5%
Green36.5%
Blue12.9%

CMYK percentages

Cyan5.4%
Magenta0.0%
Yellow64.5%
Key (black)63.5%

Color previews

#585d21 text on a black background

contrast 3.00:1

Card sample

#585d21 text on a white background

contrast 6.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(88, 93, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(88, 93, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #585d21;
background: linear-gradient(135deg, #585d21, #305D21);

Monochromatic scale

Palettes built from #585d21

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.

#585d21 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

Converts to four-color process without much drama. Proof it anyway.

#585d21, answered

What color is #585d21?

#585d21 is a deep vivid yellow, closest to Dark Olive Green (ΔE2000 6.5). It sits at 65° on the hue wheel with 48% saturation and 25% lightness, which reads as warm.

What is the RGB value of #585d21?

rgb(88, 93, 33) — 88 red, 93 green and 33 blue out of 255, or 34.5% / 36.5% / 12.9% by channel.

Is #585d21 a light or a dark color?

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

Should I use black or white text on #585d21?

White. It scores 6.99:1 against #585d21, versus 3.00:1 for black — AA at any size.

What is the complementary color of #585d21?

#26215D sits directly opposite on the wheel. Softer options are the split-complements #213A5D and #44215D, which give the same contrast with far less vibration.

What colors go well with #585d21?

For interface work: #FAFAF4 as the surface, #E6EAC3 for borders, #949B4B for secondary text, #1E295F as an accent and #595E21 for hover and pressed states. For a palette, the analogous pair #5D4421 and #3A5D21 stays calm, while #26215D is the loudest partner.

What is #585d21 in CMYK for printing?

cmyk(5%, 0%, 65%, 64%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #585d21 warm or cool?

Warm — it scores 29 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5D4C21; nudged cooler, #425E20.

Work with #585d21 in the Color Lab