Skip to content

#393d1c

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

RGB
57, 61, 28
HSL
67°, 37%, 18%
CMYK
7, 0, 54, 76
Luminance
0.0429

At a glance

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

Hex
#393d1c
Hue
67°
yellow
Saturation
37%
soft
Lightness
18%
deep
Brightness
24%
HSV value
Perceived
22%
weighted brightness
Luminance
0.0429
WCAG relative
Temperature
Warm
31/100 cool
Color family
Yellow
Tone
Soft
Best ink
White
11.30:1
Closest name
Dark Olive Green
ΔE2000 16.1
Where it sits
Hue67° of 360°
Saturation37%
Lightness18%
Temperature
Warm ← → Cool31% 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#393d1c
RGBrgb(57, 61, 28)
HSLhsl(67, 37%, 18%)
CMYKcmyk(7%, 0%, 54%, 76%)
LABlab(24.6 -7.7 19.7)
LCHlch(24.6 21.1 111.3)
OKLCHoklch(0.347 0.052 114.8)
Decimal3751196
Display P3color(display-p3 0.224 0.239 0.110)

Copy-ready code

/* CSS */
color: #393d1c;
background-color: #393d1c;
/* Tailwind (arbitrary) */
class="text-[#393d1c] bg-[#393d1c]"
/* SCSS */
$brand: #393d1c;
/* SwiftUI */
Color(red: 0.224, green: 0.239, blue: 0.110)
/* Android */
Color.parseColor("#393d1c")
/* Flutter */
Color(0xFF393D1C)
/* Python / OpenCV (BGR) */
(28, 61, 57)

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

Accessibility — WCAG contrast

Aa
#393d1c on white: 11.30:1
AA ✓ pass · AA-large · AAA
Aa
#393d1c on black: 1.86:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #413A19
deuteranopia · #413B1E
tritanopia · #3C3A35

Color scale — 50 to 950

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

#F9FAF5
#F3F4EB
#E6E9D3
#D7DCB2
#C2CA8C
#AEB865
#9DA84D
#838C40
#697033
#4D5228
#393d1c
Base = 950Lightest = 50 · #F9FAF5Darkest = 950 · #393d1c
:root {
  --brand-50: #F9FAF5;
  --brand-100: #F3F4EB;
  --brand-200: #E6E9D3;
  --brand-300: #D7DCB2;
  --brand-400: #C2CA8C;
  --brand-500: #AEB865;
  --brand-600: #9DA84D;
  --brand-700: #838C40;
  --brand-800: #697033;
  --brand-900: #4D5228;
  --brand-950: #393d1c;
  --brand: #393d1c;
  --brand-ink: #ffffff;
}

Colors that work with #393d1c

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#F9FAF5
Tinted page background
Border#E2E5C7
Hairlines and dividers
Muted text#919B4B
Captions on the surface
Accent#1A1F3F
Second voice, not a rival
Dark variant#525728
Hover, pressed, headers
Light variant#F6F7EE
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 #393d1c

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#201C3D
Analogous left#3D311C
Analogous right#293D1C
Split-complement 1#1C293D
Split-complement 2#311C3D
Triadic 1#1C393D
Triadic 2#3D1C39
Tetradic#1C3D31

RGB percentages

Red22.4%
Green23.9%
Blue11.0%

CMYK percentages

Cyan6.6%
Magenta0.0%
Yellow54.1%
Key (black)76.1%

Color previews

#393d1c text on a black background

contrast 1.86:1

Card sample

#393d1c text on a white background

contrast 11.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #393d1c;
Background color
Panel with #393d1c background
background-color: #393d1c;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #393d1c;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(57, 61, 28, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(57, 61, 28, 0.45);
Border & gradient
Gradient panel
border: 3px solid #393d1c;
background: linear-gradient(135deg, #393d1c, #233D1C);

Monochromatic scale

Palettes built from #393d1c

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.

#393d1c 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.

#393d1c, answered

What color is #393d1c?

#393d1c is a deep soft yellow, closest to Dark Olive Green (ΔE2000 16.1). It sits at 67° on the hue wheel with 37% saturation and 18% lightness, which reads as warm.

What is the RGB value of #393d1c?

rgb(57, 61, 28) — 57 red, 61 green and 28 blue out of 255, or 22.4% / 23.9% / 11% by channel.

Is #393d1c a light or a dark color?

It is a dark color. Relative luminance is 0.0429 and perceived brightness is 22%, so white text on it reaches 11.30:1.

Should I use black or white text on #393d1c?

White. It scores 11.30:1 against #393d1c, versus 1.86:1 for black — AAA at any size.

What is the complementary color of #393d1c?

#201C3D sits directly opposite on the wheel. Softer options are the split-complements #1C293D and #311C3D, which give the same contrast with far less vibration.

What colors go well with #393d1c?

For interface work: #F9FAF5 as the surface, #E2E5C7 for borders, #919B4B for secondary text, #1A1F3F as an accent and #525728 for hover and pressed states. For a palette, the analogous pair #3D311C and #293D1C stays calm, while #201C3D is the loudest partner.

What is #393d1c in CMYK for printing?

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

Is #393d1c warm or cool?

Warm — it scores 31 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #3D351C; nudged cooler, #2D3E1B.

Work with #393d1c in the Color Lab