Closest web-safe match: #333333

Color Details and Palettes for #38381E

Details about the color Madras#38381E

Conversions, palettes, contrast & design ideas for this color.

Yellow family Warm WCAG ink: white
HEX #38381E RGB rgb(56, 56, 30) HSL hsl(60, 30%, 17%) CMYK cmyk(0%, 0%, 46%, 78%)

Color profile

About Color Hex #38381E

#38381E is a warm color from the Yellow family, closest in name to “Madras”. In RGB it is rgb(56, 56, 30); in HSL, hsl(60, 30%, 17%).

The color Madras, with hexadecimal code #38381e, resides in the yellow color family, the most visible hue in the spectrum. Yellow radiates optimism, intellect, and cheerful energy—qualities that made it the imperial color of ancient China. Additionally, it evokes emotions such as Happiness, Optimism, Positivity, Intellect and Energy. Yellow represents wealth, glory, and wisdom in various cultures, including being the color of royalty in ancient China. It is also associated with happiness and optimism in many Western cultures. With a moderate saturation of 30%, it has a softened, muted quality that lends sophistication and works well for backgrounds and secondary elements. At only 17% lightness, this extremely dark shade approaches black, delivering maximum drama and contrast when paired with lighter elements. This color is ideal for designs that aim to express Happiness, Optimism, Positivity, Intellect, or Energy. It can be effectively used in web design, branding, and marketing materials to attract attention and convey specific messages.

Key facts

RGB 56, 56, 30 red · green · blue HSL 60° 30% 17% hue · sat · light HSV 60° 46% 22% design-app pickers CMYK 0 0 46 78 print inks, % Luminance 0.038 0 dark → 1 light On black 1.75:1 ✕ AA contrast ratio On white 11.98:1 ✓ AA contrast ratio Web-safe #333333 closest web-safe Best text white ideal foreground Character Vivid warm · yellow family

The story of this color

History, Usage, Psychology & Design Ideas for #38381E

Madras (#38381E) belongs to the Yellow color family.

This deep, saturated shade conveys authority and richness. Deep tones are favored in luxury packaging, evening-event branding, and dark-mode interfaces where they provide dramatic contrast against lighter elements.

Historical Background

Yellow ochre was one of the first pigments used in cave art, and later Egyptians produced orpiment—a toxic arsenic-based yellow—for tomb paintings. In imperial China, only the emperor could wear bright yellow, making it the most restricted color in the nation. Van Gogh famously obsessed over chrome yellow, using it lavishly in his Sunflowers series and Arles landscapes.

Design & Usage Tips

Yellow is the most visible color in daylight, which is why it dominates warning signs, taxi cabs, and highlighter pens. Use it for attention-grabbing headlines or promotional banners, but ensure sufficient contrast with text—dark gray or black on yellow maintains readability. Avoid large yellow backgrounds on screens, as they can cause eye fatigue.

Positioned on the warm side of the color wheel (hue 60°), it naturally draws the eye and creates a sense of closeness—making it effective for calls to action, food photography, and hospitality branding. At 30% saturation, the color has a muted, sophisticated quality that pairs well with bolder accents. It works as a background, a border, or a secondary element in layered compositions.

Psychological Impact

Yellow radiates optimism, intellect, and energy. It stimulates mental activity and generates a sense of cheerfulness, which makes it popular in children's products and educational materials. However, overly bright yellows can provoke anxiety, so context and tone matter.

Its low lightness of 17% gives it a deep, intense presence. Deep tones like this excel as dark-mode backgrounds, header bars, and anywhere a sense of gravity or luxury is desired.

Creative Design Ideas

Pair canary yellow with charcoal for a modern, high-contrast editorial style. Use soft butter yellow as a background for recipe blogs or lifestyle content to evoke warmth. In branding, a yellow logomark on a white background signals innovation and forward-thinking (think Snapchat or National Geographic).

Every format

#38381E Color Conversions

Every way to write Madras — one-tap copy on every format; tap on any card to learn what it is and when to use it.

12 formats
HEX Web
#38381E

Hexadecimal is the web’s universal color notation — two digits each for red, green and blue. Drop it straight into HTML, CSS or any design tool.

RGB Screen
rgb(56, 56, 30)

RGB is the additive Red-Green-Blue model every screen uses to emit light. The default choice for websites, apps and on-screen UI.

HSL Web
hsl(60, 30%, 17%)

HSL breaks a color into Hue, Saturation and Lightness — the most intuitive way to lighten, darken or mute a color in CSS.

HSV HSB Design
hsv(60, 46%, 22%)

HSV (also called HSB) maps Hue, Saturation and Value/Brightness. It is the model behind the color pickers in Photoshop, Figma and most design apps.

HWB CSS 4
hwb(60 12% 78%)

HWB blends a pure hue with Whiteness and Blackness — a painter-friendly model added in CSS Color 4 for quick tints and shades.

CMYK Print
cmyk(0%, 0%, 46%, 78%)

CMYK is the subtractive Cyan-Magenta-Yellow-Black ink model. Use these values when preparing artwork for a printer or commercial press.

OKLCH Modern
oklch(33.34% 0.042 108.46)

OKLCH is a modern, perceptually-uniform space (Lightness, Chroma, Hue). It powers smooth gradients and accessible palettes in today’s CSS.

OKLab Modern
oklab(33.34% -0.013 0.039)

OKLab is the Cartesian form of OKLCH — ideal for blending and interpolating colors without the muddy midpoints older spaces produce.

CIELAB L*a*b* Perceptual
L: 22.87, a: -4.77, b: 16.24

CIELAB is a device-independent, perceptually-uniform space. It is the standard for measuring color difference (ΔE) and matching across devices.

LCH Perceptual
L: 22.87, C: 16.93, H: 106.38

LCH is CIELAB in cylindrical form — Lightness, Chroma and Hue — letting you adjust vividness and hue while staying perceptually even.

XYZ CIE Science
X: 3.28, Y: 3.76, Z: 1.78

CIE XYZ is the 1931 master space that underpins every other model here — the scientific bridge used to convert between color systems.

Decimal int Code
3684382

The 24-bit integer value of the color — handy for databases, APIs, game engines and low-level graphics code.

Channel breakdown

RGB Color Percentages for #38381E

How much red, green and blue light mixes into Madras.

Red 56/255 39.4% Green 56/255 39.4% Blue 30/255 21.1%

Percentages show each channel's share of the total light (R + G + B) in Madras.

Ink coverage

CMYK Ink Levels & Print Guide for #38381E

Ink needed to reproduce Madras in four-color print. Heaviest ink: Key (Black).

0% CYAN 0% MAGENTA 46% YELLOW 78% KEY

Print tip: treat these values as a starting point — final output depends on printer profile, paper stock and calibration.

Accessibility · WCAG

Luminance & Contrast for #38381E

How bright Madras is, and how far black and white text clear each WCAG bar.

Relative luminance 0.038
0 · dark1 · light

Contrast ratio · 1:1 → 21:1 (log scale)

Aa Black text 1.75:1 ✕ AA ✕ AAA ✕ Large
Aa White text 11.98:1 ✓ AA ✓ AAA ✓ Large

Developer shortcuts

Quick CSS Snippets for #38381E

Copy-and-paste CSS for Madras — per-line copy, or grab the whole block.

madras.css
background-color: #38381E;
color: #38381E;
border: 2px solid #38381E;
background-color: rgb(56, 56, 30);
background-color: hsl(60, 30%, 17%);
--color: #38381E;

Shades · light to dark

#38381E Monochrome Palette

Lighter and darker steps of Madras — the color's full brightness range in one strip.

#EBEBE8
#CDCDC7
#AFAFA5
#929283
#747462
#565640
#38381E
#30301A
#272715
#1F1F11
#16160C
#0E0E08
#060603

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Harmony · 180° apart

#38381E Complementary Palette

Two colors opposite on the wheel — maximum contrast for attention-grabbing accents.

#38381E
#1E1E38

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Harmony · adjacent hues

#38381E Analogic Palette

Neighboring hues on the wheel — harmonious, calm combinations that feel unified.

#38381E
#2B381E
#382B1E
#1E381E
#381E1E
#1E382B
#381E2B

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Harmony · 120° apart

#38381E Triadic Palette

Three colors evenly spaced on the wheel — vibrant and energetic, yet balanced.

#38381E
#1E3838
#381E38

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Harmony · 90° apart

#38381E Quad Palette

Four colors evenly spaced on the wheel (tetradic) — rich schemes with multiple accents.

#38381E
#1E382B
#1E1E38
#381E2B

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Accessibility

Color Blindness Simulation for #38381E

How Madras reads across five kinds of color vision — a ✓ Friendly verdict means the color difference stays distinguishable for that vision type.

#38381E
#383826
#383824
#38292A
#363636
Normal vision full color Deuteranopia green weakness ✓ Friendly Protanopia red weakness ✓ Friendly Tritanopia blue-yellow weakness ✓ Friendly Achromatopsia total color blindness ✓ Friendly

The dot marks the original color. Hover any shade to copy its hex.

Harmony overview

Color Harmonies for #38381E

The lead color from each harmony scheme, side by side — a shortcut to the full palettes above.

#1E1E38
#2B381E
#1E3838
#1E382B
Complementary opposite hue Analogous adjacent hue Triadic 120° apart Tetradic (Quad) 90° apart

Perceptually nearby

#38381E Nearby Colors

A step away in brightness, richness or shade — each still feels like the same color.

Olive Leaf#444433
Wasabi Nori#333311
Jungle King#555533
Midnight Pines#222200
Graphite#333322
Café Noir#443322
Jungle King#444422

From the color-name library

Colors Similar to #38381E

The closest named colors to #38381E — same mood, each with its own character.

Madras#473E23
Wasabi Nori#333300
Graphite#383428
Olive Leaf#4E4B35
Jungle King#4F4D32
Alligator Gladiator#444411
Darkest Forest#223311
Dark Olive#373E02
Kelp#4D503C
Marshland#2B2E26
Creole#393227
Secret Passage#372A05

Looking for more Yellow shades? Browse Yellow colors →

Inspiration

Explore Vibrant Images Featuring Madras (#38381e)

Curated Unsplash photos that carry the mood of Madras — hover any tile to download it or view the original.

Good to know

Frequently Asked Questions about #38381E

#38381E is a warm color from the Yellow family. Its closest matched name is “Madras”, matched perceptually with the CIEDE2000 color-difference formula. In RGB it is rgb(56, 56, 30); in HSL, hsl(60, 30%, 17%).
In RGB, #38381E is rgb(56, 56, 30); in HSL it is hsl(60, 30%, 17%); and in CMYK — the model used for print — it is cmyk(0%, 0%, 46%, 78%).
#38381E has a contrast ratio of 1.75:1 against black and 11.98:1 against white. For readability, white body text meets the WCAG AA threshold of 4.5:1 on it, while black does not.
The direct complement of #38381E is #1E1E38 (opposite on the color wheel). For ready-made combinations, this page includes monochrome, analogous, triadic and tetradic palettes built from #38381E in the palette sections above.