Skip to content

#56502f

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

RGB
86, 80, 47
HSL
51°, 29%, 26%
CMYK
0, 7, 45, 66
Luminance
0.0792

At a glance

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

Hex
#56502f
Hue
51°
yellow
Saturation
29%
soft
Lightness
26%
dark
Brightness
34%
HSV value
Perceived
31%
weighted brightness
Luminance
0.0792
WCAG relative
Temperature
Warm
23/100 cool
Color family
Yellow
Tone
Soft
Best ink
White
8.13:1
Closest name
Dark Olive Green
ΔE2000 13.1
Where it sits
Hue51° of 360°
Saturation29%
Lightness26%
Temperature
Warm ← → Cool23% 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#56502f
RGBrgb(86, 80, 47)
HSLhsl(51, 29%, 26%)
CMYKcmyk(0%, 7%, 45%, 66%)
LABlab(33.8 -3.0 20.3)
LCHlch(33.8 20.5 98.3)
OKLCHoklch(0.428 0.050 99.2)
Decimal5656623
Display P3color(display-p3 0.337 0.314 0.184)

Copy-ready code

/* CSS */
color: #56502f;
background-color: #56502f;
/* Tailwind (arbitrary) */
class="text-[#56502f] bg-[#56502f]"
/* SCSS */
$brand: #56502f;
/* SwiftUI */
Color(red: 0.337, green: 0.314, blue: 0.184)
/* Android */
Color.parseColor("#56502f")
/* Flutter */
Color(0xFF56502F)
/* Python / OpenCV (BGR) */
(47, 80, 86)

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

Accessibility — WCAG contrast

Aa
#56502f on white: 8.13:1
AA ✓ pass · AA-large · AAA
Aa
#56502f on black: 2.58:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #564E2C
deuteranopia · #585130
tritanopia · #5B4C48

Color scale — 50 to 950

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

#F9F9F6
#F3F2EC
#E6E4D5
#D7D2B6
#C4BC92
#B0A66E
#9E9357
#847B48
#6A623A
#56502f
#312D1C
Base = 900Lightest = 50 · #F9F9F6Darkest = 950 · #312D1C
:root {
  --brand-50: #F9F9F6;
  --brand-100: #F3F2EC;
  --brand-200: #E6E4D5;
  --brand-300: #D7D2B6;
  --brand-400: #C4BC92;
  --brand-500: #B0A66E;
  --brand-600: #9E9357;
  --brand-700: #847B48;
  --brand-800: #6A623A;
  --brand-900: #56502f;
  --brand-950: #312D1C;
  --brand: #56502f;
  --brand-ink: #ffffff;
}

Colors that work with #56502f

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#FAF9F5
Tinted page background
Border#E2DECA
Hairlines and dividers
Muted text#948A51
Captions on the surface
Accent#2C3E59
Second voice, not a rival
Dark variant#524D2D
Hover, pressed, headers
Light variant#F6F5EF
Selected rows, tints
Dark surface#242214
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 #56502f

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#2F3556
Analogous left#563D2F
Analogous right#49562F
Split-complement 1#2F4956
Split-complement 2#3D2F56
Triadic 1#2F5650
Triadic 2#502F56
Tetradic#2F563D

RGB percentages

Red33.7%
Green31.4%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta7.0%
Yellow45.3%
Key (black)66.3%

Color previews

#56502f text on a black background

contrast 2.58:1

Card sample

#56502f text on a white background

contrast 8.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(86, 80, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(86, 80, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #56502f;
background: linear-gradient(135deg, #56502f, #42562F);

Monochromatic scale

Palettes built from #56502f

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.

#56502f 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.

#56502f, answered

What color is #56502f?

#56502f is a dark soft yellow, closest to Dark Olive Green (ΔE2000 13.1). It sits at 51° on the hue wheel with 29% saturation and 26% lightness, which reads as warm.

What is the RGB value of #56502f?

rgb(86, 80, 47) — 86 red, 80 green and 47 blue out of 255, or 33.7% / 31.4% / 18.4% by channel.

Is #56502f a light or a dark color?

It is a dark color. Relative luminance is 0.0792 and perceived brightness is 31%, so white text on it reaches 8.13:1.

Should I use black or white text on #56502f?

White. It scores 8.13:1 against #56502f, versus 2.58:1 for black — AAA at any size.

What is the complementary color of #56502f?

#2F3556 sits directly opposite on the wheel. Softer options are the split-complements #2F4956 and #3D2F56, which give the same contrast with far less vibration.

What colors go well with #56502f?

For interface work: #FAF9F5 as the surface, #E2DECA for borders, #948A51 for secondary text, #2C3E59 as an accent and #524D2D for hover and pressed states. For a palette, the analogous pair #563D2F and #49562F stays calm, while #2F3556 is the loudest partner.

What is #56502f in CMYK for printing?

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

Is #56502f warm or cool?

Warm — it scores 23 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #56422F; nudged cooler, #4E572E.

Work with #56502f in the Color Lab