#393d1c
a deep, soft yellow · warm · closest name: Dark Olive Green
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.
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 |
| RGB | rgb(57, 61, 28) |
| HSL | hsl(67, 37%, 18%) |
| CMYK | cmyk(7%, 0%, 54%, 76%) |
| LAB | lab(24.6 -7.7 19.7) |
| LCH | lch(24.6 21.1 111.3) |
| OKLCH | oklch(0.347 0.052 114.8) |
| Decimal | 3751196 |
| Display P3 | color(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.
Accessibility — WCAG contrast
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.
: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.
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 #393d1c
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 | #201C3D | Directly opposite — maximum tension | |
| Analogous left | #3D311C | Neighbour, quieter | |
| Analogous right | #293D1C | Neighbour, quieter | |
| Split-complement 1 | #1C293D | Contrast without the clash | |
| Split-complement 2 | #311C3D | Contrast without the clash | |
| Triadic 1 | #1C393D | Even thirds — balanced and loud | |
| Triadic 2 | #3D1C39 | Even thirds — balanced and loud | |
| Tetradic | #1C3D31 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#393d1c text on a black background
contrast 1.86:1
#393d1c text on a white background
contrast 11.30:1
CSS3 live lab
The quick brown fox
color: #393d1c;
background-color: #393d1c;
Glowing headline
text-shadow: 2px 2px 8px #393d1c;
Soft neon halo
text-shadow: 0 0 14px rgba(57, 61, 28, 0.45);
box-shadow: 0 12px 32px -8px rgba(57, 61, 28, 0.45);
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.
Closest color with a full write-up: Ebony (#555d50) — ΔE2000 13.7 away, with its history, psychology and brand usage.
#393d1c 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.
#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.