Skip to content

#4f5613

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

RGB
79, 86, 19
HSL
66°, 64%, 21%
CMYK
8, 0, 78, 66
Luminance
0.0836

At a glance

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

Hex
#4f5613
Hue
66°
yellow
Saturation
64%
vivid
Lightness
21%
deep
Brightness
34%
HSV value
Perceived
31%
weighted brightness
Luminance
0.0836
WCAG relative
Temperature
Warm
30/100 cool
Color family
Yellow
Tone
Vivid
Best ink
White
7.86:1
Closest name
Dark Olive Green
ΔE2000 8.3
Where it sits
Hue66° of 360°
Saturation64%
Lightness21%
Temperature
Warm ← → Cool30% 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#4f5613
RGBrgb(79, 86, 19)
HSLhsl(66, 64%, 21%)
CMYKcmyk(8%, 0%, 78%, 66%)
LABlab(34.7 -12.4 35.8)
LCHlch(34.7 37.9 109.2)
OKLCHoklch(0.433 0.088 115.4)
Decimal5199379
Display P3color(display-p3 0.310 0.337 0.075)

Copy-ready code

/* CSS */
color: #4f5613;
background-color: #4f5613;
/* Tailwind (arbitrary) */
class="text-[#4f5613] bg-[#4f5613]"
/* SCSS */
$brand: #4f5613;
/* SwiftUI */
Color(red: 0.310, green: 0.337, blue: 0.075)
/* Android */
Color.parseColor("#4f5613")
/* Flutter */
Color(0xFF4F5613)
/* Python / OpenCV (BGR) */
(19, 86, 79)

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 #4f5613 · 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: #4f5613 as text scores 7.86:1 on white and 2.67:1 on black.

Accessibility — WCAG contrast

Aa
#4f5613 on white: 7.86:1
AA ✓ pass · AA-large · AAA
Aa
#4f5613 on black: 2.67:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5D5107
deuteranopia · #5C5218
tritanopia · #555149

Color scale — 50 to 950

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

#FAFBF4
#F6F7E8
#EDF0CB
#E3EBA3
#D5E175
#C7D647
#B8C82C
#99A725
#7B861E
#4f5613
#383D10
Base = 900Lightest = 50 · #FAFBF4Darkest = 950 · #383D10
:root {
  --brand-50: #FAFBF4;
  --brand-100: #F6F7E8;
  --brand-200: #EDF0CB;
  --brand-300: #E3EBA3;
  --brand-400: #D5E175;
  --brand-500: #C7D647;
  --brand-600: #B8C82C;
  --brand-700: #99A725;
  --brand-800: #7B861E;
  --brand-900: #4f5613;
  --brand-950: #383D10;
  --brand: #4f5613;
  --brand-ink: #ffffff;
}

Colors that work with #4f5613

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#E8EDC0
Hairlines and dividers
Muted text#929B4B
Captions on the surface
Accent#111B58
Second voice, not a rival
Dark variant#606817
Hover, pressed, headers
Light variant#F9FAEA
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 #4f5613

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#1A1356
Analogous left#563C13
Analogous right#2D5613
Split-complement 1#132D56
Split-complement 2#3C1356
Triadic 1#134F56
Triadic 2#56134F
Tetradic#13563C

RGB percentages

Red31.0%
Green33.7%
Blue7.5%

CMYK percentages

Cyan8.1%
Magenta0.0%
Yellow77.9%
Key (black)66.3%

Color previews

#4f5613 text on a black background

contrast 2.67:1

Card sample

#4f5613 text on a white background

contrast 7.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(79, 86, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 86, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4f5613;
background: linear-gradient(135deg, #4f5613, #225613);

Monochromatic scale

Palettes built from #4f5613

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.

#4f5613 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.

#4f5613, answered

What color is #4f5613?

#4f5613 is a deep vivid yellow, closest to Dark Olive Green (ΔE2000 8.3). It sits at 66° on the hue wheel with 64% saturation and 21% lightness, which reads as warm.

What is the RGB value of #4f5613?

rgb(79, 86, 19) — 79 red, 86 green and 19 blue out of 255, or 31% / 33.7% / 7.5% by channel.

Is #4f5613 a light or a dark color?

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

Should I use black or white text on #4f5613?

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

What is the complementary color of #4f5613?

#1A1356 sits directly opposite on the wheel. Softer options are the split-complements #132D56 and #3C1356, which give the same contrast with far less vibration.

What colors go well with #4f5613?

For interface work: #FAFAF4 as the surface, #E8EDC0 for borders, #929B4B for secondary text, #111B58 as an accent and #606817 for hover and pressed states. For a palette, the analogous pair #563C13 and #2D5613 stays calm, while #1A1356 is the loudest partner.

What is #4f5613 in CMYK for printing?

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

Is #4f5613 warm or cool?

Warm — it scores 30 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #564513; nudged cooler, #365712.

Work with #4f5613 in the Color Lab