Skip to content

#3e3c21

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

RGB
62, 60, 33
HSL
56°, 31%, 19%
CMYK
0, 3, 47, 76
Luminance
0.0437

At a glance

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

Hex
#3e3c21
Hue
56°
yellow
Saturation
31%
soft
Lightness
19%
deep
Brightness
24%
HSV value
Perceived
23%
weighted brightness
Luminance
0.0437
WCAG relative
Temperature
Warm
25/100 cool
Color family
Yellow
Tone
Soft
Best ink
White
11.21:1
Closest name
Dark Olive Green
ΔE2000 17.7
Where it sits
Hue56° of 360°
Saturation31%
Lightness19%
Temperature
Warm ← → Cool25% 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#3e3c21
RGBrgb(62, 60, 33)
HSLhsl(56, 31%, 19%)
CMYKcmyk(0%, 3%, 47%, 76%)
LABlab(24.9 -3.9 17.0)
LCHlch(24.9 17.4 103.1)
OKLCHoklch(0.351 0.043 104.7)
Decimal4078625
Display P3color(display-p3 0.243 0.235 0.129)

Copy-ready code

/* CSS */
color: #3e3c21;
background-color: #3e3c21;
/* Tailwind (arbitrary) */
class="text-[#3e3c21] bg-[#3e3c21]"
/* SCSS */
$brand: #3e3c21;
/* SwiftUI */
Color(red: 0.243, green: 0.235, blue: 0.129)
/* Android */
Color.parseColor("#3e3c21")
/* Flutter */
Color(0xFF3E3C21)
/* Python / OpenCV (BGR) */
(33, 60, 62)

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

Accessibility — WCAG contrast

Aa
#3e3c21 on white: 11.21:1
AA ✓ pass · AA-large · AAA
Aa
#3e3c21 on black: 1.87:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #403A1F
deuteranopia · #413C22
tritanopia · #423935

Color scale — 50 to 950

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

#F9F9F6
#F3F3EC
#E7E6D5
#D8D6B6
#C5C191
#B1AC6D
#A09B55
#858147
#6A6739
#4E4C2C
#3e3c21
Base = 950Lightest = 50 · #F9F9F6Darkest = 950 · #3e3c21
:root {
  --brand-50: #F9F9F6;
  --brand-100: #F3F3EC;
  --brand-200: #E7E6D5;
  --brand-300: #D8D6B6;
  --brand-400: #C5C191;
  --brand-500: #B1AC6D;
  --brand-600: #A09B55;
  --brand-700: #858147;
  --brand-800: #6A6739;
  --brand-900: #4E4C2C;
  --brand-950: #3e3c21;
  --brand: #3e3c21;
  --brand-ink: #ffffff;
}

Colors that work with #3e3c21

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#FAF9F5
Tinted page background
Border#E3E1CA
Hairlines and dividers
Muted text#969150
Captions on the surface
Accent#1F2940
Second voice, not a rival
Dark variant#53512C
Hover, pressed, headers
Light variant#F6F6EE
Selected rows, tints
Dark surface#242314
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 #3e3c21

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#21233E
Analogous left#3E2D21
Analogous right#313E21
Split-complement 1#21313E
Split-complement 2#2D213E
Triadic 1#213E3C
Triadic 2#3C213E
Tetradic#213E2D

RGB percentages

Red24.3%
Green23.5%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta3.2%
Yellow46.8%
Key (black)75.7%

Color previews

#3e3c21 text on a black background

contrast 1.87:1

Card sample

#3e3c21 text on a white background

contrast 11.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3e3c21;
Background color
Panel with #3e3c21 background
background-color: #3e3c21;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #3e3c21;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(62, 60, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(62, 60, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3e3c21;
background: linear-gradient(135deg, #3e3c21, #2D3E21);

Monochromatic scale

Palettes built from #3e3c21

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.

#3e3c21 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.

#3e3c21, answered

What color is #3e3c21?

#3e3c21 is a deep soft yellow, closest to Dark Olive Green (ΔE2000 17.7). It sits at 56° on the hue wheel with 31% saturation and 19% lightness, which reads as warm.

What is the RGB value of #3e3c21?

rgb(62, 60, 33) — 62 red, 60 green and 33 blue out of 255, or 24.3% / 23.5% / 12.9% by channel.

Is #3e3c21 a light or a dark color?

It is a dark color. Relative luminance is 0.0437 and perceived brightness is 23%, so white text on it reaches 11.21:1.

Should I use black or white text on #3e3c21?

White. It scores 11.21:1 against #3e3c21, versus 1.87:1 for black — AAA at any size.

What is the complementary color of #3e3c21?

#21233E sits directly opposite on the wheel. Softer options are the split-complements #21313E and #2D213E, which give the same contrast with far less vibration.

What colors go well with #3e3c21?

For interface work: #FAF9F5 as the surface, #E3E1CA for borders, #969150 for secondary text, #1F2940 as an accent and #53512C for hover and pressed states. For a palette, the analogous pair #3E2D21 and #313E21 stays calm, while #21233E is the loudest partner.

What is #3e3c21 in CMYK for printing?

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

Is #3e3c21 warm or cool?

Warm — it scores 25 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #3E3121; nudged cooler, #363F20.

Work with #3e3c21 in the Color Lab