HSL(51, 30%, 16%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(51,30%,16%)]

Color Conversions

Format Value CSS Usage
HSL hsl(51, 30%, 16%) color: hsl(51, 30%, 16%)
HEX #35311D color: #35311D
RGB rgb(53, 49, 29) color: rgb(53, 49, 29)
CMYK cmyk(0%, 8%, 45%, 79%)
HSV hsv(50, 45%, 21%)
HWB hwb(50 12% 79%) color: hwb(50 12% 79%)
OKLCH oklch(0.3115 0.0334 98.27) color: oklch(0.3115 0.0334 98.27)
Lab lab(20.21 -1.88 13.42) color: lab(20.21 -1.88 13.42)
LCH lch(20.21 13.55 97.97) color: lch(20.21 13.55 97.97)

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 13.06:1
vs Black 1.61:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#333322 — rgb(51, 51, 34)

Deuteranopia (Green-blind)

#343423 — rgb(52, 52, 35)

Tritanopia (Blue-blind)

#352627 — rgb(53, 38, 39)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(51, 30%, 16%);

text

color: hsl(51, 30%, 16%);

border

border: 2px solid hsl(51, 30%, 16%);

gradient light

background: linear-gradient(to right, hsl(51, 30%, 36%), hsl(51, 30%, 16%));

gradient dark

background: linear-gradient(to right, hsl(51, 30%, 16%), hsl(51, 30%, 0%))

hex

background-color: #35311D;

tailwind

bg-[hsl(51,30%,16%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(51, 30%, 16%, 0.4);

css variable

--color-primary: hsl(51, 30%, 16%);

Related Colors

Use Cases for Yellow

Warnings Highlights Attention indicators Optimistic brands Note/sticky elements

Frequently Asked Questions

What are all the color codes for HSL(51, 30%, 16%)?

HEX: #35311D | RGB: rgb(53, 49, 29) | CMYK: 0%, 8%, 45%, 79% | HSV: 50°, 45%, 21%. Copy any format from the conversion table above.

What colors go well with #35311D?

The complementary color is HSL(231, 30%, 16%). For a triadic harmony, use hues 51°, 171°, and 291°. For analogous combinations, try hues 21° and 81°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(51, 30%, 16%) in CSS?

As HSL: color: hsl(51, 30%, 16%); — As HEX: color: #35311D; — As RGB: color: rgb(53, 49, 29); — Tailwind CSS: bg-[hsl(51,30%,16%)] — CSS variable: --color-primary: hsl(51, 30%, 16%);