Skip to content

#4a4821

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

RGB
74, 72, 33
HSL
57°, 38%, 21%
CMYK
0, 3, 55, 71
Luminance
0.0620

At a glance

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

Hex
#4a4821
Hue
57°
yellow
Saturation
38%
soft
Lightness
21%
deep
Brightness
29%
HSV value
Perceived
27%
weighted brightness
Luminance
0.0620
WCAG relative
Temperature
Warm
23/100 cool
Color family
Yellow
Tone
Soft
Best ink
White
9.37:1
Closest name
Dark Olive Green
ΔE2000 13.4
Where it sits
Hue57° of 360°
Saturation38%
Lightness21%
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#4a4821
RGBrgb(74, 72, 33)
HSLhsl(57, 38%, 21%)
CMYKcmyk(0%, 3%, 55%, 71%)
LABlab(29.9 -5.5 23.5)
LCHlch(29.9 24.1 103.2)
OKLCHoklch(0.394 0.058 106.1)
Decimal4868129
Display P3color(display-p3 0.290 0.282 0.129)

Copy-ready code

/* CSS */
color: #4a4821;
background-color: #4a4821;
/* Tailwind (arbitrary) */
class="text-[#4a4821] bg-[#4a4821]"
/* SCSS */
$brand: #4a4821;
/* SwiftUI */
Color(red: 0.290, green: 0.282, blue: 0.129)
/* Android */
Color.parseColor("#4a4821")
/* Flutter */
Color(0xFF4A4821)
/* Python / OpenCV (BGR) */
(33, 72, 74)

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

Accessibility — WCAG contrast

Aa
#4a4821 on white: 9.37:1
AA ✓ pass · AA-large · AAA
Aa
#4a4821 on black: 2.24:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4E451D
deuteranopia · #4F4723
tritanopia · #4F443F

Color scale — 50 to 950

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

#FAF9F5
#F4F4EB
#E9E8D3
#DCDAB1
#CBC88B
#BAB664
#A9A54C
#8D893F
#716E32
#4a4821
#343219
Base = 900Lightest = 50 · #FAF9F5Darkest = 950 · #343219
:root {
  --brand-50: #FAF9F5;
  --brand-100: #F4F4EB;
  --brand-200: #E9E8D3;
  --brand-300: #DCDAB1;
  --brand-400: #CBC88B;
  --brand-500: #BAB664;
  --brand-600: #A9A54C;
  --brand-700: #8D893F;
  --brand-800: #716E32;
  --brand-900: #4a4821;
  --brand-950: #343219;
  --brand: #4a4821;
  --brand-ink: #ffffff;
}

Colors that work with #4a4821

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#E6E4C7
Hairlines and dividers
Muted text#9B974B
Captions on the surface
Accent#1F2C4C
Second voice, not a rival
Dark variant#585627
Hover, pressed, headers
Light variant#F7F7ED
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 #4a4821

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#21234A
Analogous left#4A3421
Analogous right#384A21
Split-complement 1#21384A
Split-complement 2#34214A
Triadic 1#214A48
Triadic 2#48214A
Tetradic#214A34

RGB percentages

Red29.0%
Green28.2%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta2.7%
Yellow55.4%
Key (black)71.0%

Color previews

#4a4821 text on a black background

contrast 2.24:1

Card sample

#4a4821 text on a white background

contrast 9.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(74, 72, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(74, 72, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4a4821;
background: linear-gradient(135deg, #4a4821, #314A21);

Monochromatic scale

Palettes built from #4a4821

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.

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

#4a4821, answered

What color is #4a4821?

#4a4821 is a deep soft yellow, closest to Dark Olive Green (ΔE2000 13.4). It sits at 57° on the hue wheel with 38% saturation and 21% lightness, which reads as warm.

What is the RGB value of #4a4821?

rgb(74, 72, 33) — 74 red, 72 green and 33 blue out of 255, or 29% / 28.2% / 12.9% by channel.

Is #4a4821 a light or a dark color?

It is a dark color. Relative luminance is 0.0620 and perceived brightness is 27%, so white text on it reaches 9.37:1.

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

White. It scores 9.37:1 against #4a4821, versus 2.24:1 for black — AAA at any size.

What is the complementary color of #4a4821?

#21234A sits directly opposite on the wheel. Softer options are the split-complements #21384A and #34214A, which give the same contrast with far less vibration.

What colors go well with #4a4821?

For interface work: #FAFAF4 as the surface, #E6E4C7 for borders, #9B974B for secondary text, #1F2C4C as an accent and #585627 for hover and pressed states. For a palette, the analogous pair #4A3421 and #384A21 stays calm, while #21234A is the loudest partner.

What is #4a4821 in CMYK for printing?

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

Is #4a4821 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 #4A3921; nudged cooler, #3D4B20.

Work with #4a4821 in the Color Lab