Skip to content

#5f5113

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

RGB
95, 81, 19
HSL
49°, 67%, 22%
CMYK
0, 15, 80, 63
Luminance
0.0836

At a glance

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

Hex
#5f5113
Hue
49°
yellow
Saturation
67%
vivid
Lightness
22%
deep
Brightness
37%
HSV value
Perceived
32%
weighted brightness
Luminance
0.0836
WCAG relative
Temperature
Warm
16/100 cool
Color family
Yellow
Tone
Vivid
Best ink
White
7.86:1
Closest name
Dark Olive Green
ΔE2000 14.2
Where it sits
Hue49° of 360°
Saturation67%
Lightness22%
Temperature
Warm ← → Cool16% 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#5f5113
RGBrgb(95, 81, 19)
HSLhsl(49, 67%, 22%)
CMYKcmyk(0%, 15%, 80%, 63%)
LABlab(34.7 -1.6 36.3)
LCHlch(34.7 36.4 92.5)
OKLCHoklch(0.437 0.080 95.8)
Decimal6246675
Display P3color(display-p3 0.373 0.318 0.075)

Copy-ready code

/* CSS */
color: #5f5113;
background-color: #5f5113;
/* Tailwind (arbitrary) */
class="text-[#5f5113] bg-[#5f5113]"
/* SCSS */
$brand: #5f5113;
/* SwiftUI */
Color(red: 0.373, green: 0.318, blue: 0.075)
/* Android */
Color.parseColor("#5f5113")
/* Flutter */
Color(0xFF5F5113)
/* Python / OpenCV (BGR) */
(19, 81, 95)

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

Accessibility — WCAG contrast

Aa
#5f5113 on white: 7.86:1
AA ✓ pass · AA-large · AAA
Aa
#5f5113 on black: 2.67:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5A4F08
deuteranopia · #5E5417
tritanopia · #674A45

Color scale — 50 to 950

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

#FBFAF3
#F8F5E8
#F1EACA
#ECDEA1
#E3CE73
#DABE44
#CCAE29
#AA9122
#88741B
#5f5113
#3E350F
Base = 900Lightest = 50 · #FBFAF3Darkest = 950 · #3E350F
:root {
  --brand-50: #FBFAF3;
  --brand-100: #F8F5E8;
  --brand-200: #F1EACA;
  --brand-300: #ECDEA1;
  --brand-400: #E3CE73;
  --brand-500: #DABE44;
  --brand-600: #CCAE29;
  --brand-700: #AA9122;
  --brand-800: #88741B;
  --brand-900: #5f5113;
  --brand-950: #3E350F;
  --brand: #5f5113;
  --brand-ink: #ffffff;
}

Colors that work with #5f5113

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#FAF9F4
Tinted page background
Border#EDE4C0
Hairlines and dividers
Muted text#9B8C4B
Captions on the surface
Accent#113462
Second voice, not a rival
Dark variant#6A5B15
Hover, pressed, headers
Light variant#FBF8EA
Selected rows, tints
Dark surface#242114
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 #5f5113

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#13215F
Analogous left#5F2B13
Analogous right#475F13
Split-complement 1#13475F
Split-complement 2#2B135F
Triadic 1#135F51
Triadic 2#51135F
Tetradic#135F2B

RGB percentages

Red37.3%
Green31.8%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta14.7%
Yellow80.0%
Key (black)62.7%

Color previews

#5f5113 text on a black background

contrast 2.67:1

Card sample

#5f5113 text on a white background

contrast 7.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(95, 81, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(95, 81, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5f5113;
background: linear-gradient(135deg, #5f5113, #3B5F13);

Monochromatic scale

Palettes built from #5f5113

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.

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

#5f5113, answered

What color is #5f5113?

#5f5113 is a deep vivid yellow, closest to Dark Olive Green (ΔE2000 14.2). It sits at 49° on the hue wheel with 67% saturation and 22% lightness, which reads as warm.

What is the RGB value of #5f5113?

rgb(95, 81, 19) — 95 red, 81 green and 19 blue out of 255, or 37.3% / 31.8% / 7.5% by channel.

Is #5f5113 a light or a dark color?

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

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

White. It scores 7.86:1 against #5f5113, versus 2.67:1 for black — AAA at any size.

What is the complementary color of #5f5113?

#13215F sits directly opposite on the wheel. Softer options are the split-complements #13475F and #2B135F, which give the same contrast with far less vibration.

What colors go well with #5f5113?

For interface work: #FAF9F4 as the surface, #EDE4C0 for borders, #9B8C4B for secondary text, #113462 as an accent and #6A5B15 for hover and pressed states. For a palette, the analogous pair #5F2B13 and #475F13 stays calm, while #13215F is the loudest partner.

What is #5f5113 in CMYK for printing?

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

Is #5f5113 warm or cool?

Warm — it scores 16 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5F3B13; nudged cooler, #526012.

Work with #5f5113 in the Color Lab