Skip to content

#4a4e21

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

RGB
74, 78, 33
HSL
65°, 41%, 22%
CMYK
5, 0, 58, 69
Luminance
0.0701

At a glance

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

Hex
#4a4e21
Hue
65°
yellow
Saturation
41%
soft
Lightness
22%
deep
Brightness
31%
HSV value
Perceived
29%
weighted brightness
Luminance
0.0701
WCAG relative
Temperature
Warm
29/100 cool
Color family
Yellow
Tone
Soft
Best ink
White
8.74:1
Closest name
Dark Olive Green
ΔE2000 10.6
Where it sits
Hue65° of 360°
Saturation41%
Lightness22%
Temperature
Warm ← → Cool29% 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#4a4e21
RGBrgb(74, 78, 33)
HSLhsl(65, 41%, 22%)
CMYKcmyk(5%, 0%, 58%, 69%)
LABlab(31.8 -9.1 25.8)
LCHlch(31.8 27.3 109.5)
OKLCHoklch(0.409 0.066 113.5)
Decimal4869665
Display P3color(display-p3 0.290 0.306 0.129)

Copy-ready code

/* CSS */
color: #4a4e21;
background-color: #4a4e21;
/* Tailwind (arbitrary) */
class="text-[#4a4e21] bg-[#4a4e21]"
/* SCSS */
$brand: #4a4e21;
/* SwiftUI */
Color(red: 0.290, green: 0.306, blue: 0.129)
/* Android */
Color.parseColor("#4a4e21")
/* Flutter */
Color(0xFF4A4E21)
/* Python / OpenCV (BGR) */
(33, 78, 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 #4a4e21 · 8.74:1
Use #ffffffAAA at every size.
Aa
White text · 8.74:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.40:1
AA fail · AA large fail · AAA fail
Reading the other direction: #4a4e21 as text scores 8.74:1 on white and 2.40:1 on black.

Accessibility — WCAG contrast

Aa
#4a4e21 on white: 8.74:1
AA ✓ pass · AA-large · AAA
Aa
#4a4e21 on black: 2.40:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #534A1D
deuteranopia · #534B23
tritanopia · #4F4A44

Color scale — 50 to 950

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

#F9FAF5
#F4F5EB
#E8EAD2
#DADEB0
#C7CD89
#B4BC61
#A3AC49
#888F3D
#6D7331
#4a4e21
#323518
Base = 900Lightest = 50 · #F9FAF5Darkest = 950 · #323518
:root {
  --brand-50: #F9FAF5;
  --brand-100: #F4F5EB;
  --brand-200: #E8EAD2;
  --brand-300: #DADEB0;
  --brand-400: #C7CD89;
  --brand-500: #B4BC61;
  --brand-600: #A3AC49;
  --brand-700: #888F3D;
  --brand-800: #6D7331;
  --brand-900: #4a4e21;
  --brand-950: #323518;
  --brand: #4a4e21;
  --brand-ink: #ffffff;
}

Colors that work with #4a4e21

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#E4E7C6
Hairlines and dividers
Muted text#949B4B
Captions on the surface
Accent#1F2750
Second voice, not a rival
Dark variant#555A26
Hover, pressed, headers
Light variant#F7F7ED
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 #4a4e21

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#25214E
Analogous left#4E3C21
Analogous right#344E21
Split-complement 1#21344E
Split-complement 2#3C214E
Triadic 1#214A4E
Triadic 2#4E214A
Tetradic#214E3C

RGB percentages

Red29.0%
Green30.6%
Blue12.9%

CMYK percentages

Cyan5.1%
Magenta0.0%
Yellow57.7%
Key (black)69.4%

Color previews

#4a4e21 text on a black background

contrast 2.40:1

Card sample

#4a4e21 text on a white background

contrast 8.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4a4e21

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.

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

#4a4e21, answered

What color is #4a4e21?

#4a4e21 is a deep soft yellow, closest to Dark Olive Green (ΔE2000 10.6). It sits at 65° on the hue wheel with 41% saturation and 22% lightness, which reads as warm.

What is the RGB value of #4a4e21?

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

Is #4a4e21 a light or a dark color?

It is a dark color. Relative luminance is 0.0701 and perceived brightness is 29%, so white text on it reaches 8.74:1.

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

White. It scores 8.74:1 against #4a4e21, versus 2.40:1 for black — AAA at any size.

What is the complementary color of #4a4e21?

#25214E sits directly opposite on the wheel. Softer options are the split-complements #21344E and #3C214E, which give the same contrast with far less vibration.

What colors go well with #4a4e21?

For interface work: #FAFAF4 as the surface, #E4E7C6 for borders, #949B4B for secondary text, #1F2750 as an accent and #555A26 for hover and pressed states. For a palette, the analogous pair #4E3C21 and #344E21 stays calm, while #25214E is the loudest partner.

What is #4a4e21 in CMYK for printing?

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

Is #4a4e21 warm or cool?

Warm — it scores 29 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #4E4221; nudged cooler, #3A4F20.

Work with #4a4e21 in the Color Lab