HSL(56, 70%, 23%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(56, 70%, 23%) color: hsl(56, 70%, 23%)
HEX #645E12 color: #645E12
RGB rgb(100, 94, 18) color: rgb(100, 94, 18)
CMYK cmyk(0%, 6%, 82%, 61%)
HSV hsv(56, 82%, 39%)
HWB hwb(56 7% 61%) color: hwb(56 7% 61%)
OKLCH oklch(0.4733 0.0925 104.69) color: oklch(0.4733 0.0925 104.69)
Lab lab(39.17 -6.85 41.02) color: lab(39.17 -6.85 41.02)
LCH lch(39.17 41.59 99.48) color: lch(39.17 41.59 99.48)

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 6.66:1
vs Black 3.15: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)

#616124 — rgb(97, 97, 36)

Deuteranopia (Green-blind)

#626229 — rgb(98, 98, 41)

Tritanopia (Blue-blind)

#643336 — rgb(100, 51, 54)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(56, 70%, 43%), hsl(56, 70%, 23%));

gradient dark

background: linear-gradient(to right, hsl(56, 70%, 23%), hsl(56, 70%, 3%))

hex

background-color: #645E12;

tailwind

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

box shadow

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

css variable

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

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%, 23%)?

HEX: #645E12 | RGB: rgb(100, 94, 18) | CMYK: 0%, 6%, 82%, 61% | HSV: 56°, 82%, 39%. Copy any format from the conversion table above.

What colors go well with #645E12?

The complementary color is HSL(236, 70%, 23%). 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%, 23%) in CSS?

As HSL: color: hsl(56, 70%, 23%); — As HEX: color: #645E12; — As RGB: color: rgb(100, 94, 18); — Tailwind CSS: bg-[hsl(56,70%,23%)] — CSS variable: --color-primary: hsl(56, 70%, 23%);