Skip to content

#5a592d

a dark, soft yellow · warm · closest name: Dark Olive Green

RGB
90, 89, 45
HSL
59°, 33%, 27%
CMYK
0, 1, 50, 65
Luminance
0.0951

At a glance

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

Hex
#5a592d
Hue
59°
yellow
Saturation
33%
soft
Lightness
27%
dark
Brightness
35%
HSV value
Perceived
34%
weighted brightness
Luminance
0.0951
WCAG relative
Temperature
Warm
25/100 cool
Color family
Yellow
Tone
Soft
Best ink
White
7.24:1
Closest name
Dark Olive Green
ΔE2000 8.9
Where it sits
Hue59° of 360°
Saturation33%
Lightness27%
Temperature
Warm ← → Cool25% 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#5a592d
RGBrgb(90, 89, 45)
HSLhsl(59, 33%, 27%)
CMYKcmyk(0%, 1%, 50%, 65%)
LABlab(36.9 -6.7 25.5)
LCHlch(36.9 26.3 104.8)
OKLCHoklch(0.454 0.064 107.5)
Decimal5921069
Display P3color(display-p3 0.353 0.349 0.176)

Copy-ready code

/* CSS */
color: #5a592d;
background-color: #5a592d;
/* Tailwind (arbitrary) */
class="text-[#5a592d] bg-[#5a592d]"
/* SCSS */
$brand: #5a592d;
/* SwiftUI */
Color(red: 0.353, green: 0.349, blue: 0.176)
/* Android */
Color.parseColor("#5a592d")
/* Flutter */
Color(0xFF5A592D)
/* Python / OpenCV (BGR) */
(45, 89, 90)

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

Accessibility — WCAG contrast

Aa
#5a592d on white: 7.24:1
AA ✓ pass · AA-large · AAA
Aa
#5a592d on black: 2.90:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5F5629
deuteranopia · #60582F
tritanopia · #60544F

Color scale — 50 to 950

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

#F9F9F5
#F4F4EC
#E8E7D4
#DAD9B4
#C7C68F
#B4B369
#A3A152
#888644
#6D6C36
#5a592d
#32311B
Base = 900Lightest = 50 · #F9F9F5Darkest = 950 · #32311B
:root {
  --brand-50: #F9F9F5;
  --brand-100: #F4F4EC;
  --brand-200: #E8E7D4;
  --brand-300: #DAD9B4;
  --brand-400: #C7C68F;
  --brand-500: #B4B369;
  --brand-600: #A3A152;
  --brand-700: #888644;
  --brand-800: #6D6C36;
  --brand-900: #5a592d;
  --brand-950: #32311B;
  --brand: #5a592d;
  --brand-ink: #ffffff;
}

Colors that work with #5a592d

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#FAFAF5
Tinted page background
Border#E4E3C9
Hairlines and dividers
Muted text#99974D
Captions on the surface
Accent#2A385D
Second voice, not a rival
Dark variant#55542B
Hover, pressed, headers
Light variant#F6F6EE
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 #5a592d

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

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • 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#2D2E5A
Analogous left#5A432D
Analogous right#455A2D
Split-complement 1#2D455A
Split-complement 2#432D5A
Triadic 1#2D5A59
Triadic 2#592D5A
Tetradic#2D5A43

RGB percentages

Red35.3%
Green34.9%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta1.1%
Yellow50.0%
Key (black)64.7%

Color previews

#5a592d text on a black background

contrast 2.90:1

Card sample

#5a592d text on a white background

contrast 7.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(90, 89, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(90, 89, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5a592d;
background: linear-gradient(135deg, #5a592d, #3D5A2D);

Monochromatic scale

Palettes built from #5a592d

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.

#5a592d 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.

#5a592d, answered

What color is #5a592d?

#5a592d is a dark soft yellow, closest to Dark Olive Green (ΔE2000 8.9). It sits at 59° on the hue wheel with 33% saturation and 27% lightness, which reads as warm.

What is the RGB value of #5a592d?

rgb(90, 89, 45) — 90 red, 89 green and 45 blue out of 255, or 35.3% / 34.9% / 17.6% by channel.

Is #5a592d a light or a dark color?

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

Should I use black or white text on #5a592d?

White. It scores 7.24:1 against #5a592d, versus 2.90:1 for black — AAA at any size.

What is the complementary color of #5a592d?

#2D2E5A sits directly opposite on the wheel. Softer options are the split-complements #2D455A and #432D5A, which give the same contrast with far less vibration.

What colors go well with #5a592d?

For interface work: #FAFAF5 as the surface, #E4E3C9 for borders, #99974D for secondary text, #2A385D as an accent and #55542B for hover and pressed states. For a palette, the analogous pair #5A432D and #455A2D stays calm, while #2D2E5A is the loudest partner.

What is #5a592d in CMYK for printing?

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

Is #5a592d warm or cool?

Warm — it scores 25 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5A492D; nudged cooler, #4B5B2C.

Work with #5a592d in the Color Lab