HSL(56, 70%, 30%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(56,70%,30%)]

Color Conversions

Format Value CSS Usage
HSL hsl(56, 70%, 30%) color: hsl(56, 70%, 30%)
HEX #827B17 color: #827B17
RGB rgb(130, 123, 23) color: rgb(130, 123, 23)
CMYK cmyk(0%, 5%, 82%, 49%)
HSV hsv(56, 82%, 51%)
HWB hwb(56 9% 49%) color: hwb(56 9% 49%)
OKLCH oklch(0.5717 0.1138 105.2) color: oklch(0.5717 0.1138 105.2)
Lab lab(50.66 -8.71 50.7) color: lab(50.66 -8.71 50.7)
LCH lch(50.66 51.44 99.75) color: lch(50.66 51.44 99.75)

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 4.38:1
vs Black 4.79:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#7F7F2F — rgb(127, 127, 47)

Deuteranopia (Green-blind)

#7F8035 — rgb(127, 128, 53)

Tritanopia (Blue-blind)

#824247 — rgb(130, 66, 71)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(56, 70%, 30%);

text

color: hsl(56, 70%, 30%);

border

border: 2px solid hsl(56, 70%, 30%);

gradient light

background: linear-gradient(to right, hsl(56, 70%, 50%), hsl(56, 70%, 30%));

gradient dark

background: linear-gradient(to right, hsl(56, 70%, 30%), hsl(56, 70%, 10%))

hex

background-color: #827B17;

tailwind

bg-[hsl(56,70%,30%)]

box shadow

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

css variable

--color-primary: hsl(56, 70%, 30%);

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(56, 70%, 30%)?

HEX: #827B17 | RGB: rgb(130, 123, 23) | CMYK: 0%, 5%, 82%, 49% | HSV: 56°, 82%, 51%. Copy any format from the conversion table above.

What colors go well with #827B17?

The complementary color is HSL(236, 70%, 30%). For a triadic harmony, use hues 56°, 176°, and 296°. For analogous combinations, try hues 26° and 86°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(56, 70%, 30%) in CSS?

As HSL: color: hsl(56, 70%, 30%); — As HEX: color: #827B17; — As RGB: color: rgb(130, 123, 23); — Tailwind CSS: bg-[hsl(56,70%,30%)] — CSS variable: --color-primary: hsl(56, 70%, 30%);