HSL(40, 12%, 38%)

Grayish Orange — Orange color

Adjust Color

Color Information

Color Name

Grayish Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

N/A

CSS Class

bg-[hsl(40,12%,38%)]

Color Conversions

Format Value CSS Usage
HSL hsl(40, 12%, 38%) color: hsl(40, 12%, 38%)
HEX #6D6555 color: #6D6555
RGB rgb(109, 101, 85) color: rgb(109, 101, 85)
CMYK cmyk(0%, 7%, 22%, 57%)
HSV hsv(40, 22%, 43%)
HWB hwb(40 34% 57%) color: hwb(40 34% 57%)
OKLCH oklch(0.5095 0.0264 84.56) color: oklch(0.5095 0.0264 84.56)
Lab lab(43.09 0.27 10.22) color: lab(43.09 0.27 10.22)
LCH lch(43.09 10.22 88.49) color: lch(43.09 10.22 88.49)

Color Theory

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 5.76:1
vs Black 3.64:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#6A6959 — rgb(106, 105, 89)

Deuteranopia (Green-blind)

#6A6B5A — rgb(106, 107, 90)

Tritanopia (Blue-blind)

#6D5C5D — rgb(109, 92, 93)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(40, 12%, 38%);

text

color: hsl(40, 12%, 38%);

border

border: 2px solid hsl(40, 12%, 38%);

gradient light

background: linear-gradient(to right, hsl(40, 12%, 58%), hsl(40, 12%, 38%));

gradient dark

background: linear-gradient(to right, hsl(40, 12%, 38%), hsl(40, 12%, 18%))

hex

background-color: #6D6555;

tailwind

bg-[hsl(40,12%,38%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(40, 12%, 38%, 0.4);

css variable

--color-primary: hsl(40, 12%, 38%);

Related Colors

Use Cases for Grayish Orange

E-commerce CTAs Food & beverage branding Energetic UI elements Sale tags Sunset themes

Frequently Asked Questions

What are all the color codes for HSL(40, 12%, 38%)?

HEX: #6D6555 | RGB: rgb(109, 101, 85) | CMYK: 0%, 7%, 22%, 57% | HSV: 40°, 22%, 43%. Copy any format from the conversion table above.

What colors go well with #6D6555?

The complementary color is HSL(220, 12%, 38%). For a triadic harmony, use hues 40°, 160°, and 280°. For analogous combinations, try hues 10° and 70°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(40, 12%, 38%) in CSS?

As HSL: color: hsl(40, 12%, 38%); — As HEX: color: #6D6555; — As RGB: color: rgb(109, 101, 85); — Tailwind CSS: bg-[hsl(40,12%,38%)] — CSS variable: --color-primary: hsl(40, 12%, 38%);