#4c4021
a deep, soft yellow · warm · closest name: Dark Olive Green
At a glance
Every number on this page in one read: what #4c4021 is made of, how bright it looks, and which way it leans.
Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #4c4021 |
| RGB | rgb(76, 64, 33) |
| HSL | hsl(43, 39%, 21%) |
| CMYK | cmyk(0%, 16%, 57%, 70%) |
| LAB | lab(27.6 0.5 20.8) |
| LCH | lch(27.6 20.8 88.7) |
| OKLCH | oklch(0.376 0.050 88.8) |
| Decimal | 4997153 |
| Display P3 | color(display-p3 0.298 0.251 0.129) |
Copy-ready code
/* CSS */
color: #4c4021;
background-color: #4c4021;
/* Tailwind (arbitrary) */
class="text-[#4c4021] bg-[#4c4021]"
/* SCSS */
$brand: #4c4021;
/* SwiftUI */
Color(red: 0.298, green: 0.251, blue: 0.129)
/* Android */
Color.parseColor("#4c4021")
/* Flutter */
Color(0xFF4C4021)
/* Python / OpenCV (BGR) */
(33, 64, 76)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #4c4021 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.
:root {
--brand-50: #FAF8F5;
--brand-100: #F4F2EB;
--brand-200: #E9E3D2;
--brand-300: #DDD1B1;
--brand-400: #CCBA8A;
--brand-500: #BBA263;
--brand-600: #AB904A;
--brand-700: #8E783E;
--brand-800: #726031;
--brand-900: #4c4021;
--brand-950: #342C18;
--brand: #4c4021;
--brand-ink: #ffffff;
}Colors that work with #4c4021
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #4c4021
Derived from its contrast, chroma and lightness — not from taste.
- ✓Body text and links on white
- ✓Charts, tags and secondary surfaces
- ✓Headers, footers and dark-mode surfaces
- ✓Brand accents, badges and data highlights
- ⚠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 | #212D4C | Directly opposite — maximum tension | |
| Analogous left | #4C2B21 | Neighbour, quieter | |
| Analogous right | #434C21 | Neighbour, quieter | |
| Split-complement 1 | #21434C | Contrast without the clash | |
| Split-complement 2 | #2B214C | Contrast without the clash | |
| Triadic 1 | #214C40 | Even thirds — balanced and loud | |
| Triadic 2 | #40214C | Even thirds — balanced and loud | |
| Tetradic | #214C2B | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#4c4021 text on a black background
contrast 2.06:1
#4c4021 text on a white background
contrast 10.18:1
CSS3 live lab
The quick brown fox
color: #4c4021;
background-color: #4c4021;
Glowing headline
text-shadow: 2px 2px 8px #4c4021;
Soft neon halo
text-shadow: 0 0 14px rgba(76, 64, 33, 0.45);
box-shadow: 0 12px 32px -8px rgba(76, 64, 33, 0.45);
border: 3px solid #4c4021; background: linear-gradient(135deg, #4c4021, #3B4C21);
Monochromatic scale
Palettes built from #4c4021
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.
Closest color with a full write-up: Taupe (#483c32) — ΔE2000 9.2 away, with its history, psychology and brand usage.
#4c4021 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#4c4021, answered
What color is #4c4021?
#4c4021 is a deep soft yellow, closest to Dark Olive Green (ΔE2000 18.6). It sits at 43° on the hue wheel with 39% saturation and 21% lightness, which reads as warm.
What is the RGB value of #4c4021?
rgb(76, 64, 33) — 76 red, 64 green and 33 blue out of 255, or 29.8% / 25.1% / 12.9% by channel.
Is #4c4021 a light or a dark color?
It is a dark color. Relative luminance is 0.0531 and perceived brightness is 26%, so white text on it reaches 10.18:1.
Should I use black or white text on #4c4021?
White. It scores 10.18:1 against #4c4021, versus 2.06:1 for black — AAA at any size.
What is the complementary color of #4c4021?
#212D4C sits directly opposite on the wheel. Softer options are the split-complements #21434C and #2B214C, which give the same contrast with far less vibration.
What colors go well with #4c4021?
For interface work: #FAF9F4 as the surface, #E6DDC6 for borders, #9B854B for secondary text, #1F384E as an accent and #594B27 for hover and pressed states. For a palette, the analogous pair #4C2B21 and #434C21 stays calm, while #212D4C is the loudest partner.
What is #4c4021 in CMYK for printing?
cmyk(0%, 16%, 57%, 70%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #4c4021 warm or cool?
Warm — it scores 11 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #4C3521; nudged cooler, #494D20.