Skip to content

#4b5708

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

RGB
75, 87, 8
HSL
69°, 83%, 19%
CMYK
14, 0, 91, 66
Luminance
0.0833

At a glance

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

Hex
#4b5708
Hue
69°
yellow
Saturation
83%
electric
Lightness
19%
deep
Brightness
34%
HSV value
Perceived
31%
weighted brightness
Luminance
0.0833
WCAG relative
Temperature
Warm
33/100 cool
Color family
Yellow
Tone
Electric
Best ink
White
7.88:1
Closest name
Dark Olive Green
ΔE2000 8.2
Where it sits
Hue69° of 360°
Saturation83%
Lightness19%
Temperature
Warm ← → Cool33% 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#4b5708
RGBrgb(75, 87, 8)
HSLhsl(69, 83%, 19%)
CMYKcmyk(14%, 0%, 91%, 66%)
LABlab(34.7 -15.4 39.4)
LCHlch(34.7 42.3 111.4)
OKLCHoklch(0.431 0.097 118.8)
Decimal4937480
Display P3color(display-p3 0.294 0.341 0.031)

Copy-ready code

/* CSS */
color: #4b5708;
background-color: #4b5708;
/* Tailwind (arbitrary) */
class="text-[#4b5708] bg-[#4b5708]"
/* SCSS */
$brand: #4b5708;
/* SwiftUI */
Color(red: 0.294, green: 0.341, blue: 0.031)
/* Android */
Color.parseColor("#4b5708")
/* Flutter */
Color(0xFF4B5708)
/* Python / OpenCV (BGR) */
(8, 87, 75)

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 #4b5708 · 7.88:1
Use #ffffffAAA at every size.
Aa
White text · 7.88: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: #4b5708 as text scores 7.88:1 on white and 2.67:1 on black.

Accessibility — WCAG contrast

Aa
#4b5708 on white: 7.88:1
AA ✓ pass · AA-large · AAA
Aa
#4b5708 on black: 2.67:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5D5100
deuteranopia · #5C5211
tritanopia · #505249

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #4b5708 is pinned to step 950; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FBFCF2
#F7FAE6
#EFF6C6
#E7F698
#DCF165
#D0EC31
#C1E015
#A1BB11
#81950E
#5E6C0E
#4b5708
Base = 950Lightest = 50 · #FBFCF2Darkest = 950 · #4b5708
:root {
  --brand-50: #FBFCF2;
  --brand-100: #F7FAE6;
  --brand-200: #EFF6C6;
  --brand-300: #E7F698;
  --brand-400: #DCF165;
  --brand-500: #D0EC31;
  --brand-600: #C1E015;
  --brand-700: #A1BB11;
  --brand-800: #81950E;
  --brand-900: #5E6C0E;
  --brand-950: #4b5708;
  --brand: #4b5708;
  --brand-ink: #ffffff;
}

Colors that work with #4b5708

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#F9FAF4
Tinted page background
Border#E6EDC0
Hairlines and dividers
Muted text#8F9B4B
Captions on the surface
Accent#060E59
Second voice, not a rival
Dark variant#65750B
Hover, pressed, headers
Light variant#FAFDE8
Selected rows, tints
Dark surface#222414
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 #4b5708

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#140857
Analogous left#573B08
Analogous right#235708
Split-complement 1#082357
Split-complement 2#3B0857
Triadic 1#084B57
Triadic 2#57084B
Tetradic#08573B

RGB percentages

Red29.4%
Green34.1%
Blue3.1%

CMYK percentages

Cyan13.8%
Magenta0.0%
Yellow90.8%
Key (black)65.9%

Color previews

#4b5708 text on a black background

contrast 2.67:1

Card sample

#4b5708 text on a white background

contrast 7.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(75, 87, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(75, 87, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4b5708;
background: linear-gradient(135deg, #4b5708, #165708);

Monochromatic scale

Palettes built from #4b5708

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.

#4b5708 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#4b5708, answered

What color is #4b5708?

#4b5708 is a deep electric yellow, closest to Dark Olive Green (ΔE2000 8.2). It sits at 69° on the hue wheel with 83% saturation and 19% lightness, which reads as warm.

What is the RGB value of #4b5708?

rgb(75, 87, 8) — 75 red, 87 green and 8 blue out of 255, or 29.4% / 34.1% / 3.1% by channel.

Is #4b5708 a light or a dark color?

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

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

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

What is the complementary color of #4b5708?

#140857 sits directly opposite on the wheel. Softer options are the split-complements #082357 and #3B0857, which give the same contrast with far less vibration.

What colors go well with #4b5708?

For interface work: #F9FAF4 as the surface, #E6EDC0 for borders, #8F9B4B for secondary text, #060E59 as an accent and #65750B for hover and pressed states. For a palette, the analogous pair #573B08 and #235708 stays calm, while #140857 is the loudest partner.

What is #4b5708 in CMYK for printing?

cmyk(14%, 0%, 91%, 66%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #4b5708 warm or cool?

Warm — it scores 33 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #574608; nudged cooler, #2E5807.

Work with #4b5708 in the Color Lab