HSL(60, 10%, 40%)

Grayish Yellow — Yellow color

Adjust Color

Color Information

Color Name

Grayish Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

N/A

CSS Class

bg-[hsl(60,10%,40%)]

Color Conversions

Format Value CSS Usage
HSL hsl(60, 10%, 40%) color: hsl(60, 10%, 40%)
HEX #70705C color: #70705C
RGB rgb(112, 112, 92) color: rgb(112, 112, 92)
CMYK cmyk(0%, 0%, 18%, 56%)
HSV hsv(60, 18%, 44%)
HWB hwb(60 36% 56%) color: hwb(60 36% 56%)
OKLCH oklch(0.5393 0.03 107.37) color: oklch(0.5393 0.03 107.37)
Lab lab(46.72 -3.74 11.15) color: lab(46.72 -3.74 11.15)
LCH lch(46.72 11.76 108.54) color: lch(46.72 11.76 108.54)

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.05:1
vs Black 4.16: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)

#707061 — rgb(112, 112, 97)

Deuteranopia (Green-blind)

#707062 — rgb(112, 112, 98)

Tritanopia (Blue-blind)

#706566 — rgb(112, 101, 102)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(60, 10%, 40%);

text

color: hsl(60, 10%, 40%);

border

border: 2px solid hsl(60, 10%, 40%);

gradient light

background: linear-gradient(to right, hsl(60, 10%, 60%), hsl(60, 10%, 40%));

gradient dark

background: linear-gradient(to right, hsl(60, 10%, 40%), hsl(60, 10%, 20%))

hex

background-color: #70705C;

tailwind

bg-[hsl(60,10%,40%)]

box shadow

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

css variable

--color-primary: hsl(60, 10%, 40%);

Related Colors

Use Cases for Grayish Yellow

Warnings Highlights Attention indicators Optimistic brands Note/sticky elements

Frequently Asked Questions

What are all the color codes for HSL(60, 10%, 40%)?

HEX: #70705C | RGB: rgb(112, 112, 92) | CMYK: 0%, 0%, 18%, 56% | HSV: 60°, 18%, 44%. Copy any format from the conversion table above.

What colors go well with #70705C?

The complementary color is HSL(240, 10%, 40%). For a triadic harmony, use hues 60°, 180°, and 300°. For analogous combinations, try hues 30° and 90°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(60, 10%, 40%) in CSS?

As HSL: color: hsl(60, 10%, 40%); — As HEX: color: #70705C; — As RGB: color: rgb(112, 112, 92); — Tailwind CSS: bg-[hsl(60,10%,40%)] — CSS variable: --color-primary: hsl(60, 10%, 40%);